From 41b7f209e2db6f59d983374e13e5ec8bf74d1415 Mon Sep 17 00:00:00 2001 From: 0xBECEDA Date: Sun, 21 Jul 2024 14:23:09 +0200 Subject: [PATCH 01/41] poet services api --- README.md | 1 + release/go/spacemesh/v1/smesher.pb.go | 100 +++++---- release/go/spacemesh/v1/smesher.pb.gw.go | 77 +++++++ release/go/spacemesh/v1/smesher_grpc.pb.go | 43 +++- release/go/spacemesh/v1/smesher_types.pb.go | 218 +++++++++++++++++--- spacemesh/v1/smesher.proto | 10 +- spacemesh/v1/smesher_types.proto | 10 + 7 files changed, 378 insertions(+), 81 deletions(-) diff --git a/README.md b/README.md index a0dd66ae..00956c8c 100644 --- a/README.md +++ b/README.md @@ -79,6 +79,7 @@ This repository currently contains builds for two targets: golang and grpc-gatew The repository includes a [`Makefile`](Makefile) that makes it easy to run most regular tasks: +- `make install` installs all used protoc-plugins - `make lint` runs the linter (see below) - `make local` checks for breaking changes against local `master` (see below) - `make breaking` checks for breaking changes against github repository (see below) diff --git a/release/go/spacemesh/v1/smesher.pb.go b/release/go/spacemesh/v1/smesher.pb.go index a24ee2ba..0a275bff 100644 --- a/release/go/spacemesh/v1/smesher.pb.go +++ b/release/go/spacemesh/v1/smesher.pb.go @@ -35,7 +35,7 @@ var file_spacemesh_v1_smesher_proto_rawDesc = []byte{ 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x32, 0xda, 0x0c, 0x0a, 0x0e, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, + 0x72, 0x6f, 0x74, 0x6f, 0x32, 0xd6, 0x0d, 0x0a, 0x0e, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x66, 0x0a, 0x0a, 0x49, 0x73, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x20, 0x2e, @@ -136,19 +136,27 @@ var file_spacemesh_v1_smesher_proto_rawDesc = []byte{ 0x50, 0x6f, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x21, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b, 0x3a, 0x01, 0x2a, 0x22, 0x16, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x2f, 0x70, 0x6f, 0x73, 0x74, 0x63, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x1a, 0x0a, 0xfa, 0xd2, 0xe4, 0x93, 0x02, 0x04, 0x12, 0x02, 0x56, - 0x31, 0x42, 0xb1, 0x01, 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, - 0x65, 0x73, 0x68, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x50, - 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, - 0x6f, 0x6d, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, - 0x70, 0x69, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, 0x31, 0x3b, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x6d, 0x65, 0x73, 0x68, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, 0x02, 0x0c, 0x53, - 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0c, 0x53, 0x70, - 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x18, 0x53, 0x70, 0x61, - 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0d, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, - 0x68, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x7a, 0x0a, 0x0c, 0x50, 0x6f, 0x65, 0x74, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, + 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x23, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x1d, 0x3a, 0x01, 0x2a, 0x22, 0x18, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x6d, 0x65, + 0x73, 0x68, 0x65, 0x72, 0x2f, 0x70, 0x6f, 0x65, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x73, 0x1a, 0x0a, 0xfa, 0xd2, 0xe4, 0x93, 0x02, 0x04, 0x12, 0x02, 0x56, 0x31, 0x42, 0xb1, 0x01, + 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, + 0x76, 0x31, 0x42, 0x0c, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, + 0x50, 0x01, 0x5a, 0x3e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, + 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, + 0x65, 0x73, 0x68, 0x2f, 0x76, 0x31, 0x3b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, + 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, 0x02, 0x0c, 0x53, 0x70, 0x61, 0x63, 0x65, + 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0c, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, + 0x65, 0x73, 0x68, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x18, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, + 0x73, 0x68, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0xea, 0x02, 0x0d, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x3a, 0x3a, 0x56, + 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var file_spacemesh_v1_smesher_proto_goTypes = []interface{}{ @@ -159,20 +167,22 @@ var file_spacemesh_v1_smesher_proto_goTypes = []interface{}{ (*SetMinGasRequest)(nil), // 4: spacemesh.v1.SetMinGasRequest (*EstimatedRewardsRequest)(nil), // 5: spacemesh.v1.EstimatedRewardsRequest (*PostSetupProvidersRequest)(nil), // 6: spacemesh.v1.PostSetupProvidersRequest - (*IsSmeshingResponse)(nil), // 7: spacemesh.v1.IsSmeshingResponse - (*StartSmeshingResponse)(nil), // 8: spacemesh.v1.StartSmeshingResponse - (*StopSmeshingResponse)(nil), // 9: spacemesh.v1.StopSmeshingResponse - (*SmesherIDResponse)(nil), // 10: spacemesh.v1.SmesherIDResponse - (*SmesherIDsResponse)(nil), // 11: spacemesh.v1.SmesherIDsResponse - (*CoinbaseResponse)(nil), // 12: spacemesh.v1.CoinbaseResponse - (*SetCoinbaseResponse)(nil), // 13: spacemesh.v1.SetCoinbaseResponse - (*MinGasResponse)(nil), // 14: spacemesh.v1.MinGasResponse - (*SetMinGasResponse)(nil), // 15: spacemesh.v1.SetMinGasResponse - (*EstimatedRewardsResponse)(nil), // 16: spacemesh.v1.EstimatedRewardsResponse - (*PostSetupStatusResponse)(nil), // 17: spacemesh.v1.PostSetupStatusResponse - (*PostSetupStatusStreamResponse)(nil), // 18: spacemesh.v1.PostSetupStatusStreamResponse - (*PostSetupProvidersResponse)(nil), // 19: spacemesh.v1.PostSetupProvidersResponse - (*PostConfigResponse)(nil), // 20: spacemesh.v1.PostConfigResponse + (*PoetServicesRequest)(nil), // 7: spacemesh.v1.PoetServicesRequest + (*IsSmeshingResponse)(nil), // 8: spacemesh.v1.IsSmeshingResponse + (*StartSmeshingResponse)(nil), // 9: spacemesh.v1.StartSmeshingResponse + (*StopSmeshingResponse)(nil), // 10: spacemesh.v1.StopSmeshingResponse + (*SmesherIDResponse)(nil), // 11: spacemesh.v1.SmesherIDResponse + (*SmesherIDsResponse)(nil), // 12: spacemesh.v1.SmesherIDsResponse + (*CoinbaseResponse)(nil), // 13: spacemesh.v1.CoinbaseResponse + (*SetCoinbaseResponse)(nil), // 14: spacemesh.v1.SetCoinbaseResponse + (*MinGasResponse)(nil), // 15: spacemesh.v1.MinGasResponse + (*SetMinGasResponse)(nil), // 16: spacemesh.v1.SetMinGasResponse + (*EstimatedRewardsResponse)(nil), // 17: spacemesh.v1.EstimatedRewardsResponse + (*PostSetupStatusResponse)(nil), // 18: spacemesh.v1.PostSetupStatusResponse + (*PostSetupStatusStreamResponse)(nil), // 19: spacemesh.v1.PostSetupStatusStreamResponse + (*PostSetupProvidersResponse)(nil), // 20: spacemesh.v1.PostSetupProvidersResponse + (*PostConfigResponse)(nil), // 21: spacemesh.v1.PostConfigResponse + (*PoetServicesResponse)(nil), // 22: spacemesh.v1.PoetServicesResponse } var file_spacemesh_v1_smesher_proto_depIdxs = []int32{ 0, // 0: spacemesh.v1.SmesherService.IsSmeshing:input_type -> google.protobuf.Empty @@ -189,22 +199,24 @@ var file_spacemesh_v1_smesher_proto_depIdxs = []int32{ 0, // 11: spacemesh.v1.SmesherService.PostSetupStatusStream:input_type -> google.protobuf.Empty 6, // 12: spacemesh.v1.SmesherService.PostSetupProviders:input_type -> spacemesh.v1.PostSetupProvidersRequest 0, // 13: spacemesh.v1.SmesherService.PostConfig:input_type -> google.protobuf.Empty - 7, // 14: spacemesh.v1.SmesherService.IsSmeshing:output_type -> spacemesh.v1.IsSmeshingResponse - 8, // 15: spacemesh.v1.SmesherService.StartSmeshing:output_type -> spacemesh.v1.StartSmeshingResponse - 9, // 16: spacemesh.v1.SmesherService.StopSmeshing:output_type -> spacemesh.v1.StopSmeshingResponse - 10, // 17: spacemesh.v1.SmesherService.SmesherID:output_type -> spacemesh.v1.SmesherIDResponse - 11, // 18: spacemesh.v1.SmesherService.SmesherIDs:output_type -> spacemesh.v1.SmesherIDsResponse - 12, // 19: spacemesh.v1.SmesherService.Coinbase:output_type -> spacemesh.v1.CoinbaseResponse - 13, // 20: spacemesh.v1.SmesherService.SetCoinbase:output_type -> spacemesh.v1.SetCoinbaseResponse - 14, // 21: spacemesh.v1.SmesherService.MinGas:output_type -> spacemesh.v1.MinGasResponse - 15, // 22: spacemesh.v1.SmesherService.SetMinGas:output_type -> spacemesh.v1.SetMinGasResponse - 16, // 23: spacemesh.v1.SmesherService.EstimatedRewards:output_type -> spacemesh.v1.EstimatedRewardsResponse - 17, // 24: spacemesh.v1.SmesherService.PostSetupStatus:output_type -> spacemesh.v1.PostSetupStatusResponse - 18, // 25: spacemesh.v1.SmesherService.PostSetupStatusStream:output_type -> spacemesh.v1.PostSetupStatusStreamResponse - 19, // 26: spacemesh.v1.SmesherService.PostSetupProviders:output_type -> spacemesh.v1.PostSetupProvidersResponse - 20, // 27: spacemesh.v1.SmesherService.PostConfig:output_type -> spacemesh.v1.PostConfigResponse - 14, // [14:28] is the sub-list for method output_type - 0, // [0:14] is the sub-list for method input_type + 7, // 14: spacemesh.v1.SmesherService.PoetServices:input_type -> spacemesh.v1.PoetServicesRequest + 8, // 15: spacemesh.v1.SmesherService.IsSmeshing:output_type -> spacemesh.v1.IsSmeshingResponse + 9, // 16: spacemesh.v1.SmesherService.StartSmeshing:output_type -> spacemesh.v1.StartSmeshingResponse + 10, // 17: spacemesh.v1.SmesherService.StopSmeshing:output_type -> spacemesh.v1.StopSmeshingResponse + 11, // 18: spacemesh.v1.SmesherService.SmesherID:output_type -> spacemesh.v1.SmesherIDResponse + 12, // 19: spacemesh.v1.SmesherService.SmesherIDs:output_type -> spacemesh.v1.SmesherIDsResponse + 13, // 20: spacemesh.v1.SmesherService.Coinbase:output_type -> spacemesh.v1.CoinbaseResponse + 14, // 21: spacemesh.v1.SmesherService.SetCoinbase:output_type -> spacemesh.v1.SetCoinbaseResponse + 15, // 22: spacemesh.v1.SmesherService.MinGas:output_type -> spacemesh.v1.MinGasResponse + 16, // 23: spacemesh.v1.SmesherService.SetMinGas:output_type -> spacemesh.v1.SetMinGasResponse + 17, // 24: spacemesh.v1.SmesherService.EstimatedRewards:output_type -> spacemesh.v1.EstimatedRewardsResponse + 18, // 25: spacemesh.v1.SmesherService.PostSetupStatus:output_type -> spacemesh.v1.PostSetupStatusResponse + 19, // 26: spacemesh.v1.SmesherService.PostSetupStatusStream:output_type -> spacemesh.v1.PostSetupStatusStreamResponse + 20, // 27: spacemesh.v1.SmesherService.PostSetupProviders:output_type -> spacemesh.v1.PostSetupProvidersResponse + 21, // 28: spacemesh.v1.SmesherService.PostConfig:output_type -> spacemesh.v1.PostConfigResponse + 22, // 29: spacemesh.v1.SmesherService.PoetServices:output_type -> spacemesh.v1.PoetServicesResponse + 15, // [15:30] is the sub-list for method output_type + 0, // [0:15] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name 0, // [0:0] is the sub-list for extension extendee 0, // [0:0] is the sub-list for field type_name diff --git a/release/go/spacemesh/v1/smesher.pb.gw.go b/release/go/spacemesh/v1/smesher.pb.gw.go index 6130347c..4b9f8964 100644 --- a/release/go/spacemesh/v1/smesher.pb.gw.go +++ b/release/go/spacemesh/v1/smesher.pb.gw.go @@ -343,6 +343,32 @@ func local_request_SmesherService_PostConfig_0(ctx context.Context, marshaler ru } +func request_SmesherService_PoetServices_0(ctx context.Context, marshaler runtime.Marshaler, client SmesherServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq PoetServicesRequest + var metadata runtime.ServerMetadata + + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.PoetServices(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_SmesherService_PoetServices_0(ctx context.Context, marshaler runtime.Marshaler, server SmesherServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq PoetServicesRequest + var metadata runtime.ServerMetadata + + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.PoetServices(ctx, &protoReq) + return msg, metadata, err + +} + // RegisterSmesherServiceHandlerServer registers the http handlers for service SmesherService to "mux". // UnaryRPC :call SmesherServiceServer directly. // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. @@ -681,6 +707,31 @@ func RegisterSmesherServiceHandlerServer(ctx context.Context, mux *runtime.Serve }) + mux.Handle("POST", pattern_SmesherService_PoetServices_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/spacemesh.v1.SmesherService/PoetServices", runtime.WithHTTPPathPattern("/v1/smesher/poetservices")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_SmesherService_PoetServices_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_SmesherService_PoetServices_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + return nil } @@ -1030,6 +1081,28 @@ func RegisterSmesherServiceHandlerClient(ctx context.Context, mux *runtime.Serve }) + mux.Handle("POST", pattern_SmesherService_PoetServices_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/spacemesh.v1.SmesherService/PoetServices", runtime.WithHTTPPathPattern("/v1/smesher/poetservices")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_SmesherService_PoetServices_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_SmesherService_PoetServices_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + return nil } @@ -1061,6 +1134,8 @@ var ( pattern_SmesherService_PostSetupProviders_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"v1", "smesher", "postsetupproviders"}, "")) pattern_SmesherService_PostConfig_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"v1", "smesher", "postconfig"}, "")) + + pattern_SmesherService_PoetServices_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"v1", "smesher", "poetservices"}, "")) ) var ( @@ -1091,4 +1166,6 @@ var ( forward_SmesherService_PostSetupProviders_0 = runtime.ForwardResponseMessage forward_SmesherService_PostConfig_0 = runtime.ForwardResponseMessage + + forward_SmesherService_PoetServices_0 = runtime.ForwardResponseMessage ) diff --git a/release/go/spacemesh/v1/smesher_grpc.pb.go b/release/go/spacemesh/v1/smesher_grpc.pb.go index 96934059..3056e35c 100644 --- a/release/go/spacemesh/v1/smesher_grpc.pb.go +++ b/release/go/spacemesh/v1/smesher_grpc.pb.go @@ -34,13 +34,14 @@ const ( SmesherService_PostSetupStatusStream_FullMethodName = "/spacemesh.v1.SmesherService/PostSetupStatusStream" SmesherService_PostSetupProviders_FullMethodName = "/spacemesh.v1.SmesherService/PostSetupProviders" SmesherService_PostConfig_FullMethodName = "/spacemesh.v1.SmesherService/PostConfig" + SmesherService_PoetServices_FullMethodName = "/spacemesh.v1.SmesherService/PoetServices" ) // SmesherServiceClient is the client API for SmesherService service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. type SmesherServiceClient interface { - // Returns true iff node is currently smeshing + // Returns true if node is currently smeshing IsSmeshing(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*IsSmeshingResponse, error) // Starts smeshing, after completing the post setup. // Changing of the post setup options (e.g., number of units), after initial setup, is supported. @@ -75,6 +76,8 @@ type SmesherServiceClient interface { PostSetupProviders(ctx context.Context, in *PostSetupProvidersRequest, opts ...grpc.CallOption) (*PostSetupProvidersResponse, error) // Returns the Post protocol config PostConfig(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*PostConfigResponse, error) + // Returns set of known and configured poet services. In case of mismatch, returns also warning. + PoetServices(ctx context.Context, in *PoetServicesRequest, opts ...grpc.CallOption) (*PoetServicesResponse, error) } type smesherServiceClient struct { @@ -235,11 +238,20 @@ func (c *smesherServiceClient) PostConfig(ctx context.Context, in *emptypb.Empty return out, nil } +func (c *smesherServiceClient) PoetServices(ctx context.Context, in *PoetServicesRequest, opts ...grpc.CallOption) (*PoetServicesResponse, error) { + out := new(PoetServicesResponse) + err := c.cc.Invoke(ctx, SmesherService_PoetServices_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // SmesherServiceServer is the server API for SmesherService service. // All implementations should embed UnimplementedSmesherServiceServer // for forward compatibility type SmesherServiceServer interface { - // Returns true iff node is currently smeshing + // Returns true if node is currently smeshing IsSmeshing(context.Context, *emptypb.Empty) (*IsSmeshingResponse, error) // Starts smeshing, after completing the post setup. // Changing of the post setup options (e.g., number of units), after initial setup, is supported. @@ -274,6 +286,8 @@ type SmesherServiceServer interface { PostSetupProviders(context.Context, *PostSetupProvidersRequest) (*PostSetupProvidersResponse, error) // Returns the Post protocol config PostConfig(context.Context, *emptypb.Empty) (*PostConfigResponse, error) + // Returns set of known and configured poet services. In case of mismatch, returns also warning. + PoetServices(context.Context, *PoetServicesRequest) (*PoetServicesResponse, error) } // UnimplementedSmesherServiceServer should be embedded to have forward compatible implementations. @@ -322,6 +336,9 @@ func (UnimplementedSmesherServiceServer) PostSetupProviders(context.Context, *Po func (UnimplementedSmesherServiceServer) PostConfig(context.Context, *emptypb.Empty) (*PostConfigResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method PostConfig not implemented") } +func (UnimplementedSmesherServiceServer) PoetServices(context.Context, *PoetServicesRequest) (*PoetServicesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method PoetServices not implemented") +} // UnsafeSmesherServiceServer may be embedded to opt out of forward compatibility for this service. // Use of this interface is not recommended, as added methods to SmesherServiceServer will @@ -589,6 +606,24 @@ func _SmesherService_PostConfig_Handler(srv interface{}, ctx context.Context, de return interceptor(ctx, in, info, handler) } +func _SmesherService_PoetServices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(PoetServicesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(SmesherServiceServer).PoetServices(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: SmesherService_PoetServices_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(SmesherServiceServer).PoetServices(ctx, req.(*PoetServicesRequest)) + } + return interceptor(ctx, in, info, handler) +} + // SmesherService_ServiceDesc is the grpc.ServiceDesc for SmesherService service. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) @@ -648,6 +683,10 @@ var SmesherService_ServiceDesc = grpc.ServiceDesc{ MethodName: "PostConfig", Handler: _SmesherService_PostConfig_Handler, }, + { + MethodName: "PoetServices", + Handler: _SmesherService_PoetServices_Handler, + }, }, Streams: []grpc.StreamDesc{ { diff --git a/release/go/spacemesh/v1/smesher_types.pb.go b/release/go/spacemesh/v1/smesher_types.pb.go index 4e4f1bcf..abf17733 100644 --- a/release/go/spacemesh/v1/smesher_types.pb.go +++ b/release/go/spacemesh/v1/smesher_types.pb.go @@ -1338,6 +1338,116 @@ func (x *PostSetupStatus) GetOpts() *PostSetupOpts { return nil } +type PoetServicesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id *SmesherId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` +} + +func (x *PoetServicesRequest) Reset() { + *x = PoetServicesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_v1_smesher_types_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PoetServicesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PoetServicesRequest) ProtoMessage() {} + +func (x *PoetServicesRequest) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_v1_smesher_types_proto_msgTypes[23] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PoetServicesRequest.ProtoReflect.Descriptor instead. +func (*PoetServicesRequest) Descriptor() ([]byte, []int) { + return file_spacemesh_v1_smesher_types_proto_rawDescGZIP(), []int{23} +} + +func (x *PoetServicesRequest) GetId() *SmesherId { + if x != nil { + return x.Id + } + return nil +} + +type PoetServicesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Warning string `protobuf:"bytes,1,opt,name=warning,proto3" json:"warning,omitempty"` + KnownPoets []string `protobuf:"bytes,2,rep,name=known_poets,json=knownPoets,proto3" json:"known_poets,omitempty"` + ConfiguredPoets []string `protobuf:"bytes,3,rep,name=configured_poets,json=configuredPoets,proto3" json:"configured_poets,omitempty"` +} + +func (x *PoetServicesResponse) Reset() { + *x = PoetServicesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_v1_smesher_types_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PoetServicesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PoetServicesResponse) ProtoMessage() {} + +func (x *PoetServicesResponse) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_v1_smesher_types_proto_msgTypes[24] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PoetServicesResponse.ProtoReflect.Descriptor instead. +func (*PoetServicesResponse) Descriptor() ([]byte, []int) { + return file_spacemesh_v1_smesher_types_proto_rawDescGZIP(), []int{24} +} + +func (x *PoetServicesResponse) GetWarning() string { + if x != nil { + return x.Warning + } + return "" +} + +func (x *PoetServicesResponse) GetKnownPoets() []string { + if x != nil { + return x.KnownPoets + } + return nil +} + +func (x *PoetServicesResponse) GetConfiguredPoets() []string { + if x != nil { + return x.ConfiguredPoets + } + return nil +} + var File_spacemesh_v1_smesher_types_proto protoreflect.FileDescriptor var file_spacemesh_v1_smesher_types_proto_rawDesc = []byte{ @@ -1490,19 +1600,31 @@ var file_spacemesh_v1_smesher_types_proto_rawDesc = []byte{ 0x53, 0x53, 0x10, 0x03, 0x12, 0x10, 0x0a, 0x0c, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x50, 0x41, 0x55, 0x53, 0x45, 0x44, 0x10, 0x04, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x05, 0x12, 0x0f, 0x0a, 0x0b, 0x53, 0x54, - 0x41, 0x54, 0x45, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x06, 0x42, 0xb6, 0x01, 0x0a, 0x10, - 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x31, - 0x42, 0x11, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x73, 0x50, 0x72, - 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, - 0x6d, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, 0x70, - 0x69, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, 0x31, 0x3b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, - 0x65, 0x73, 0x68, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, 0x02, 0x0c, 0x53, 0x70, - 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0c, 0x53, 0x70, 0x61, - 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x18, 0x53, 0x70, 0x61, 0x63, - 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0d, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, - 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x41, 0x54, 0x45, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x06, 0x22, 0x3e, 0x0a, 0x13, 0x50, + 0x6f, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x27, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, + 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6d, + 0x65, 0x73, 0x68, 0x65, 0x72, 0x49, 0x64, 0x52, 0x02, 0x69, 0x64, 0x22, 0x7c, 0x0a, 0x14, 0x50, + 0x6f, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x77, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x77, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x12, 0x1f, 0x0a, + 0x0b, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x5f, 0x70, 0x6f, 0x65, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, + 0x28, 0x09, 0x52, 0x0a, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x50, 0x6f, 0x65, 0x74, 0x73, 0x12, 0x29, + 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x64, 0x5f, 0x70, 0x6f, 0x65, + 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x75, 0x72, 0x65, 0x64, 0x50, 0x6f, 0x65, 0x74, 0x73, 0x42, 0xb6, 0x01, 0x0a, 0x10, 0x63, 0x6f, + 0x6d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x31, 0x42, 0x11, + 0x53, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, + 0x6f, 0x50, 0x01, 0x5a, 0x3e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, + 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, 0x31, 0x3b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, + 0x68, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, 0x02, 0x0c, 0x53, 0x70, 0x61, 0x63, + 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0c, 0x53, 0x70, 0x61, 0x63, 0x65, + 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x18, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, + 0x65, 0x73, 0x68, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0xea, 0x02, 0x0d, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x3a, 0x3a, + 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -1518,7 +1640,7 @@ func file_spacemesh_v1_smesher_types_proto_rawDescGZIP() []byte { } var file_spacemesh_v1_smesher_types_proto_enumTypes = make([]protoimpl.EnumInfo, 2) -var file_spacemesh_v1_smesher_types_proto_msgTypes = make([]protoimpl.MessageInfo, 23) +var file_spacemesh_v1_smesher_types_proto_msgTypes = make([]protoimpl.MessageInfo, 25) var file_spacemesh_v1_smesher_types_proto_goTypes = []interface{}{ (PostSetupProvider_DeviceType)(0), // 0: spacemesh.v1.PostSetupProvider.DeviceType (PostSetupStatus_State)(0), // 1: spacemesh.v1.PostSetupStatus.State @@ -1545,34 +1667,38 @@ var file_spacemesh_v1_smesher_types_proto_goTypes = []interface{}{ (*PostSetupProvider)(nil), // 22: spacemesh.v1.PostSetupProvider (*PostSetupOpts)(nil), // 23: spacemesh.v1.PostSetupOpts (*PostSetupStatus)(nil), // 24: spacemesh.v1.PostSetupStatus - (*AccountId)(nil), // 25: spacemesh.v1.AccountId - (*status.Status)(nil), // 26: google.rpc.Status - (*SimpleInt)(nil), // 27: spacemesh.v1.SimpleInt - (*Amount)(nil), // 28: spacemesh.v1.Amount + (*PoetServicesRequest)(nil), // 25: spacemesh.v1.PoetServicesRequest + (*PoetServicesResponse)(nil), // 26: spacemesh.v1.PoetServicesResponse + (*AccountId)(nil), // 27: spacemesh.v1.AccountId + (*status.Status)(nil), // 28: google.rpc.Status + (*SimpleInt)(nil), // 29: spacemesh.v1.SimpleInt + (*Amount)(nil), // 30: spacemesh.v1.Amount + (*SmesherId)(nil), // 31: spacemesh.v1.SmesherId } var file_spacemesh_v1_smesher_types_proto_depIdxs = []int32{ - 25, // 0: spacemesh.v1.StartSmeshingRequest.coinbase:type_name -> spacemesh.v1.AccountId + 27, // 0: spacemesh.v1.StartSmeshingRequest.coinbase:type_name -> spacemesh.v1.AccountId 23, // 1: spacemesh.v1.StartSmeshingRequest.opts:type_name -> spacemesh.v1.PostSetupOpts - 26, // 2: spacemesh.v1.StartSmeshingResponse.status:type_name -> google.rpc.Status - 26, // 3: spacemesh.v1.StopSmeshingResponse.status:type_name -> google.rpc.Status - 25, // 4: spacemesh.v1.SetCoinbaseRequest.id:type_name -> spacemesh.v1.AccountId - 26, // 5: spacemesh.v1.SetCoinbaseResponse.status:type_name -> google.rpc.Status - 27, // 6: spacemesh.v1.MinGasResponse.mingas:type_name -> spacemesh.v1.SimpleInt - 27, // 7: spacemesh.v1.SetMinGasRequest.mingas:type_name -> spacemesh.v1.SimpleInt - 26, // 8: spacemesh.v1.SetMinGasResponse.status:type_name -> google.rpc.Status - 25, // 9: spacemesh.v1.CoinbaseResponse.account_id:type_name -> spacemesh.v1.AccountId - 28, // 10: spacemesh.v1.EstimatedRewardsResponse.amount:type_name -> spacemesh.v1.Amount + 28, // 2: spacemesh.v1.StartSmeshingResponse.status:type_name -> google.rpc.Status + 28, // 3: spacemesh.v1.StopSmeshingResponse.status:type_name -> google.rpc.Status + 27, // 4: spacemesh.v1.SetCoinbaseRequest.id:type_name -> spacemesh.v1.AccountId + 28, // 5: spacemesh.v1.SetCoinbaseResponse.status:type_name -> google.rpc.Status + 29, // 6: spacemesh.v1.MinGasResponse.mingas:type_name -> spacemesh.v1.SimpleInt + 29, // 7: spacemesh.v1.SetMinGasRequest.mingas:type_name -> spacemesh.v1.SimpleInt + 28, // 8: spacemesh.v1.SetMinGasResponse.status:type_name -> google.rpc.Status + 27, // 9: spacemesh.v1.CoinbaseResponse.account_id:type_name -> spacemesh.v1.AccountId + 30, // 10: spacemesh.v1.EstimatedRewardsResponse.amount:type_name -> spacemesh.v1.Amount 22, // 11: spacemesh.v1.PostSetupProvidersResponse.providers:type_name -> spacemesh.v1.PostSetupProvider 24, // 12: spacemesh.v1.PostSetupStatusResponse.status:type_name -> spacemesh.v1.PostSetupStatus 24, // 13: spacemesh.v1.PostSetupStatusStreamResponse.status:type_name -> spacemesh.v1.PostSetupStatus 0, // 14: spacemesh.v1.PostSetupProvider.device_type:type_name -> spacemesh.v1.PostSetupProvider.DeviceType 1, // 15: spacemesh.v1.PostSetupStatus.state:type_name -> spacemesh.v1.PostSetupStatus.State 23, // 16: spacemesh.v1.PostSetupStatus.opts:type_name -> spacemesh.v1.PostSetupOpts - 17, // [17:17] is the sub-list for method output_type - 17, // [17:17] is the sub-list for method input_type - 17, // [17:17] is the sub-list for extension type_name - 17, // [17:17] is the sub-list for extension extendee - 0, // [0:17] is the sub-list for field type_name + 31, // 17: spacemesh.v1.PoetServicesRequest.id:type_name -> spacemesh.v1.SmesherId + 18, // [18:18] is the sub-list for method output_type + 18, // [18:18] is the sub-list for method input_type + 18, // [18:18] is the sub-list for extension type_name + 18, // [18:18] is the sub-list for extension extendee + 0, // [0:18] is the sub-list for field type_name } func init() { file_spacemesh_v1_smesher_types_proto_init() } @@ -1858,6 +1984,30 @@ func file_spacemesh_v1_smesher_types_proto_init() { return nil } } + file_spacemesh_v1_smesher_types_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PoetServicesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_v1_smesher_types_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PoetServicesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } file_spacemesh_v1_smesher_types_proto_msgTypes[21].OneofWrappers = []interface{}{} type x struct{} @@ -1866,7 +2016,7 @@ func file_spacemesh_v1_smesher_types_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_spacemesh_v1_smesher_types_proto_rawDesc, NumEnums: 2, - NumMessages: 23, + NumMessages: 25, NumExtensions: 0, NumServices: 0, }, diff --git a/spacemesh/v1/smesher.proto b/spacemesh/v1/smesher.proto index bd329daf..5f44550c 100644 --- a/spacemesh/v1/smesher.proto +++ b/spacemesh/v1/smesher.proto @@ -10,7 +10,7 @@ package spacemesh.v1; service SmesherService { option (google.api.api_visibility).restriction = "V1"; - // Returns true iff node is currently smeshing + // Returns true if node is currently smeshing rpc IsSmeshing (google.protobuf.Empty) returns (IsSmeshingResponse) { option (google.api.http) = { post: "/v1/smesher/issmeshing" @@ -117,4 +117,12 @@ service SmesherService { body: "*" }; } + + // Returns set of known and configured poet services. In case of mismatch, returns also warning. + rpc PoetServices (PoetServicesRequest) returns (PoetServicesResponse){ + option (google.api.http) = { + post: "/v1/smesher/poetservices" + body: "*" + }; + } } diff --git a/spacemesh/v1/smesher_types.proto b/spacemesh/v1/smesher_types.proto index 729b2bea..05577ab8 100644 --- a/spacemesh/v1/smesher_types.proto +++ b/spacemesh/v1/smesher_types.proto @@ -134,3 +134,13 @@ message PostSetupStatus { uint64 num_labels_written = 2; // Number of labels (hashes) written to the data files PostSetupOpts opts = 3; // setup options previously set by the user } + +message PoetServicesRequest { + SmesherId id = 1; +} + +message PoetServicesResponse { + string warning = 1; + repeated string known_poets = 2; + repeated string configured_poets = 3; +} \ No newline at end of file From 02db86899013ac20c78a94e1a586980d1f6fd1cf Mon Sep 17 00:00:00 2001 From: 0xBECEDA Date: Mon, 29 Jul 2024 01:06:41 +0200 Subject: [PATCH 02/41] fixed smeshing identities --- release/go/spacemesh/v1/smesher.pb.go | 100 ++-- release/go/spacemesh/v1/smesher.pb.gw.go | 77 --- release/go/spacemesh/v1/smesher_grpc.pb.go | 39 -- release/go/spacemesh/v1/smesher_types.pb.go | 218 ++----- .../spacemesh/v2alpha1/node_identities.pb.go | 562 ++++++++++++++++++ .../v2alpha1/node_identities.pb.gw.go | 163 +++++ .../v2alpha1/node_identities_grpc.pb.go | 111 ++++ release/openapi/swagger/src/api.swagger.json | 100 ++++ spacemesh/v1/smesher.proto | 8 - spacemesh/v1/smesher_types.proto | 10 - spacemesh/v2alpha1/node_identities.proto | 56 ++ 11 files changed, 1070 insertions(+), 374 deletions(-) create mode 100644 release/go/spacemesh/v2alpha1/node_identities.pb.go create mode 100644 release/go/spacemesh/v2alpha1/node_identities.pb.gw.go create mode 100644 release/go/spacemesh/v2alpha1/node_identities_grpc.pb.go create mode 100644 spacemesh/v2alpha1/node_identities.proto diff --git a/release/go/spacemesh/v1/smesher.pb.go b/release/go/spacemesh/v1/smesher.pb.go index 0a275bff..a24ee2ba 100644 --- a/release/go/spacemesh/v1/smesher.pb.go +++ b/release/go/spacemesh/v1/smesher.pb.go @@ -35,7 +35,7 @@ var file_spacemesh_v1_smesher_proto_rawDesc = []byte{ 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x32, 0xd6, 0x0d, 0x0a, 0x0e, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, + 0x72, 0x6f, 0x74, 0x6f, 0x32, 0xda, 0x0c, 0x0a, 0x0e, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x66, 0x0a, 0x0a, 0x49, 0x73, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x20, 0x2e, @@ -136,27 +136,19 @@ var file_spacemesh_v1_smesher_proto_rawDesc = []byte{ 0x50, 0x6f, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x21, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b, 0x3a, 0x01, 0x2a, 0x22, 0x16, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x2f, 0x70, 0x6f, 0x73, 0x74, 0x63, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x7a, 0x0a, 0x0c, 0x50, 0x6f, 0x65, 0x74, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, - 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x23, 0x82, 0xd3, - 0xe4, 0x93, 0x02, 0x1d, 0x3a, 0x01, 0x2a, 0x22, 0x18, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x6d, 0x65, - 0x73, 0x68, 0x65, 0x72, 0x2f, 0x70, 0x6f, 0x65, 0x74, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x73, 0x1a, 0x0a, 0xfa, 0xd2, 0xe4, 0x93, 0x02, 0x04, 0x12, 0x02, 0x56, 0x31, 0x42, 0xb1, 0x01, - 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, - 0x76, 0x31, 0x42, 0x0c, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, - 0x50, 0x01, 0x5a, 0x3e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, - 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, - 0x65, 0x73, 0x68, 0x2f, 0x76, 0x31, 0x3b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, - 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, 0x02, 0x0c, 0x53, 0x70, 0x61, 0x63, 0x65, - 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0c, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, - 0x65, 0x73, 0x68, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x18, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, - 0x73, 0x68, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0xea, 0x02, 0x0d, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x3a, 0x3a, 0x56, - 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x1a, 0x0a, 0xfa, 0xd2, 0xe4, 0x93, 0x02, 0x04, 0x12, 0x02, 0x56, + 0x31, 0x42, 0xb1, 0x01, 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, + 0x65, 0x73, 0x68, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x50, + 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, + 0x6f, 0x6d, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, + 0x70, 0x69, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, 0x31, 0x3b, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x6d, 0x65, 0x73, 0x68, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, 0x02, 0x0c, 0x53, + 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0c, 0x53, 0x70, + 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x18, 0x53, 0x70, 0x61, + 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0d, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, + 0x68, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var file_spacemesh_v1_smesher_proto_goTypes = []interface{}{ @@ -167,22 +159,20 @@ var file_spacemesh_v1_smesher_proto_goTypes = []interface{}{ (*SetMinGasRequest)(nil), // 4: spacemesh.v1.SetMinGasRequest (*EstimatedRewardsRequest)(nil), // 5: spacemesh.v1.EstimatedRewardsRequest (*PostSetupProvidersRequest)(nil), // 6: spacemesh.v1.PostSetupProvidersRequest - (*PoetServicesRequest)(nil), // 7: spacemesh.v1.PoetServicesRequest - (*IsSmeshingResponse)(nil), // 8: spacemesh.v1.IsSmeshingResponse - (*StartSmeshingResponse)(nil), // 9: spacemesh.v1.StartSmeshingResponse - (*StopSmeshingResponse)(nil), // 10: spacemesh.v1.StopSmeshingResponse - (*SmesherIDResponse)(nil), // 11: spacemesh.v1.SmesherIDResponse - (*SmesherIDsResponse)(nil), // 12: spacemesh.v1.SmesherIDsResponse - (*CoinbaseResponse)(nil), // 13: spacemesh.v1.CoinbaseResponse - (*SetCoinbaseResponse)(nil), // 14: spacemesh.v1.SetCoinbaseResponse - (*MinGasResponse)(nil), // 15: spacemesh.v1.MinGasResponse - (*SetMinGasResponse)(nil), // 16: spacemesh.v1.SetMinGasResponse - (*EstimatedRewardsResponse)(nil), // 17: spacemesh.v1.EstimatedRewardsResponse - (*PostSetupStatusResponse)(nil), // 18: spacemesh.v1.PostSetupStatusResponse - (*PostSetupStatusStreamResponse)(nil), // 19: spacemesh.v1.PostSetupStatusStreamResponse - (*PostSetupProvidersResponse)(nil), // 20: spacemesh.v1.PostSetupProvidersResponse - (*PostConfigResponse)(nil), // 21: spacemesh.v1.PostConfigResponse - (*PoetServicesResponse)(nil), // 22: spacemesh.v1.PoetServicesResponse + (*IsSmeshingResponse)(nil), // 7: spacemesh.v1.IsSmeshingResponse + (*StartSmeshingResponse)(nil), // 8: spacemesh.v1.StartSmeshingResponse + (*StopSmeshingResponse)(nil), // 9: spacemesh.v1.StopSmeshingResponse + (*SmesherIDResponse)(nil), // 10: spacemesh.v1.SmesherIDResponse + (*SmesherIDsResponse)(nil), // 11: spacemesh.v1.SmesherIDsResponse + (*CoinbaseResponse)(nil), // 12: spacemesh.v1.CoinbaseResponse + (*SetCoinbaseResponse)(nil), // 13: spacemesh.v1.SetCoinbaseResponse + (*MinGasResponse)(nil), // 14: spacemesh.v1.MinGasResponse + (*SetMinGasResponse)(nil), // 15: spacemesh.v1.SetMinGasResponse + (*EstimatedRewardsResponse)(nil), // 16: spacemesh.v1.EstimatedRewardsResponse + (*PostSetupStatusResponse)(nil), // 17: spacemesh.v1.PostSetupStatusResponse + (*PostSetupStatusStreamResponse)(nil), // 18: spacemesh.v1.PostSetupStatusStreamResponse + (*PostSetupProvidersResponse)(nil), // 19: spacemesh.v1.PostSetupProvidersResponse + (*PostConfigResponse)(nil), // 20: spacemesh.v1.PostConfigResponse } var file_spacemesh_v1_smesher_proto_depIdxs = []int32{ 0, // 0: spacemesh.v1.SmesherService.IsSmeshing:input_type -> google.protobuf.Empty @@ -199,24 +189,22 @@ var file_spacemesh_v1_smesher_proto_depIdxs = []int32{ 0, // 11: spacemesh.v1.SmesherService.PostSetupStatusStream:input_type -> google.protobuf.Empty 6, // 12: spacemesh.v1.SmesherService.PostSetupProviders:input_type -> spacemesh.v1.PostSetupProvidersRequest 0, // 13: spacemesh.v1.SmesherService.PostConfig:input_type -> google.protobuf.Empty - 7, // 14: spacemesh.v1.SmesherService.PoetServices:input_type -> spacemesh.v1.PoetServicesRequest - 8, // 15: spacemesh.v1.SmesherService.IsSmeshing:output_type -> spacemesh.v1.IsSmeshingResponse - 9, // 16: spacemesh.v1.SmesherService.StartSmeshing:output_type -> spacemesh.v1.StartSmeshingResponse - 10, // 17: spacemesh.v1.SmesherService.StopSmeshing:output_type -> spacemesh.v1.StopSmeshingResponse - 11, // 18: spacemesh.v1.SmesherService.SmesherID:output_type -> spacemesh.v1.SmesherIDResponse - 12, // 19: spacemesh.v1.SmesherService.SmesherIDs:output_type -> spacemesh.v1.SmesherIDsResponse - 13, // 20: spacemesh.v1.SmesherService.Coinbase:output_type -> spacemesh.v1.CoinbaseResponse - 14, // 21: spacemesh.v1.SmesherService.SetCoinbase:output_type -> spacemesh.v1.SetCoinbaseResponse - 15, // 22: spacemesh.v1.SmesherService.MinGas:output_type -> spacemesh.v1.MinGasResponse - 16, // 23: spacemesh.v1.SmesherService.SetMinGas:output_type -> spacemesh.v1.SetMinGasResponse - 17, // 24: spacemesh.v1.SmesherService.EstimatedRewards:output_type -> spacemesh.v1.EstimatedRewardsResponse - 18, // 25: spacemesh.v1.SmesherService.PostSetupStatus:output_type -> spacemesh.v1.PostSetupStatusResponse - 19, // 26: spacemesh.v1.SmesherService.PostSetupStatusStream:output_type -> spacemesh.v1.PostSetupStatusStreamResponse - 20, // 27: spacemesh.v1.SmesherService.PostSetupProviders:output_type -> spacemesh.v1.PostSetupProvidersResponse - 21, // 28: spacemesh.v1.SmesherService.PostConfig:output_type -> spacemesh.v1.PostConfigResponse - 22, // 29: spacemesh.v1.SmesherService.PoetServices:output_type -> spacemesh.v1.PoetServicesResponse - 15, // [15:30] is the sub-list for method output_type - 0, // [0:15] is the sub-list for method input_type + 7, // 14: spacemesh.v1.SmesherService.IsSmeshing:output_type -> spacemesh.v1.IsSmeshingResponse + 8, // 15: spacemesh.v1.SmesherService.StartSmeshing:output_type -> spacemesh.v1.StartSmeshingResponse + 9, // 16: spacemesh.v1.SmesherService.StopSmeshing:output_type -> spacemesh.v1.StopSmeshingResponse + 10, // 17: spacemesh.v1.SmesherService.SmesherID:output_type -> spacemesh.v1.SmesherIDResponse + 11, // 18: spacemesh.v1.SmesherService.SmesherIDs:output_type -> spacemesh.v1.SmesherIDsResponse + 12, // 19: spacemesh.v1.SmesherService.Coinbase:output_type -> spacemesh.v1.CoinbaseResponse + 13, // 20: spacemesh.v1.SmesherService.SetCoinbase:output_type -> spacemesh.v1.SetCoinbaseResponse + 14, // 21: spacemesh.v1.SmesherService.MinGas:output_type -> spacemesh.v1.MinGasResponse + 15, // 22: spacemesh.v1.SmesherService.SetMinGas:output_type -> spacemesh.v1.SetMinGasResponse + 16, // 23: spacemesh.v1.SmesherService.EstimatedRewards:output_type -> spacemesh.v1.EstimatedRewardsResponse + 17, // 24: spacemesh.v1.SmesherService.PostSetupStatus:output_type -> spacemesh.v1.PostSetupStatusResponse + 18, // 25: spacemesh.v1.SmesherService.PostSetupStatusStream:output_type -> spacemesh.v1.PostSetupStatusStreamResponse + 19, // 26: spacemesh.v1.SmesherService.PostSetupProviders:output_type -> spacemesh.v1.PostSetupProvidersResponse + 20, // 27: spacemesh.v1.SmesherService.PostConfig:output_type -> spacemesh.v1.PostConfigResponse + 14, // [14:28] is the sub-list for method output_type + 0, // [0:14] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name 0, // [0:0] is the sub-list for extension extendee 0, // [0:0] is the sub-list for field type_name diff --git a/release/go/spacemesh/v1/smesher.pb.gw.go b/release/go/spacemesh/v1/smesher.pb.gw.go index 4b9f8964..6130347c 100644 --- a/release/go/spacemesh/v1/smesher.pb.gw.go +++ b/release/go/spacemesh/v1/smesher.pb.gw.go @@ -343,32 +343,6 @@ func local_request_SmesherService_PostConfig_0(ctx context.Context, marshaler ru } -func request_SmesherService_PoetServices_0(ctx context.Context, marshaler runtime.Marshaler, client SmesherServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq PoetServicesRequest - var metadata runtime.ServerMetadata - - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.PoetServices(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_SmesherService_PoetServices_0(ctx context.Context, marshaler runtime.Marshaler, server SmesherServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq PoetServicesRequest - var metadata runtime.ServerMetadata - - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := server.PoetServices(ctx, &protoReq) - return msg, metadata, err - -} - // RegisterSmesherServiceHandlerServer registers the http handlers for service SmesherService to "mux". // UnaryRPC :call SmesherServiceServer directly. // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. @@ -707,31 +681,6 @@ func RegisterSmesherServiceHandlerServer(ctx context.Context, mux *runtime.Serve }) - mux.Handle("POST", pattern_SmesherService_PoetServices_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - var err error - var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/spacemesh.v1.SmesherService/PoetServices", runtime.WithHTTPPathPattern("/v1/smesher/poetservices")) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_SmesherService_PoetServices_0(annotatedContext, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) - if err != nil { - runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) - return - } - - forward_SmesherService_PoetServices_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - return nil } @@ -1081,28 +1030,6 @@ func RegisterSmesherServiceHandlerClient(ctx context.Context, mux *runtime.Serve }) - mux.Handle("POST", pattern_SmesherService_PoetServices_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - var err error - var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/spacemesh.v1.SmesherService/PoetServices", runtime.WithHTTPPathPattern("/v1/smesher/poetservices")) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_SmesherService_PoetServices_0(annotatedContext, inboundMarshaler, client, req, pathParams) - annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) - if err != nil { - runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) - return - } - - forward_SmesherService_PoetServices_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - return nil } @@ -1134,8 +1061,6 @@ var ( pattern_SmesherService_PostSetupProviders_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"v1", "smesher", "postsetupproviders"}, "")) pattern_SmesherService_PostConfig_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"v1", "smesher", "postconfig"}, "")) - - pattern_SmesherService_PoetServices_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"v1", "smesher", "poetservices"}, "")) ) var ( @@ -1166,6 +1091,4 @@ var ( forward_SmesherService_PostSetupProviders_0 = runtime.ForwardResponseMessage forward_SmesherService_PostConfig_0 = runtime.ForwardResponseMessage - - forward_SmesherService_PoetServices_0 = runtime.ForwardResponseMessage ) diff --git a/release/go/spacemesh/v1/smesher_grpc.pb.go b/release/go/spacemesh/v1/smesher_grpc.pb.go index 3056e35c..5cac3cc5 100644 --- a/release/go/spacemesh/v1/smesher_grpc.pb.go +++ b/release/go/spacemesh/v1/smesher_grpc.pb.go @@ -34,7 +34,6 @@ const ( SmesherService_PostSetupStatusStream_FullMethodName = "/spacemesh.v1.SmesherService/PostSetupStatusStream" SmesherService_PostSetupProviders_FullMethodName = "/spacemesh.v1.SmesherService/PostSetupProviders" SmesherService_PostConfig_FullMethodName = "/spacemesh.v1.SmesherService/PostConfig" - SmesherService_PoetServices_FullMethodName = "/spacemesh.v1.SmesherService/PoetServices" ) // SmesherServiceClient is the client API for SmesherService service. @@ -76,8 +75,6 @@ type SmesherServiceClient interface { PostSetupProviders(ctx context.Context, in *PostSetupProvidersRequest, opts ...grpc.CallOption) (*PostSetupProvidersResponse, error) // Returns the Post protocol config PostConfig(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*PostConfigResponse, error) - // Returns set of known and configured poet services. In case of mismatch, returns also warning. - PoetServices(ctx context.Context, in *PoetServicesRequest, opts ...grpc.CallOption) (*PoetServicesResponse, error) } type smesherServiceClient struct { @@ -238,15 +235,6 @@ func (c *smesherServiceClient) PostConfig(ctx context.Context, in *emptypb.Empty return out, nil } -func (c *smesherServiceClient) PoetServices(ctx context.Context, in *PoetServicesRequest, opts ...grpc.CallOption) (*PoetServicesResponse, error) { - out := new(PoetServicesResponse) - err := c.cc.Invoke(ctx, SmesherService_PoetServices_FullMethodName, in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - // SmesherServiceServer is the server API for SmesherService service. // All implementations should embed UnimplementedSmesherServiceServer // for forward compatibility @@ -286,8 +274,6 @@ type SmesherServiceServer interface { PostSetupProviders(context.Context, *PostSetupProvidersRequest) (*PostSetupProvidersResponse, error) // Returns the Post protocol config PostConfig(context.Context, *emptypb.Empty) (*PostConfigResponse, error) - // Returns set of known and configured poet services. In case of mismatch, returns also warning. - PoetServices(context.Context, *PoetServicesRequest) (*PoetServicesResponse, error) } // UnimplementedSmesherServiceServer should be embedded to have forward compatible implementations. @@ -336,9 +322,6 @@ func (UnimplementedSmesherServiceServer) PostSetupProviders(context.Context, *Po func (UnimplementedSmesherServiceServer) PostConfig(context.Context, *emptypb.Empty) (*PostConfigResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method PostConfig not implemented") } -func (UnimplementedSmesherServiceServer) PoetServices(context.Context, *PoetServicesRequest) (*PoetServicesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method PoetServices not implemented") -} // UnsafeSmesherServiceServer may be embedded to opt out of forward compatibility for this service. // Use of this interface is not recommended, as added methods to SmesherServiceServer will @@ -606,24 +589,6 @@ func _SmesherService_PostConfig_Handler(srv interface{}, ctx context.Context, de return interceptor(ctx, in, info, handler) } -func _SmesherService_PoetServices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PoetServicesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SmesherServiceServer).PoetServices(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: SmesherService_PoetServices_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SmesherServiceServer).PoetServices(ctx, req.(*PoetServicesRequest)) - } - return interceptor(ctx, in, info, handler) -} - // SmesherService_ServiceDesc is the grpc.ServiceDesc for SmesherService service. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) @@ -683,10 +648,6 @@ var SmesherService_ServiceDesc = grpc.ServiceDesc{ MethodName: "PostConfig", Handler: _SmesherService_PostConfig_Handler, }, - { - MethodName: "PoetServices", - Handler: _SmesherService_PoetServices_Handler, - }, }, Streams: []grpc.StreamDesc{ { diff --git a/release/go/spacemesh/v1/smesher_types.pb.go b/release/go/spacemesh/v1/smesher_types.pb.go index abf17733..4e4f1bcf 100644 --- a/release/go/spacemesh/v1/smesher_types.pb.go +++ b/release/go/spacemesh/v1/smesher_types.pb.go @@ -1338,116 +1338,6 @@ func (x *PostSetupStatus) GetOpts() *PostSetupOpts { return nil } -type PoetServicesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id *SmesherId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` -} - -func (x *PoetServicesRequest) Reset() { - *x = PoetServicesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v1_smesher_types_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PoetServicesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PoetServicesRequest) ProtoMessage() {} - -func (x *PoetServicesRequest) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v1_smesher_types_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PoetServicesRequest.ProtoReflect.Descriptor instead. -func (*PoetServicesRequest) Descriptor() ([]byte, []int) { - return file_spacemesh_v1_smesher_types_proto_rawDescGZIP(), []int{23} -} - -func (x *PoetServicesRequest) GetId() *SmesherId { - if x != nil { - return x.Id - } - return nil -} - -type PoetServicesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Warning string `protobuf:"bytes,1,opt,name=warning,proto3" json:"warning,omitempty"` - KnownPoets []string `protobuf:"bytes,2,rep,name=known_poets,json=knownPoets,proto3" json:"known_poets,omitempty"` - ConfiguredPoets []string `protobuf:"bytes,3,rep,name=configured_poets,json=configuredPoets,proto3" json:"configured_poets,omitempty"` -} - -func (x *PoetServicesResponse) Reset() { - *x = PoetServicesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v1_smesher_types_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PoetServicesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PoetServicesResponse) ProtoMessage() {} - -func (x *PoetServicesResponse) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v1_smesher_types_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PoetServicesResponse.ProtoReflect.Descriptor instead. -func (*PoetServicesResponse) Descriptor() ([]byte, []int) { - return file_spacemesh_v1_smesher_types_proto_rawDescGZIP(), []int{24} -} - -func (x *PoetServicesResponse) GetWarning() string { - if x != nil { - return x.Warning - } - return "" -} - -func (x *PoetServicesResponse) GetKnownPoets() []string { - if x != nil { - return x.KnownPoets - } - return nil -} - -func (x *PoetServicesResponse) GetConfiguredPoets() []string { - if x != nil { - return x.ConfiguredPoets - } - return nil -} - var File_spacemesh_v1_smesher_types_proto protoreflect.FileDescriptor var file_spacemesh_v1_smesher_types_proto_rawDesc = []byte{ @@ -1600,31 +1490,19 @@ var file_spacemesh_v1_smesher_types_proto_rawDesc = []byte{ 0x53, 0x53, 0x10, 0x03, 0x12, 0x10, 0x0a, 0x0c, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x50, 0x41, 0x55, 0x53, 0x45, 0x44, 0x10, 0x04, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x05, 0x12, 0x0f, 0x0a, 0x0b, 0x53, 0x54, - 0x41, 0x54, 0x45, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x06, 0x22, 0x3e, 0x0a, 0x13, 0x50, - 0x6f, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x27, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, - 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6d, - 0x65, 0x73, 0x68, 0x65, 0x72, 0x49, 0x64, 0x52, 0x02, 0x69, 0x64, 0x22, 0x7c, 0x0a, 0x14, 0x50, - 0x6f, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x77, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x77, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x12, 0x1f, 0x0a, - 0x0b, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x5f, 0x70, 0x6f, 0x65, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, - 0x28, 0x09, 0x52, 0x0a, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x50, 0x6f, 0x65, 0x74, 0x73, 0x12, 0x29, - 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x64, 0x5f, 0x70, 0x6f, 0x65, - 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x75, 0x72, 0x65, 0x64, 0x50, 0x6f, 0x65, 0x74, 0x73, 0x42, 0xb6, 0x01, 0x0a, 0x10, 0x63, 0x6f, - 0x6d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x31, 0x42, 0x11, - 0x53, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, - 0x6f, 0x50, 0x01, 0x5a, 0x3e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, - 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, 0x31, 0x3b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, - 0x68, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, 0x02, 0x0c, 0x53, 0x70, 0x61, 0x63, - 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0c, 0x53, 0x70, 0x61, 0x63, 0x65, - 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x18, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, - 0x65, 0x73, 0x68, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0xea, 0x02, 0x0d, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x3a, 0x3a, - 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x41, 0x54, 0x45, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x06, 0x42, 0xb6, 0x01, 0x0a, 0x10, + 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x31, + 0x42, 0x11, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x73, 0x50, 0x72, + 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, + 0x6d, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, 0x70, + 0x69, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, 0x31, 0x3b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, + 0x65, 0x73, 0x68, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, 0x02, 0x0c, 0x53, 0x70, + 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0c, 0x53, 0x70, 0x61, + 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x18, 0x53, 0x70, 0x61, 0x63, + 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0d, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, + 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -1640,7 +1518,7 @@ func file_spacemesh_v1_smesher_types_proto_rawDescGZIP() []byte { } var file_spacemesh_v1_smesher_types_proto_enumTypes = make([]protoimpl.EnumInfo, 2) -var file_spacemesh_v1_smesher_types_proto_msgTypes = make([]protoimpl.MessageInfo, 25) +var file_spacemesh_v1_smesher_types_proto_msgTypes = make([]protoimpl.MessageInfo, 23) var file_spacemesh_v1_smesher_types_proto_goTypes = []interface{}{ (PostSetupProvider_DeviceType)(0), // 0: spacemesh.v1.PostSetupProvider.DeviceType (PostSetupStatus_State)(0), // 1: spacemesh.v1.PostSetupStatus.State @@ -1667,38 +1545,34 @@ var file_spacemesh_v1_smesher_types_proto_goTypes = []interface{}{ (*PostSetupProvider)(nil), // 22: spacemesh.v1.PostSetupProvider (*PostSetupOpts)(nil), // 23: spacemesh.v1.PostSetupOpts (*PostSetupStatus)(nil), // 24: spacemesh.v1.PostSetupStatus - (*PoetServicesRequest)(nil), // 25: spacemesh.v1.PoetServicesRequest - (*PoetServicesResponse)(nil), // 26: spacemesh.v1.PoetServicesResponse - (*AccountId)(nil), // 27: spacemesh.v1.AccountId - (*status.Status)(nil), // 28: google.rpc.Status - (*SimpleInt)(nil), // 29: spacemesh.v1.SimpleInt - (*Amount)(nil), // 30: spacemesh.v1.Amount - (*SmesherId)(nil), // 31: spacemesh.v1.SmesherId + (*AccountId)(nil), // 25: spacemesh.v1.AccountId + (*status.Status)(nil), // 26: google.rpc.Status + (*SimpleInt)(nil), // 27: spacemesh.v1.SimpleInt + (*Amount)(nil), // 28: spacemesh.v1.Amount } var file_spacemesh_v1_smesher_types_proto_depIdxs = []int32{ - 27, // 0: spacemesh.v1.StartSmeshingRequest.coinbase:type_name -> spacemesh.v1.AccountId + 25, // 0: spacemesh.v1.StartSmeshingRequest.coinbase:type_name -> spacemesh.v1.AccountId 23, // 1: spacemesh.v1.StartSmeshingRequest.opts:type_name -> spacemesh.v1.PostSetupOpts - 28, // 2: spacemesh.v1.StartSmeshingResponse.status:type_name -> google.rpc.Status - 28, // 3: spacemesh.v1.StopSmeshingResponse.status:type_name -> google.rpc.Status - 27, // 4: spacemesh.v1.SetCoinbaseRequest.id:type_name -> spacemesh.v1.AccountId - 28, // 5: spacemesh.v1.SetCoinbaseResponse.status:type_name -> google.rpc.Status - 29, // 6: spacemesh.v1.MinGasResponse.mingas:type_name -> spacemesh.v1.SimpleInt - 29, // 7: spacemesh.v1.SetMinGasRequest.mingas:type_name -> spacemesh.v1.SimpleInt - 28, // 8: spacemesh.v1.SetMinGasResponse.status:type_name -> google.rpc.Status - 27, // 9: spacemesh.v1.CoinbaseResponse.account_id:type_name -> spacemesh.v1.AccountId - 30, // 10: spacemesh.v1.EstimatedRewardsResponse.amount:type_name -> spacemesh.v1.Amount + 26, // 2: spacemesh.v1.StartSmeshingResponse.status:type_name -> google.rpc.Status + 26, // 3: spacemesh.v1.StopSmeshingResponse.status:type_name -> google.rpc.Status + 25, // 4: spacemesh.v1.SetCoinbaseRequest.id:type_name -> spacemesh.v1.AccountId + 26, // 5: spacemesh.v1.SetCoinbaseResponse.status:type_name -> google.rpc.Status + 27, // 6: spacemesh.v1.MinGasResponse.mingas:type_name -> spacemesh.v1.SimpleInt + 27, // 7: spacemesh.v1.SetMinGasRequest.mingas:type_name -> spacemesh.v1.SimpleInt + 26, // 8: spacemesh.v1.SetMinGasResponse.status:type_name -> google.rpc.Status + 25, // 9: spacemesh.v1.CoinbaseResponse.account_id:type_name -> spacemesh.v1.AccountId + 28, // 10: spacemesh.v1.EstimatedRewardsResponse.amount:type_name -> spacemesh.v1.Amount 22, // 11: spacemesh.v1.PostSetupProvidersResponse.providers:type_name -> spacemesh.v1.PostSetupProvider 24, // 12: spacemesh.v1.PostSetupStatusResponse.status:type_name -> spacemesh.v1.PostSetupStatus 24, // 13: spacemesh.v1.PostSetupStatusStreamResponse.status:type_name -> spacemesh.v1.PostSetupStatus 0, // 14: spacemesh.v1.PostSetupProvider.device_type:type_name -> spacemesh.v1.PostSetupProvider.DeviceType 1, // 15: spacemesh.v1.PostSetupStatus.state:type_name -> spacemesh.v1.PostSetupStatus.State 23, // 16: spacemesh.v1.PostSetupStatus.opts:type_name -> spacemesh.v1.PostSetupOpts - 31, // 17: spacemesh.v1.PoetServicesRequest.id:type_name -> spacemesh.v1.SmesherId - 18, // [18:18] is the sub-list for method output_type - 18, // [18:18] is the sub-list for method input_type - 18, // [18:18] is the sub-list for extension type_name - 18, // [18:18] is the sub-list for extension extendee - 0, // [0:18] is the sub-list for field type_name + 17, // [17:17] is the sub-list for method output_type + 17, // [17:17] is the sub-list for method input_type + 17, // [17:17] is the sub-list for extension type_name + 17, // [17:17] is the sub-list for extension extendee + 0, // [0:17] is the sub-list for field type_name } func init() { file_spacemesh_v1_smesher_types_proto_init() } @@ -1984,30 +1858,6 @@ func file_spacemesh_v1_smesher_types_proto_init() { return nil } } - file_spacemesh_v1_smesher_types_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PoetServicesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spacemesh_v1_smesher_types_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PoetServicesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } } file_spacemesh_v1_smesher_types_proto_msgTypes[21].OneofWrappers = []interface{}{} type x struct{} @@ -2016,7 +1866,7 @@ func file_spacemesh_v1_smesher_types_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_spacemesh_v1_smesher_types_proto_rawDesc, NumEnums: 2, - NumMessages: 25, + NumMessages: 23, NumExtensions: 0, NumServices: 0, }, diff --git a/release/go/spacemesh/v2alpha1/node_identities.pb.go b/release/go/spacemesh/v2alpha1/node_identities.pb.go new file mode 100644 index 00000000..e5b86e95 --- /dev/null +++ b/release/go/spacemesh/v2alpha1/node_identities.pb.go @@ -0,0 +1,562 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.33.0 +// protoc (unknown) +// source: spacemesh/v2alpha1/node_identities.proto + +package spacemeshv2alpha1 + +import ( + _ "google.golang.org/genproto/googleapis/api/annotations" + _ "google.golang.org/genproto/googleapis/api/visibility" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type PoetServicesResponse_Identity_Status int32 + +const ( + PoetServicesResponse_Identity_STATUS_UNSPECIFIED PoetServicesResponse_Identity_Status = 0 + PoetServicesResponse_Identity_STATUS_IS_SYNCING PoetServicesResponse_Identity_Status = 1 + PoetServicesResponse_Identity_STATUS_CREATING_INITIAL_POST PoetServicesResponse_Identity_Status = 2 + PoetServicesResponse_Identity_STATUS_SUBMITTING_CHALLENGE PoetServicesResponse_Identity_Status = 3 + PoetServicesResponse_Identity_STATUS_CREATING_POST_PROOF PoetServicesResponse_Identity_Status = 4 +) + +// Enum value maps for PoetServicesResponse_Identity_Status. +var ( + PoetServicesResponse_Identity_Status_name = map[int32]string{ + 0: "STATUS_UNSPECIFIED", + 1: "STATUS_IS_SYNCING", + 2: "STATUS_CREATING_INITIAL_POST", + 3: "STATUS_SUBMITTING_CHALLENGE", + 4: "STATUS_CREATING_POST_PROOF", + } + PoetServicesResponse_Identity_Status_value = map[string]int32{ + "STATUS_UNSPECIFIED": 0, + "STATUS_IS_SYNCING": 1, + "STATUS_CREATING_INITIAL_POST": 2, + "STATUS_SUBMITTING_CHALLENGE": 3, + "STATUS_CREATING_POST_PROOF": 4, + } +) + +func (x PoetServicesResponse_Identity_Status) Enum() *PoetServicesResponse_Identity_Status { + p := new(PoetServicesResponse_Identity_Status) + *p = x + return p +} + +func (x PoetServicesResponse_Identity_Status) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (PoetServicesResponse_Identity_Status) Descriptor() protoreflect.EnumDescriptor { + return file_spacemesh_v2alpha1_node_identities_proto_enumTypes[0].Descriptor() +} + +func (PoetServicesResponse_Identity_Status) Type() protoreflect.EnumType { + return &file_spacemesh_v2alpha1_node_identities_proto_enumTypes[0] +} + +func (x PoetServicesResponse_Identity_Status) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use PoetServicesResponse_Identity_Status.Descriptor instead. +func (PoetServicesResponse_Identity_Status) EnumDescriptor() ([]byte, []int) { + return file_spacemesh_v2alpha1_node_identities_proto_rawDescGZIP(), []int{1, 0, 0} +} + +type PoetServicesResponse_Identity_PoetInfo_RegistrationStatus int32 + +const ( + PoetServicesResponse_Identity_PoetInfo_STATUS_UNSPECIFIED PoetServicesResponse_Identity_PoetInfo_RegistrationStatus = 0 + PoetServicesResponse_Identity_PoetInfo_STATUS_SUCCESS_REG PoetServicesResponse_Identity_PoetInfo_RegistrationStatus = 1 + PoetServicesResponse_Identity_PoetInfo_STATUS_FAILED_REG PoetServicesResponse_Identity_PoetInfo_RegistrationStatus = 2 + PoetServicesResponse_Identity_PoetInfo_STATUS_RESIDUAL_REG PoetServicesResponse_Identity_PoetInfo_RegistrationStatus = 3 + PoetServicesResponse_Identity_PoetInfo_STATUS_NO_REG PoetServicesResponse_Identity_PoetInfo_RegistrationStatus = 4 +) + +// Enum value maps for PoetServicesResponse_Identity_PoetInfo_RegistrationStatus. +var ( + PoetServicesResponse_Identity_PoetInfo_RegistrationStatus_name = map[int32]string{ + 0: "STATUS_UNSPECIFIED", + 1: "STATUS_SUCCESS_REG", + 2: "STATUS_FAILED_REG", + 3: "STATUS_RESIDUAL_REG", + 4: "STATUS_NO_REG", + } + PoetServicesResponse_Identity_PoetInfo_RegistrationStatus_value = map[string]int32{ + "STATUS_UNSPECIFIED": 0, + "STATUS_SUCCESS_REG": 1, + "STATUS_FAILED_REG": 2, + "STATUS_RESIDUAL_REG": 3, + "STATUS_NO_REG": 4, + } +) + +func (x PoetServicesResponse_Identity_PoetInfo_RegistrationStatus) Enum() *PoetServicesResponse_Identity_PoetInfo_RegistrationStatus { + p := new(PoetServicesResponse_Identity_PoetInfo_RegistrationStatus) + *p = x + return p +} + +func (x PoetServicesResponse_Identity_PoetInfo_RegistrationStatus) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (PoetServicesResponse_Identity_PoetInfo_RegistrationStatus) Descriptor() protoreflect.EnumDescriptor { + return file_spacemesh_v2alpha1_node_identities_proto_enumTypes[1].Descriptor() +} + +func (PoetServicesResponse_Identity_PoetInfo_RegistrationStatus) Type() protoreflect.EnumType { + return &file_spacemesh_v2alpha1_node_identities_proto_enumTypes[1] +} + +func (x PoetServicesResponse_Identity_PoetInfo_RegistrationStatus) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use PoetServicesResponse_Identity_PoetInfo_RegistrationStatus.Descriptor instead. +func (PoetServicesResponse_Identity_PoetInfo_RegistrationStatus) EnumDescriptor() ([]byte, []int) { + return file_spacemesh_v2alpha1_node_identities_proto_rawDescGZIP(), []int{1, 0, 0, 0} +} + +type PoetServicesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SmesherIdHex string `protobuf:"bytes,1,opt,name=smesher_id_hex,json=smesherIdHex,proto3" json:"smesher_id_hex,omitempty"` +} + +func (x *PoetServicesRequest) Reset() { + *x = PoetServicesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_v2alpha1_node_identities_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PoetServicesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PoetServicesRequest) ProtoMessage() {} + +func (x *PoetServicesRequest) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_v2alpha1_node_identities_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PoetServicesRequest.ProtoReflect.Descriptor instead. +func (*PoetServicesRequest) Descriptor() ([]byte, []int) { + return file_spacemesh_v2alpha1_node_identities_proto_rawDescGZIP(), []int{0} +} + +func (x *PoetServicesRequest) GetSmesherIdHex() string { + if x != nil { + return x.SmesherIdHex + } + return "" +} + +type PoetServicesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Identities []*PoetServicesResponse_Identity `protobuf:"bytes,3,rep,name=identities,proto3" json:"identities,omitempty"` +} + +func (x *PoetServicesResponse) Reset() { + *x = PoetServicesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_v2alpha1_node_identities_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PoetServicesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PoetServicesResponse) ProtoMessage() {} + +func (x *PoetServicesResponse) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_v2alpha1_node_identities_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PoetServicesResponse.ProtoReflect.Descriptor instead. +func (*PoetServicesResponse) Descriptor() ([]byte, []int) { + return file_spacemesh_v2alpha1_node_identities_proto_rawDescGZIP(), []int{1} +} + +func (x *PoetServicesResponse) GetIdentities() []*PoetServicesResponse_Identity { + if x != nil { + return x.Identities + } + return nil +} + +type PoetServicesResponse_Identity struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SmesherIdHex string `protobuf:"bytes,1,opt,name=smesher_id_hex,json=smesherIdHex,proto3" json:"smesher_id_hex,omitempty"` + PoetInfos []*PoetServicesResponse_Identity_PoetInfo `protobuf:"bytes,2,rep,name=poet_infos,json=poetInfos,proto3" json:"poet_infos,omitempty"` +} + +func (x *PoetServicesResponse_Identity) Reset() { + *x = PoetServicesResponse_Identity{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_v2alpha1_node_identities_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PoetServicesResponse_Identity) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PoetServicesResponse_Identity) ProtoMessage() {} + +func (x *PoetServicesResponse_Identity) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_v2alpha1_node_identities_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PoetServicesResponse_Identity.ProtoReflect.Descriptor instead. +func (*PoetServicesResponse_Identity) Descriptor() ([]byte, []int) { + return file_spacemesh_v2alpha1_node_identities_proto_rawDescGZIP(), []int{1, 0} +} + +func (x *PoetServicesResponse_Identity) GetSmesherIdHex() string { + if x != nil { + return x.SmesherIdHex + } + return "" +} + +func (x *PoetServicesResponse_Identity) GetPoetInfos() []*PoetServicesResponse_Identity_PoetInfo { + if x != nil { + return x.PoetInfos + } + return nil +} + +type PoetServicesResponse_Identity_PoetInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` + PoetRoundEnd *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=poet_round_end,json=poetRoundEnd,proto3" json:"poet_round_end,omitempty"` + RegistrationStatus PoetServicesResponse_Identity_PoetInfo_RegistrationStatus `protobuf:"varint,3,opt,name=registration_status,json=registrationStatus,proto3,enum=spacemesh.v2alpha1.PoetServicesResponse_Identity_PoetInfo_RegistrationStatus" json:"registration_status,omitempty"` + Warning string `protobuf:"bytes,4,opt,name=warning,proto3" json:"warning,omitempty"` +} + +func (x *PoetServicesResponse_Identity_PoetInfo) Reset() { + *x = PoetServicesResponse_Identity_PoetInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_v2alpha1_node_identities_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PoetServicesResponse_Identity_PoetInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PoetServicesResponse_Identity_PoetInfo) ProtoMessage() {} + +func (x *PoetServicesResponse_Identity_PoetInfo) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_v2alpha1_node_identities_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PoetServicesResponse_Identity_PoetInfo.ProtoReflect.Descriptor instead. +func (*PoetServicesResponse_Identity_PoetInfo) Descriptor() ([]byte, []int) { + return file_spacemesh_v2alpha1_node_identities_proto_rawDescGZIP(), []int{1, 0, 0} +} + +func (x *PoetServicesResponse_Identity_PoetInfo) GetUrl() string { + if x != nil { + return x.Url + } + return "" +} + +func (x *PoetServicesResponse_Identity_PoetInfo) GetPoetRoundEnd() *timestamppb.Timestamp { + if x != nil { + return x.PoetRoundEnd + } + return nil +} + +func (x *PoetServicesResponse_Identity_PoetInfo) GetRegistrationStatus() PoetServicesResponse_Identity_PoetInfo_RegistrationStatus { + if x != nil { + return x.RegistrationStatus + } + return PoetServicesResponse_Identity_PoetInfo_STATUS_UNSPECIFIED +} + +func (x *PoetServicesResponse_Identity_PoetInfo) GetWarning() string { + if x != nil { + return x.Warning + } + return "" +} + +var File_spacemesh_v2alpha1_node_identities_proto protoreflect.FileDescriptor + +var file_spacemesh_v2alpha1_node_identities_proto_rawDesc = []byte{ + 0x0a, 0x28, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, 0x32, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x69, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, 0x1b, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x69, 0x73, 0x69, 0x62, + 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, + 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3b, 0x0a, 0x13, 0x50, 0x6f, + 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x24, 0x0a, 0x0e, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x5f, + 0x68, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x6d, 0x65, 0x73, 0x68, + 0x65, 0x72, 0x49, 0x64, 0x48, 0x65, 0x78, 0x22, 0x99, 0x06, 0x0a, 0x14, 0x50, 0x6f, 0x65, 0x74, + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x51, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x03, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, + 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x53, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x69, 0x65, 0x73, 0x1a, 0xad, 0x05, 0x0a, 0x08, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x12, 0x24, 0x0a, 0x0e, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x5f, 0x68, + 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, + 0x72, 0x49, 0x64, 0x48, 0x65, 0x78, 0x12, 0x59, 0x0a, 0x0a, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x69, + 0x6e, 0x66, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, + 0x50, 0x6f, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x50, 0x6f, + 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x70, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, + 0x73, 0x1a, 0x82, 0x03, 0x0a, 0x08, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x10, + 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, + 0x12, 0x40, 0x0a, 0x0e, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x65, + 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, + 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, 0x70, 0x6f, 0x65, 0x74, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x45, + 0x6e, 0x64, 0x12, 0x7e, 0x0a, 0x13, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x4d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x52, 0x65, 0x67, 0x69, + 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x12, + 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x77, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x07, 0x77, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x22, 0x87, 0x01, 0x0a, + 0x12, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x12, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, + 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x53, + 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x53, 0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x5f, 0x52, 0x45, + 0x47, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x46, 0x41, + 0x49, 0x4c, 0x45, 0x44, 0x5f, 0x52, 0x45, 0x47, 0x10, 0x02, 0x12, 0x17, 0x0a, 0x13, 0x53, 0x54, + 0x41, 0x54, 0x55, 0x53, 0x5f, 0x52, 0x45, 0x53, 0x49, 0x44, 0x55, 0x41, 0x4c, 0x5f, 0x52, 0x45, + 0x47, 0x10, 0x03, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x4e, 0x4f, + 0x5f, 0x52, 0x45, 0x47, 0x10, 0x04, 0x22, 0x9a, 0x01, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x12, 0x16, 0x0a, 0x12, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, + 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, + 0x54, 0x55, 0x53, 0x5f, 0x49, 0x53, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x49, 0x4e, 0x47, 0x10, 0x01, + 0x12, 0x20, 0x0a, 0x1c, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54, + 0x49, 0x4e, 0x47, 0x5f, 0x49, 0x4e, 0x49, 0x54, 0x49, 0x41, 0x4c, 0x5f, 0x50, 0x4f, 0x53, 0x54, + 0x10, 0x02, 0x12, 0x1f, 0x0a, 0x1b, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x53, 0x55, 0x42, + 0x4d, 0x49, 0x54, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x43, 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, 0x47, + 0x45, 0x10, 0x03, 0x12, 0x1e, 0x0a, 0x1a, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x43, 0x52, + 0x45, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, + 0x46, 0x10, 0x04, 0x32, 0xbb, 0x01, 0x0a, 0x19, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, + 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x12, 0x91, 0x01, 0x0a, 0x0c, 0x50, 0x6f, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x73, 0x12, 0x27, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, + 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x3a, 0x01, 0x2a, + 0x22, 0x23, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x69, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2f, 0x70, 0x6f, 0x65, 0x74, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x73, 0x1a, 0x0a, 0xfa, 0xd2, 0xe4, 0x93, 0x02, 0x04, 0x12, 0x02, 0x56, + 0x32, 0x42, 0xe2, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, + 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x13, 0x4e, 0x6f, + 0x64, 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, + 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, + 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, + 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, + 0x68, 0x2e, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x12, 0x53, 0x70, 0x61, + 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, + 0x02, 0x1e, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0xea, 0x02, 0x13, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x3a, 0x3a, 0x56, 0x32, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_spacemesh_v2alpha1_node_identities_proto_rawDescOnce sync.Once + file_spacemesh_v2alpha1_node_identities_proto_rawDescData = file_spacemesh_v2alpha1_node_identities_proto_rawDesc +) + +func file_spacemesh_v2alpha1_node_identities_proto_rawDescGZIP() []byte { + file_spacemesh_v2alpha1_node_identities_proto_rawDescOnce.Do(func() { + file_spacemesh_v2alpha1_node_identities_proto_rawDescData = protoimpl.X.CompressGZIP(file_spacemesh_v2alpha1_node_identities_proto_rawDescData) + }) + return file_spacemesh_v2alpha1_node_identities_proto_rawDescData +} + +var file_spacemesh_v2alpha1_node_identities_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_spacemesh_v2alpha1_node_identities_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_spacemesh_v2alpha1_node_identities_proto_goTypes = []interface{}{ + (PoetServicesResponse_Identity_Status)(0), // 0: spacemesh.v2alpha1.PoetServicesResponse.Identity.Status + (PoetServicesResponse_Identity_PoetInfo_RegistrationStatus)(0), // 1: spacemesh.v2alpha1.PoetServicesResponse.Identity.PoetInfo.RegistrationStatus + (*PoetServicesRequest)(nil), // 2: spacemesh.v2alpha1.PoetServicesRequest + (*PoetServicesResponse)(nil), // 3: spacemesh.v2alpha1.PoetServicesResponse + (*PoetServicesResponse_Identity)(nil), // 4: spacemesh.v2alpha1.PoetServicesResponse.Identity + (*PoetServicesResponse_Identity_PoetInfo)(nil), // 5: spacemesh.v2alpha1.PoetServicesResponse.Identity.PoetInfo + (*timestamppb.Timestamp)(nil), // 6: google.protobuf.Timestamp +} +var file_spacemesh_v2alpha1_node_identities_proto_depIdxs = []int32{ + 4, // 0: spacemesh.v2alpha1.PoetServicesResponse.identities:type_name -> spacemesh.v2alpha1.PoetServicesResponse.Identity + 5, // 1: spacemesh.v2alpha1.PoetServicesResponse.Identity.poet_infos:type_name -> spacemesh.v2alpha1.PoetServicesResponse.Identity.PoetInfo + 6, // 2: spacemesh.v2alpha1.PoetServicesResponse.Identity.PoetInfo.poet_round_end:type_name -> google.protobuf.Timestamp + 1, // 3: spacemesh.v2alpha1.PoetServicesResponse.Identity.PoetInfo.registration_status:type_name -> spacemesh.v2alpha1.PoetServicesResponse.Identity.PoetInfo.RegistrationStatus + 2, // 4: spacemesh.v2alpha1.SmeshingIdentitiesService.PoetServices:input_type -> spacemesh.v2alpha1.PoetServicesRequest + 3, // 5: spacemesh.v2alpha1.SmeshingIdentitiesService.PoetServices:output_type -> spacemesh.v2alpha1.PoetServicesResponse + 5, // [5:6] is the sub-list for method output_type + 4, // [4:5] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_spacemesh_v2alpha1_node_identities_proto_init() } +func file_spacemesh_v2alpha1_node_identities_proto_init() { + if File_spacemesh_v2alpha1_node_identities_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_spacemesh_v2alpha1_node_identities_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PoetServicesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_v2alpha1_node_identities_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PoetServicesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_v2alpha1_node_identities_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PoetServicesResponse_Identity); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_v2alpha1_node_identities_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PoetServicesResponse_Identity_PoetInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_spacemesh_v2alpha1_node_identities_proto_rawDesc, + NumEnums: 2, + NumMessages: 4, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_spacemesh_v2alpha1_node_identities_proto_goTypes, + DependencyIndexes: file_spacemesh_v2alpha1_node_identities_proto_depIdxs, + EnumInfos: file_spacemesh_v2alpha1_node_identities_proto_enumTypes, + MessageInfos: file_spacemesh_v2alpha1_node_identities_proto_msgTypes, + }.Build() + File_spacemesh_v2alpha1_node_identities_proto = out.File + file_spacemesh_v2alpha1_node_identities_proto_rawDesc = nil + file_spacemesh_v2alpha1_node_identities_proto_goTypes = nil + file_spacemesh_v2alpha1_node_identities_proto_depIdxs = nil +} diff --git a/release/go/spacemesh/v2alpha1/node_identities.pb.gw.go b/release/go/spacemesh/v2alpha1/node_identities.pb.gw.go new file mode 100644 index 00000000..f1592334 --- /dev/null +++ b/release/go/spacemesh/v2alpha1/node_identities.pb.gw.go @@ -0,0 +1,163 @@ +// Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. +// source: spacemesh/v2alpha1/node_identities.proto + +/* +Package spacemeshv2alpha1 is a reverse proxy. + +It translates gRPC into RESTful JSON APIs. +*/ +package spacemeshv2alpha1 + +import ( + "context" + "io" + "net/http" + + "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" + "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" + "google.golang.org/grpc" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/grpclog" + "google.golang.org/grpc/metadata" + "google.golang.org/grpc/status" + "google.golang.org/protobuf/proto" +) + +// Suppress "imported and not used" errors +var _ codes.Code +var _ io.Reader +var _ status.Status +var _ = runtime.String +var _ = utilities.NewDoubleArray +var _ = metadata.Join + +func request_SmeshingIdentitiesService_PoetServices_0(ctx context.Context, marshaler runtime.Marshaler, client SmeshingIdentitiesServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq PoetServicesRequest + var metadata runtime.ServerMetadata + + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.PoetServices(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_SmeshingIdentitiesService_PoetServices_0(ctx context.Context, marshaler runtime.Marshaler, server SmeshingIdentitiesServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq PoetServicesRequest + var metadata runtime.ServerMetadata + + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.PoetServices(ctx, &protoReq) + return msg, metadata, err + +} + +// RegisterSmeshingIdentitiesServiceHandlerServer registers the http handlers for service SmeshingIdentitiesService to "mux". +// UnaryRPC :call SmeshingIdentitiesServiceServer directly. +// StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. +// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterSmeshingIdentitiesServiceHandlerFromEndpoint instead. +func RegisterSmeshingIdentitiesServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SmeshingIdentitiesServiceServer) error { + + mux.Handle("POST", pattern_SmeshingIdentitiesService_PoetServices_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/spacemesh.v2alpha1.SmeshingIdentitiesService/PoetServices", runtime.WithHTTPPathPattern("/v2/smeshingidentities/poetservices")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_SmeshingIdentitiesService_PoetServices_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_SmeshingIdentitiesService_PoetServices_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + return nil +} + +// RegisterSmeshingIdentitiesServiceHandlerFromEndpoint is same as RegisterSmeshingIdentitiesServiceHandler but +// automatically dials to "endpoint" and closes the connection when "ctx" gets done. +func RegisterSmeshingIdentitiesServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { + conn, err := grpc.DialContext(ctx, endpoint, opts...) + if err != nil { + return err + } + defer func() { + if err != nil { + if cerr := conn.Close(); cerr != nil { + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + } + return + } + go func() { + <-ctx.Done() + if cerr := conn.Close(); cerr != nil { + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + } + }() + }() + + return RegisterSmeshingIdentitiesServiceHandler(ctx, mux, conn) +} + +// RegisterSmeshingIdentitiesServiceHandler registers the http handlers for service SmeshingIdentitiesService to "mux". +// The handlers forward requests to the grpc endpoint over "conn". +func RegisterSmeshingIdentitiesServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { + return RegisterSmeshingIdentitiesServiceHandlerClient(ctx, mux, NewSmeshingIdentitiesServiceClient(conn)) +} + +// RegisterSmeshingIdentitiesServiceHandlerClient registers the http handlers for service SmeshingIdentitiesService +// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "SmeshingIdentitiesServiceClient". +// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "SmeshingIdentitiesServiceClient" +// doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in +// "SmeshingIdentitiesServiceClient" to call the correct interceptors. +func RegisterSmeshingIdentitiesServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SmeshingIdentitiesServiceClient) error { + + mux.Handle("POST", pattern_SmeshingIdentitiesService_PoetServices_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/spacemesh.v2alpha1.SmeshingIdentitiesService/PoetServices", runtime.WithHTTPPathPattern("/v2/smeshingidentities/poetservices")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_SmeshingIdentitiesService_PoetServices_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_SmeshingIdentitiesService_PoetServices_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + return nil +} + +var ( + pattern_SmeshingIdentitiesService_PoetServices_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"v2", "smeshingidentities", "poetservices"}, "")) +) + +var ( + forward_SmeshingIdentitiesService_PoetServices_0 = runtime.ForwardResponseMessage +) diff --git a/release/go/spacemesh/v2alpha1/node_identities_grpc.pb.go b/release/go/spacemesh/v2alpha1/node_identities_grpc.pb.go new file mode 100644 index 00000000..8547f1da --- /dev/null +++ b/release/go/spacemesh/v2alpha1/node_identities_grpc.pb.go @@ -0,0 +1,111 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.3.0 +// - protoc (unknown) +// source: spacemesh/v2alpha1/node_identities.proto + +package spacemeshv2alpha1 + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +const ( + SmeshingIdentitiesService_PoetServices_FullMethodName = "/spacemesh.v2alpha1.SmeshingIdentitiesService/PoetServices" +) + +// SmeshingIdentitiesServiceClient is the client API for SmeshingIdentitiesService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type SmeshingIdentitiesServiceClient interface { + // Returns set of configured poet addresses and poets addresses from registrations, if given, + // and warning in case, if there are registrations with poets, which are not in configured poets set. + PoetServices(ctx context.Context, in *PoetServicesRequest, opts ...grpc.CallOption) (*PoetServicesResponse, error) +} + +type smeshingIdentitiesServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewSmeshingIdentitiesServiceClient(cc grpc.ClientConnInterface) SmeshingIdentitiesServiceClient { + return &smeshingIdentitiesServiceClient{cc} +} + +func (c *smeshingIdentitiesServiceClient) PoetServices(ctx context.Context, in *PoetServicesRequest, opts ...grpc.CallOption) (*PoetServicesResponse, error) { + out := new(PoetServicesResponse) + err := c.cc.Invoke(ctx, SmeshingIdentitiesService_PoetServices_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// SmeshingIdentitiesServiceServer is the server API for SmeshingIdentitiesService service. +// All implementations should embed UnimplementedSmeshingIdentitiesServiceServer +// for forward compatibility +type SmeshingIdentitiesServiceServer interface { + // Returns set of configured poet addresses and poets addresses from registrations, if given, + // and warning in case, if there are registrations with poets, which are not in configured poets set. + PoetServices(context.Context, *PoetServicesRequest) (*PoetServicesResponse, error) +} + +// UnimplementedSmeshingIdentitiesServiceServer should be embedded to have forward compatible implementations. +type UnimplementedSmeshingIdentitiesServiceServer struct { +} + +func (UnimplementedSmeshingIdentitiesServiceServer) PoetServices(context.Context, *PoetServicesRequest) (*PoetServicesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method PoetServices not implemented") +} + +// UnsafeSmeshingIdentitiesServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to SmeshingIdentitiesServiceServer will +// result in compilation errors. +type UnsafeSmeshingIdentitiesServiceServer interface { + mustEmbedUnimplementedSmeshingIdentitiesServiceServer() +} + +func RegisterSmeshingIdentitiesServiceServer(s grpc.ServiceRegistrar, srv SmeshingIdentitiesServiceServer) { + s.RegisterService(&SmeshingIdentitiesService_ServiceDesc, srv) +} + +func _SmeshingIdentitiesService_PoetServices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(PoetServicesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(SmeshingIdentitiesServiceServer).PoetServices(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: SmeshingIdentitiesService_PoetServices_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(SmeshingIdentitiesServiceServer).PoetServices(ctx, req.(*PoetServicesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// SmeshingIdentitiesService_ServiceDesc is the grpc.ServiceDesc for SmeshingIdentitiesService service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var SmeshingIdentitiesService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "spacemesh.v2alpha1.SmeshingIdentitiesService", + HandlerType: (*SmeshingIdentitiesServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "PoetServices", + Handler: _SmeshingIdentitiesService_PoetServices_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "spacemesh/v2alpha1/node_identities.proto", +} diff --git a/release/openapi/swagger/src/api.swagger.json b/release/openapi/swagger/src/api.swagger.json index 3c3290d0..2004c3a1 100644 --- a/release/openapi/swagger/src/api.swagger.json +++ b/release/openapi/swagger/src/api.swagger.json @@ -406,9 +406,60 @@ } } } + }, + "/v2/smeshingidentities/poetservices": { + "post": { + "tags": [ + "SmeshingIdentitiesService" + ], + "summary": "Returns set of configured poet addresses and poets addresses from registrations, if given,\nand warning in case, if there are registrations with poets, which are not in configured poets set.", + "operationId": "SmeshingIdentitiesService_PoetServices", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v2alpha1PoetServicesRequest" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/v2alpha1PoetServicesResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + } + } } }, "definitions": { + "IdentityPoetInfo": { + "type": "object", + "properties": { + "poetRoundEnd": { + "type": "string", + "format": "date-time" + }, + "registrationStatus": { + "$ref": "#/definitions/PoetInfoRegistrationStatus" + }, + "url": { + "type": "string" + }, + "warning": { + "type": "string" + } + } + }, "MalfeasanceProofMalfeasanceDomain": { "type": "string", "title": "- DOMAIN_UNSPECIFIED: for legacy proofs", @@ -427,6 +478,32 @@ "SYNC_STATUS_SYNCED" ] }, + "PoetInfoRegistrationStatus": { + "type": "string", + "default": "STATUS_UNSPECIFIED", + "enum": [ + "STATUS_UNSPECIFIED", + "STATUS_SUCCESS_REG", + "STATUS_FAILED_REG", + "STATUS_RESIDUAL_REG", + "STATUS_NO_REG" + ] + }, + "PoetServicesResponseIdentity": { + "type": "object", + "properties": { + "poetInfos": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/IdentityPoetInfo" + } + }, + "smesherIdHex": { + "type": "string" + } + } + }, "TransactionTransactionType": { "type": "string", "default": "TRANSACTION_TYPE_UNSPECIFIED", @@ -1174,6 +1251,26 @@ } } }, + "v2alpha1PoetServicesRequest": { + "type": "object", + "properties": { + "smesherIdHex": { + "type": "string" + } + } + }, + "v2alpha1PoetServicesResponse": { + "type": "object", + "properties": { + "identities": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/PoetServicesResponseIdentity" + } + } + } + }, "v2alpha1RewardList": { "type": "object", "properties": { @@ -1349,6 +1446,9 @@ { "name": "NodeService" }, + { + "name": "SmeshingIdentitiesService" + }, { "name": "RewardService" } diff --git a/spacemesh/v1/smesher.proto b/spacemesh/v1/smesher.proto index 5f44550c..3fd5e18a 100644 --- a/spacemesh/v1/smesher.proto +++ b/spacemesh/v1/smesher.proto @@ -117,12 +117,4 @@ service SmesherService { body: "*" }; } - - // Returns set of known and configured poet services. In case of mismatch, returns also warning. - rpc PoetServices (PoetServicesRequest) returns (PoetServicesResponse){ - option (google.api.http) = { - post: "/v1/smesher/poetservices" - body: "*" - }; - } } diff --git a/spacemesh/v1/smesher_types.proto b/spacemesh/v1/smesher_types.proto index 05577ab8..729b2bea 100644 --- a/spacemesh/v1/smesher_types.proto +++ b/spacemesh/v1/smesher_types.proto @@ -134,13 +134,3 @@ message PostSetupStatus { uint64 num_labels_written = 2; // Number of labels (hashes) written to the data files PostSetupOpts opts = 3; // setup options previously set by the user } - -message PoetServicesRequest { - SmesherId id = 1; -} - -message PoetServicesResponse { - string warning = 1; - repeated string known_poets = 2; - repeated string configured_poets = 3; -} \ No newline at end of file diff --git a/spacemesh/v2alpha1/node_identities.proto b/spacemesh/v2alpha1/node_identities.proto new file mode 100644 index 00000000..84b1c9b4 --- /dev/null +++ b/spacemesh/v2alpha1/node_identities.proto @@ -0,0 +1,56 @@ +syntax = "proto3"; + +import "google/api/visibility.proto"; +import "google/api/annotations.proto"; +import "google/protobuf/timestamp.proto"; + +package spacemesh.v2alpha1; + +message PoetServicesRequest { + string smesher_id_hex = 1; +} + + +message PoetServicesResponse { + message Identity { + enum Status { + STATUS_UNSPECIFIED = 0; + STATUS_IS_SYNCING = 1; + STATUS_CREATING_INITIAL_POST = 2; + STATUS_SUBMITTING_CHALLENGE = 3; + STATUS_CREATING_POST_PROOF = 4; + } + + message PoetInfo { + enum RegistrationStatus { + STATUS_UNSPECIFIED = 0; + STATUS_SUCCESS_REG = 1; + STATUS_FAILED_REG = 2; + STATUS_RESIDUAL_REG = 3; + STATUS_NO_REG = 4; + } + + string url = 1; + google.protobuf.Timestamp poet_round_end = 2; + RegistrationStatus registration_status = 3; + string warning = 4; + } + + string smesher_id_hex = 1; + repeated PoetInfo poet_infos = 2; + } + repeated Identity identities = 3; +} + +service SmeshingIdentitiesService { + option (google.api.api_visibility).restriction = "V2"; + + // Returns set of configured poet addresses and poets addresses from registrations, if given, + // and warning in case, if there are registrations with poets, which are not in configured poets set. + rpc PoetServices (PoetServicesRequest) returns (PoetServicesResponse){ + option (google.api.http) = { + post: "/v2/smeshingidentities/poetservices" + body: "*" + }; + } +} \ No newline at end of file From a0a98d231990947ef949e61d895a49926ae9147b Mon Sep 17 00:00:00 2001 From: 0xBECEDA Date: Sun, 18 Aug 2024 17:59:25 +0200 Subject: [PATCH 03/41] fix naming --- release/openapi/swagger/src/api.swagger.json | 46 ++++++++++++-------- spacemesh/v2alpha1/node_identities.proto | 38 ++++++++-------- 2 files changed, 47 insertions(+), 37 deletions(-) diff --git a/release/openapi/swagger/src/api.swagger.json b/release/openapi/swagger/src/api.swagger.json index 2004c3a1..68599f83 100644 --- a/release/openapi/swagger/src/api.swagger.json +++ b/release/openapi/swagger/src/api.swagger.json @@ -450,7 +450,7 @@ "format": "date-time" }, "registrationStatus": { - "$ref": "#/definitions/PoetInfoRegistrationStatus" + "$ref": "#/definitions/v2alpha1RegistrationStatus" }, "url": { "type": "string" @@ -478,17 +478,6 @@ "SYNC_STATUS_SYNCED" ] }, - "PoetInfoRegistrationStatus": { - "type": "string", - "default": "STATUS_UNSPECIFIED", - "enum": [ - "STATUS_UNSPECIFIED", - "STATUS_SUCCESS_REG", - "STATUS_FAILED_REG", - "STATUS_RESIDUAL_REG", - "STATUS_NO_REG" - ] - }, "PoetServicesResponseIdentity": { "type": "object", "properties": { @@ -501,6 +490,9 @@ }, "smesherIdHex": { "type": "string" + }, + "status": { + "$ref": "#/definitions/v2alpha1IdentityStatus" } } }, @@ -1161,6 +1153,18 @@ } } }, + "v2alpha1IdentityStatus": { + "type": "string", + "default": "STATUS_UNSPECIFIED", + "enum": [ + "STATUS_UNSPECIFIED", + "STATUS_IS_SYNCING", + "STATUS_WAIT_FOR_POET_ROUND_START", + "STATUS_WAIT_FOR_POET_ROUND_END", + "STATUS_FETCHING_PROOFS", + "STATUS_POST_PROVING" + ] + }, "v2alpha1LayerList": { "type": "object", "properties": { @@ -1252,12 +1256,7 @@ } }, "v2alpha1PoetServicesRequest": { - "type": "object", - "properties": { - "smesherIdHex": { - "type": "string" - } - } + "type": "object" }, "v2alpha1PoetServicesResponse": { "type": "object", @@ -1271,6 +1270,17 @@ } } }, + "v2alpha1RegistrationStatus": { + "type": "string", + "default": "STATUS_UNKNOWN", + "enum": [ + "STATUS_UNKNOWN", + "STATUS_SUCCESS_REG", + "STATUS_FAILED_REG", + "STATUS_RESIDUAL_REG", + "STATUS_NO_REG" + ] + }, "v2alpha1RewardList": { "type": "object", "properties": { diff --git a/spacemesh/v2alpha1/node_identities.proto b/spacemesh/v2alpha1/node_identities.proto index 84b1c9b4..87821ff4 100644 --- a/spacemesh/v2alpha1/node_identities.proto +++ b/spacemesh/v2alpha1/node_identities.proto @@ -6,30 +6,29 @@ import "google/protobuf/timestamp.proto"; package spacemesh.v2alpha1; -message PoetServicesRequest { - string smesher_id_hex = 1; +message PoetServicesRequest {} + +enum IdentityStatus { + STATUS_UNSPECIFIED = 0; + STATUS_IS_SYNCING = 1; + STATUS_WAIT_FOR_POET_ROUND_START = 2; + STATUS_WAIT_FOR_POET_ROUND_END = 3; + STATUS_FETCHING_PROOFS = 4; + STATUS_POST_PROVING = 5; } +enum RegistrationStatus { + STATUS_UNKNOWN = 0; + STATUS_SUCCESS_REG = 1; + STATUS_FAILED_REG = 2; + STATUS_RESIDUAL_REG = 3; + STATUS_NO_REG = 4; +} + message PoetServicesResponse { message Identity { - enum Status { - STATUS_UNSPECIFIED = 0; - STATUS_IS_SYNCING = 1; - STATUS_CREATING_INITIAL_POST = 2; - STATUS_SUBMITTING_CHALLENGE = 3; - STATUS_CREATING_POST_PROOF = 4; - } - message PoetInfo { - enum RegistrationStatus { - STATUS_UNSPECIFIED = 0; - STATUS_SUCCESS_REG = 1; - STATUS_FAILED_REG = 2; - STATUS_RESIDUAL_REG = 3; - STATUS_NO_REG = 4; - } - string url = 1; google.protobuf.Timestamp poet_round_end = 2; RegistrationStatus registration_status = 3; @@ -37,7 +36,8 @@ message PoetServicesResponse { } string smesher_id_hex = 1; - repeated PoetInfo poet_infos = 2; + IdentityStatus status = 2; + repeated PoetInfo poet_infos = 3; } repeated Identity identities = 3; } From e0a8d7623ed6fc7a03b7ba67575ce4b7d91011d4 Mon Sep 17 00:00:00 2001 From: 0xBECEDA Date: Mon, 19 Aug 2024 12:51:24 +0200 Subject: [PATCH 04/41] fix file naming --- .../v2alpha1/{node_identities.proto => smeshing_identities.proto} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename spacemesh/v2alpha1/{node_identities.proto => smeshing_identities.proto} (100%) diff --git a/spacemesh/v2alpha1/node_identities.proto b/spacemesh/v2alpha1/smeshing_identities.proto similarity index 100% rename from spacemesh/v2alpha1/node_identities.proto rename to spacemesh/v2alpha1/smeshing_identities.proto From a24774fb4169c4da9c667afd616671981e03c021 Mon Sep 17 00:00:00 2001 From: ConvallariaMaj Date: Mon, 19 Aug 2024 13:01:27 +0200 Subject: [PATCH 05/41] pb files --- .../v2alpha1/smeshing_identities.pb.go | 567 ++++++++++++++++++ .../v2alpha1/smeshing_identities.pb.gw.go | 163 +++++ .../v2alpha1/smeshing_identities_grpc.pb.go | 111 ++++ release/openapi/swagger/src/api.swagger.json | 4 +- 4 files changed, 843 insertions(+), 2 deletions(-) create mode 100644 release/go/spacemesh/v2alpha1/smeshing_identities.pb.go create mode 100644 release/go/spacemesh/v2alpha1/smeshing_identities.pb.gw.go create mode 100644 release/go/spacemesh/v2alpha1/smeshing_identities_grpc.pb.go diff --git a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go new file mode 100644 index 00000000..401cc509 --- /dev/null +++ b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go @@ -0,0 +1,567 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.33.0 +// protoc (unknown) +// source: spacemesh/v2alpha1/smeshing_identities.proto + +package spacemeshv2alpha1 + +import ( + _ "google.golang.org/genproto/googleapis/api/annotations" + _ "google.golang.org/genproto/googleapis/api/visibility" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type IdentityStatus int32 + +const ( + IdentityStatus_STATUS_UNSPECIFIED IdentityStatus = 0 + IdentityStatus_STATUS_IS_SYNCING IdentityStatus = 1 + IdentityStatus_STATUS_WAIT_FOR_POET_ROUND_START IdentityStatus = 2 + IdentityStatus_STATUS_WAIT_FOR_POET_ROUND_END IdentityStatus = 3 + IdentityStatus_STATUS_FETCHING_PROOFS IdentityStatus = 4 + IdentityStatus_STATUS_POST_PROVING IdentityStatus = 5 +) + +// Enum value maps for IdentityStatus. +var ( + IdentityStatus_name = map[int32]string{ + 0: "STATUS_UNSPECIFIED", + 1: "STATUS_IS_SYNCING", + 2: "STATUS_WAIT_FOR_POET_ROUND_START", + 3: "STATUS_WAIT_FOR_POET_ROUND_END", + 4: "STATUS_FETCHING_PROOFS", + 5: "STATUS_POST_PROVING", + } + IdentityStatus_value = map[string]int32{ + "STATUS_UNSPECIFIED": 0, + "STATUS_IS_SYNCING": 1, + "STATUS_WAIT_FOR_POET_ROUND_START": 2, + "STATUS_WAIT_FOR_POET_ROUND_END": 3, + "STATUS_FETCHING_PROOFS": 4, + "STATUS_POST_PROVING": 5, + } +) + +func (x IdentityStatus) Enum() *IdentityStatus { + p := new(IdentityStatus) + *p = x + return p +} + +func (x IdentityStatus) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (IdentityStatus) Descriptor() protoreflect.EnumDescriptor { + return file_spacemesh_v2alpha1_smeshing_identities_proto_enumTypes[0].Descriptor() +} + +func (IdentityStatus) Type() protoreflect.EnumType { + return &file_spacemesh_v2alpha1_smeshing_identities_proto_enumTypes[0] +} + +func (x IdentityStatus) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use IdentityStatus.Descriptor instead. +func (IdentityStatus) EnumDescriptor() ([]byte, []int) { + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{0} +} + +type RegistrationStatus int32 + +const ( + RegistrationStatus_STATUS_UNKNOWN RegistrationStatus = 0 + RegistrationStatus_STATUS_SUCCESS_REG RegistrationStatus = 1 + RegistrationStatus_STATUS_FAILED_REG RegistrationStatus = 2 + RegistrationStatus_STATUS_RESIDUAL_REG RegistrationStatus = 3 + RegistrationStatus_STATUS_NO_REG RegistrationStatus = 4 +) + +// Enum value maps for RegistrationStatus. +var ( + RegistrationStatus_name = map[int32]string{ + 0: "STATUS_UNKNOWN", + 1: "STATUS_SUCCESS_REG", + 2: "STATUS_FAILED_REG", + 3: "STATUS_RESIDUAL_REG", + 4: "STATUS_NO_REG", + } + RegistrationStatus_value = map[string]int32{ + "STATUS_UNKNOWN": 0, + "STATUS_SUCCESS_REG": 1, + "STATUS_FAILED_REG": 2, + "STATUS_RESIDUAL_REG": 3, + "STATUS_NO_REG": 4, + } +) + +func (x RegistrationStatus) Enum() *RegistrationStatus { + p := new(RegistrationStatus) + *p = x + return p +} + +func (x RegistrationStatus) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (RegistrationStatus) Descriptor() protoreflect.EnumDescriptor { + return file_spacemesh_v2alpha1_smeshing_identities_proto_enumTypes[1].Descriptor() +} + +func (RegistrationStatus) Type() protoreflect.EnumType { + return &file_spacemesh_v2alpha1_smeshing_identities_proto_enumTypes[1] +} + +func (x RegistrationStatus) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use RegistrationStatus.Descriptor instead. +func (RegistrationStatus) EnumDescriptor() ([]byte, []int) { + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{1} +} + +type PoetServicesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *PoetServicesRequest) Reset() { + *x = PoetServicesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PoetServicesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PoetServicesRequest) ProtoMessage() {} + +func (x *PoetServicesRequest) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PoetServicesRequest.ProtoReflect.Descriptor instead. +func (*PoetServicesRequest) Descriptor() ([]byte, []int) { + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{0} +} + +type PoetServicesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Identities []*PoetServicesResponse_Identity `protobuf:"bytes,3,rep,name=identities,proto3" json:"identities,omitempty"` +} + +func (x *PoetServicesResponse) Reset() { + *x = PoetServicesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PoetServicesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PoetServicesResponse) ProtoMessage() {} + +func (x *PoetServicesResponse) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PoetServicesResponse.ProtoReflect.Descriptor instead. +func (*PoetServicesResponse) Descriptor() ([]byte, []int) { + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{1} +} + +func (x *PoetServicesResponse) GetIdentities() []*PoetServicesResponse_Identity { + if x != nil { + return x.Identities + } + return nil +} + +type PoetServicesResponse_Identity struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SmesherIdHex string `protobuf:"bytes,1,opt,name=smesher_id_hex,json=smesherIdHex,proto3" json:"smesher_id_hex,omitempty"` + Status IdentityStatus `protobuf:"varint,2,opt,name=status,proto3,enum=spacemesh.v2alpha1.IdentityStatus" json:"status,omitempty"` + PoetInfos []*PoetServicesResponse_Identity_PoetInfo `protobuf:"bytes,3,rep,name=poet_infos,json=poetInfos,proto3" json:"poet_infos,omitempty"` +} + +func (x *PoetServicesResponse_Identity) Reset() { + *x = PoetServicesResponse_Identity{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PoetServicesResponse_Identity) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PoetServicesResponse_Identity) ProtoMessage() {} + +func (x *PoetServicesResponse_Identity) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PoetServicesResponse_Identity.ProtoReflect.Descriptor instead. +func (*PoetServicesResponse_Identity) Descriptor() ([]byte, []int) { + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{1, 0} +} + +func (x *PoetServicesResponse_Identity) GetSmesherIdHex() string { + if x != nil { + return x.SmesherIdHex + } + return "" +} + +func (x *PoetServicesResponse_Identity) GetStatus() IdentityStatus { + if x != nil { + return x.Status + } + return IdentityStatus_STATUS_UNSPECIFIED +} + +func (x *PoetServicesResponse_Identity) GetPoetInfos() []*PoetServicesResponse_Identity_PoetInfo { + if x != nil { + return x.PoetInfos + } + return nil +} + +type PoetServicesResponse_Identity_PoetInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` + PoetRoundEnd *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=poet_round_end,json=poetRoundEnd,proto3" json:"poet_round_end,omitempty"` + RegistrationStatus RegistrationStatus `protobuf:"varint,3,opt,name=registration_status,json=registrationStatus,proto3,enum=spacemesh.v2alpha1.RegistrationStatus" json:"registration_status,omitempty"` + Warning string `protobuf:"bytes,4,opt,name=warning,proto3" json:"warning,omitempty"` +} + +func (x *PoetServicesResponse_Identity_PoetInfo) Reset() { + *x = PoetServicesResponse_Identity_PoetInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PoetServicesResponse_Identity_PoetInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PoetServicesResponse_Identity_PoetInfo) ProtoMessage() {} + +func (x *PoetServicesResponse_Identity_PoetInfo) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PoetServicesResponse_Identity_PoetInfo.ProtoReflect.Descriptor instead. +func (*PoetServicesResponse_Identity_PoetInfo) Descriptor() ([]byte, []int) { + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{1, 0, 0} +} + +func (x *PoetServicesResponse_Identity_PoetInfo) GetUrl() string { + if x != nil { + return x.Url + } + return "" +} + +func (x *PoetServicesResponse_Identity_PoetInfo) GetPoetRoundEnd() *timestamppb.Timestamp { + if x != nil { + return x.PoetRoundEnd + } + return nil +} + +func (x *PoetServicesResponse_Identity_PoetInfo) GetRegistrationStatus() RegistrationStatus { + if x != nil { + return x.RegistrationStatus + } + return RegistrationStatus_STATUS_UNKNOWN +} + +func (x *PoetServicesResponse_Identity_PoetInfo) GetWarning() string { + if x != nil { + return x.Warning + } + return "" +} + +var File_spacemesh_v2alpha1_smeshing_identities_proto protoreflect.FileDescriptor + +var file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc = []byte{ + 0x0a, 0x2c, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, 0x32, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2f, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, + 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, + 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, + 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x15, + 0x0a, 0x13, 0x50, 0x6f, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x87, 0x04, 0x0a, 0x14, 0x50, 0x6f, 0x65, 0x74, 0x53, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x51, + 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, + 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x49, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, + 0x73, 0x1a, 0x9b, 0x03, 0x0a, 0x08, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x24, + 0x0a, 0x0e, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x5f, 0x68, 0x65, 0x78, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x49, + 0x64, 0x48, 0x65, 0x78, 0x12, 0x3a, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, + 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x12, 0x59, 0x0a, 0x0a, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x73, 0x18, 0x03, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, + 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x53, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x09, 0x70, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x1a, 0xd1, 0x01, 0x0a, 0x08, + 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x40, 0x0a, 0x0e, 0x70, 0x6f, + 0x65, 0x74, 0x5f, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x65, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, + 0x70, 0x6f, 0x65, 0x74, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x45, 0x6e, 0x64, 0x12, 0x57, 0x0a, 0x13, + 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, + 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x52, 0x12, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x77, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x77, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x2a, + 0xbe, 0x01, 0x0a, 0x0e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x12, 0x16, 0x0a, 0x12, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53, + 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, + 0x41, 0x54, 0x55, 0x53, 0x5f, 0x49, 0x53, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x49, 0x4e, 0x47, 0x10, + 0x01, 0x12, 0x24, 0x0a, 0x20, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x57, 0x41, 0x49, 0x54, + 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x55, 0x4e, 0x44, 0x5f, + 0x53, 0x54, 0x41, 0x52, 0x54, 0x10, 0x02, 0x12, 0x22, 0x0a, 0x1e, 0x53, 0x54, 0x41, 0x54, 0x55, + 0x53, 0x5f, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, + 0x52, 0x4f, 0x55, 0x4e, 0x44, 0x5f, 0x45, 0x4e, 0x44, 0x10, 0x03, 0x12, 0x1a, 0x0a, 0x16, 0x53, + 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x46, 0x45, 0x54, 0x43, 0x48, 0x49, 0x4e, 0x47, 0x5f, 0x50, + 0x52, 0x4f, 0x4f, 0x46, 0x53, 0x10, 0x04, 0x12, 0x17, 0x0a, 0x13, 0x53, 0x54, 0x41, 0x54, 0x55, + 0x53, 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x56, 0x49, 0x4e, 0x47, 0x10, 0x05, + 0x2a, 0x83, 0x01, 0x0a, 0x12, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x54, 0x41, 0x54, 0x55, + 0x53, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x53, + 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x53, 0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x5f, 0x52, 0x45, + 0x47, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x46, 0x41, + 0x49, 0x4c, 0x45, 0x44, 0x5f, 0x52, 0x45, 0x47, 0x10, 0x02, 0x12, 0x17, 0x0a, 0x13, 0x53, 0x54, + 0x41, 0x54, 0x55, 0x53, 0x5f, 0x52, 0x45, 0x53, 0x49, 0x44, 0x55, 0x41, 0x4c, 0x5f, 0x52, 0x45, + 0x47, 0x10, 0x03, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x4e, 0x4f, + 0x5f, 0x52, 0x45, 0x47, 0x10, 0x04, 0x32, 0xbb, 0x01, 0x0a, 0x19, 0x53, 0x6d, 0x65, 0x73, 0x68, + 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x12, 0x91, 0x01, 0x0a, 0x0c, 0x50, 0x6f, 0x65, 0x74, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x27, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, + 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x53, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, + 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, + 0x3a, 0x01, 0x2a, 0x22, 0x23, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, + 0x67, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2f, 0x70, 0x6f, 0x65, 0x74, + 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x1a, 0x0a, 0xfa, 0xd2, 0xe4, 0x93, 0x02, 0x04, + 0x12, 0x02, 0x56, 0x32, 0x42, 0xe6, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, + 0x17, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x69, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, + 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2f, 0x67, + 0x6f, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, 0x32, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x3b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x76, 0x32, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, 0x02, 0x12, 0x53, + 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0xca, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x1e, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, + 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x13, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, + 0x65, 0x73, 0x68, 0x3a, 0x3a, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescOnce sync.Once + file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescData = file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc +) + +func file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP() []byte { + file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescOnce.Do(func() { + file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescData = protoimpl.X.CompressGZIP(file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescData) + }) + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescData +} + +var file_spacemesh_v2alpha1_smeshing_identities_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_spacemesh_v2alpha1_smeshing_identities_proto_goTypes = []interface{}{ + (IdentityStatus)(0), // 0: spacemesh.v2alpha1.IdentityStatus + (RegistrationStatus)(0), // 1: spacemesh.v2alpha1.RegistrationStatus + (*PoetServicesRequest)(nil), // 2: spacemesh.v2alpha1.PoetServicesRequest + (*PoetServicesResponse)(nil), // 3: spacemesh.v2alpha1.PoetServicesResponse + (*PoetServicesResponse_Identity)(nil), // 4: spacemesh.v2alpha1.PoetServicesResponse.Identity + (*PoetServicesResponse_Identity_PoetInfo)(nil), // 5: spacemesh.v2alpha1.PoetServicesResponse.Identity.PoetInfo + (*timestamppb.Timestamp)(nil), // 6: google.protobuf.Timestamp +} +var file_spacemesh_v2alpha1_smeshing_identities_proto_depIdxs = []int32{ + 4, // 0: spacemesh.v2alpha1.PoetServicesResponse.identities:type_name -> spacemesh.v2alpha1.PoetServicesResponse.Identity + 0, // 1: spacemesh.v2alpha1.PoetServicesResponse.Identity.status:type_name -> spacemesh.v2alpha1.IdentityStatus + 5, // 2: spacemesh.v2alpha1.PoetServicesResponse.Identity.poet_infos:type_name -> spacemesh.v2alpha1.PoetServicesResponse.Identity.PoetInfo + 6, // 3: spacemesh.v2alpha1.PoetServicesResponse.Identity.PoetInfo.poet_round_end:type_name -> google.protobuf.Timestamp + 1, // 4: spacemesh.v2alpha1.PoetServicesResponse.Identity.PoetInfo.registration_status:type_name -> spacemesh.v2alpha1.RegistrationStatus + 2, // 5: spacemesh.v2alpha1.SmeshingIdentitiesService.PoetServices:input_type -> spacemesh.v2alpha1.PoetServicesRequest + 3, // 6: spacemesh.v2alpha1.SmeshingIdentitiesService.PoetServices:output_type -> spacemesh.v2alpha1.PoetServicesResponse + 6, // [6:7] is the sub-list for method output_type + 5, // [5:6] is the sub-list for method input_type + 5, // [5:5] is the sub-list for extension type_name + 5, // [5:5] is the sub-list for extension extendee + 0, // [0:5] is the sub-list for field type_name +} + +func init() { file_spacemesh_v2alpha1_smeshing_identities_proto_init() } +func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { + if File_spacemesh_v2alpha1_smeshing_identities_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PoetServicesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PoetServicesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PoetServicesResponse_Identity); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PoetServicesResponse_Identity_PoetInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc, + NumEnums: 2, + NumMessages: 4, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_spacemesh_v2alpha1_smeshing_identities_proto_goTypes, + DependencyIndexes: file_spacemesh_v2alpha1_smeshing_identities_proto_depIdxs, + EnumInfos: file_spacemesh_v2alpha1_smeshing_identities_proto_enumTypes, + MessageInfos: file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes, + }.Build() + File_spacemesh_v2alpha1_smeshing_identities_proto = out.File + file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc = nil + file_spacemesh_v2alpha1_smeshing_identities_proto_goTypes = nil + file_spacemesh_v2alpha1_smeshing_identities_proto_depIdxs = nil +} diff --git a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.gw.go b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.gw.go new file mode 100644 index 00000000..fef199e4 --- /dev/null +++ b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.gw.go @@ -0,0 +1,163 @@ +// Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. +// source: spacemesh/v2alpha1/smeshing_identities.proto + +/* +Package spacemeshv2alpha1 is a reverse proxy. + +It translates gRPC into RESTful JSON APIs. +*/ +package spacemeshv2alpha1 + +import ( + "context" + "io" + "net/http" + + "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" + "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" + "google.golang.org/grpc" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/grpclog" + "google.golang.org/grpc/metadata" + "google.golang.org/grpc/status" + "google.golang.org/protobuf/proto" +) + +// Suppress "imported and not used" errors +var _ codes.Code +var _ io.Reader +var _ status.Status +var _ = runtime.String +var _ = utilities.NewDoubleArray +var _ = metadata.Join + +func request_SmeshingIdentitiesService_PoetServices_0(ctx context.Context, marshaler runtime.Marshaler, client SmeshingIdentitiesServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq PoetServicesRequest + var metadata runtime.ServerMetadata + + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.PoetServices(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_SmeshingIdentitiesService_PoetServices_0(ctx context.Context, marshaler runtime.Marshaler, server SmeshingIdentitiesServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq PoetServicesRequest + var metadata runtime.ServerMetadata + + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.PoetServices(ctx, &protoReq) + return msg, metadata, err + +} + +// RegisterSmeshingIdentitiesServiceHandlerServer registers the http handlers for service SmeshingIdentitiesService to "mux". +// UnaryRPC :call SmeshingIdentitiesServiceServer directly. +// StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. +// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterSmeshingIdentitiesServiceHandlerFromEndpoint instead. +func RegisterSmeshingIdentitiesServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SmeshingIdentitiesServiceServer) error { + + mux.Handle("POST", pattern_SmeshingIdentitiesService_PoetServices_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/spacemesh.v2alpha1.SmeshingIdentitiesService/PoetServices", runtime.WithHTTPPathPattern("/v2/smeshingidentities/poetservices")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_SmeshingIdentitiesService_PoetServices_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_SmeshingIdentitiesService_PoetServices_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + return nil +} + +// RegisterSmeshingIdentitiesServiceHandlerFromEndpoint is same as RegisterSmeshingIdentitiesServiceHandler but +// automatically dials to "endpoint" and closes the connection when "ctx" gets done. +func RegisterSmeshingIdentitiesServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { + conn, err := grpc.DialContext(ctx, endpoint, opts...) + if err != nil { + return err + } + defer func() { + if err != nil { + if cerr := conn.Close(); cerr != nil { + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + } + return + } + go func() { + <-ctx.Done() + if cerr := conn.Close(); cerr != nil { + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + } + }() + }() + + return RegisterSmeshingIdentitiesServiceHandler(ctx, mux, conn) +} + +// RegisterSmeshingIdentitiesServiceHandler registers the http handlers for service SmeshingIdentitiesService to "mux". +// The handlers forward requests to the grpc endpoint over "conn". +func RegisterSmeshingIdentitiesServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { + return RegisterSmeshingIdentitiesServiceHandlerClient(ctx, mux, NewSmeshingIdentitiesServiceClient(conn)) +} + +// RegisterSmeshingIdentitiesServiceHandlerClient registers the http handlers for service SmeshingIdentitiesService +// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "SmeshingIdentitiesServiceClient". +// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "SmeshingIdentitiesServiceClient" +// doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in +// "SmeshingIdentitiesServiceClient" to call the correct interceptors. +func RegisterSmeshingIdentitiesServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SmeshingIdentitiesServiceClient) error { + + mux.Handle("POST", pattern_SmeshingIdentitiesService_PoetServices_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/spacemesh.v2alpha1.SmeshingIdentitiesService/PoetServices", runtime.WithHTTPPathPattern("/v2/smeshingidentities/poetservices")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_SmeshingIdentitiesService_PoetServices_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_SmeshingIdentitiesService_PoetServices_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + return nil +} + +var ( + pattern_SmeshingIdentitiesService_PoetServices_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"v2", "smeshingidentities", "poetservices"}, "")) +) + +var ( + forward_SmeshingIdentitiesService_PoetServices_0 = runtime.ForwardResponseMessage +) diff --git a/release/go/spacemesh/v2alpha1/smeshing_identities_grpc.pb.go b/release/go/spacemesh/v2alpha1/smeshing_identities_grpc.pb.go new file mode 100644 index 00000000..848d2ea0 --- /dev/null +++ b/release/go/spacemesh/v2alpha1/smeshing_identities_grpc.pb.go @@ -0,0 +1,111 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.3.0 +// - protoc (unknown) +// source: spacemesh/v2alpha1/smeshing_identities.proto + +package spacemeshv2alpha1 + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +const ( + SmeshingIdentitiesService_PoetServices_FullMethodName = "/spacemesh.v2alpha1.SmeshingIdentitiesService/PoetServices" +) + +// SmeshingIdentitiesServiceClient is the client API for SmeshingIdentitiesService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type SmeshingIdentitiesServiceClient interface { + // Returns set of configured poet addresses and poets addresses from registrations, if given, + // and warning in case, if there are registrations with poets, which are not in configured poets set. + PoetServices(ctx context.Context, in *PoetServicesRequest, opts ...grpc.CallOption) (*PoetServicesResponse, error) +} + +type smeshingIdentitiesServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewSmeshingIdentitiesServiceClient(cc grpc.ClientConnInterface) SmeshingIdentitiesServiceClient { + return &smeshingIdentitiesServiceClient{cc} +} + +func (c *smeshingIdentitiesServiceClient) PoetServices(ctx context.Context, in *PoetServicesRequest, opts ...grpc.CallOption) (*PoetServicesResponse, error) { + out := new(PoetServicesResponse) + err := c.cc.Invoke(ctx, SmeshingIdentitiesService_PoetServices_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// SmeshingIdentitiesServiceServer is the server API for SmeshingIdentitiesService service. +// All implementations should embed UnimplementedSmeshingIdentitiesServiceServer +// for forward compatibility +type SmeshingIdentitiesServiceServer interface { + // Returns set of configured poet addresses and poets addresses from registrations, if given, + // and warning in case, if there are registrations with poets, which are not in configured poets set. + PoetServices(context.Context, *PoetServicesRequest) (*PoetServicesResponse, error) +} + +// UnimplementedSmeshingIdentitiesServiceServer should be embedded to have forward compatible implementations. +type UnimplementedSmeshingIdentitiesServiceServer struct { +} + +func (UnimplementedSmeshingIdentitiesServiceServer) PoetServices(context.Context, *PoetServicesRequest) (*PoetServicesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method PoetServices not implemented") +} + +// UnsafeSmeshingIdentitiesServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to SmeshingIdentitiesServiceServer will +// result in compilation errors. +type UnsafeSmeshingIdentitiesServiceServer interface { + mustEmbedUnimplementedSmeshingIdentitiesServiceServer() +} + +func RegisterSmeshingIdentitiesServiceServer(s grpc.ServiceRegistrar, srv SmeshingIdentitiesServiceServer) { + s.RegisterService(&SmeshingIdentitiesService_ServiceDesc, srv) +} + +func _SmeshingIdentitiesService_PoetServices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(PoetServicesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(SmeshingIdentitiesServiceServer).PoetServices(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: SmeshingIdentitiesService_PoetServices_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(SmeshingIdentitiesServiceServer).PoetServices(ctx, req.(*PoetServicesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// SmeshingIdentitiesService_ServiceDesc is the grpc.ServiceDesc for SmeshingIdentitiesService service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var SmeshingIdentitiesService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "spacemesh.v2alpha1.SmeshingIdentitiesService", + HandlerType: (*SmeshingIdentitiesServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "PoetServices", + Handler: _SmeshingIdentitiesService_PoetServices_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "spacemesh/v2alpha1/smeshing_identities.proto", +} diff --git a/release/openapi/swagger/src/api.swagger.json b/release/openapi/swagger/src/api.swagger.json index 68599f83..e1f2b606 100644 --- a/release/openapi/swagger/src/api.swagger.json +++ b/release/openapi/swagger/src/api.swagger.json @@ -1457,10 +1457,10 @@ "name": "NodeService" }, { - "name": "SmeshingIdentitiesService" + "name": "RewardService" }, { - "name": "RewardService" + "name": "SmeshingIdentitiesService" } ] } \ No newline at end of file From 9207092dca3fcad1c6cef63247c4e34543757301 Mon Sep 17 00:00:00 2001 From: ConvallariaMaj Date: Mon, 19 Aug 2024 22:31:35 +0200 Subject: [PATCH 06/41] fix review issues --- .../v2alpha1/smeshing_identities.pb.go | 224 +++++++++--------- .../v2alpha1/smeshing_identities.pb.gw.go | 6 +- release/openapi/swagger/src/api.swagger.json | 77 +++--- spacemesh/v2alpha1/smeshing_identities.proto | 31 +-- 4 files changed, 163 insertions(+), 175 deletions(-) diff --git a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go index 401cc509..dd26b8a5 100644 --- a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go +++ b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go @@ -26,31 +26,31 @@ const ( type IdentityStatus int32 const ( - IdentityStatus_STATUS_UNSPECIFIED IdentityStatus = 0 - IdentityStatus_STATUS_IS_SYNCING IdentityStatus = 1 - IdentityStatus_STATUS_WAIT_FOR_POET_ROUND_START IdentityStatus = 2 - IdentityStatus_STATUS_WAIT_FOR_POET_ROUND_END IdentityStatus = 3 - IdentityStatus_STATUS_FETCHING_PROOFS IdentityStatus = 4 - IdentityStatus_STATUS_POST_PROVING IdentityStatus = 5 + IdentityStatus_UNSPECIFIED IdentityStatus = 0 + IdentityStatus_IS_SYNCING IdentityStatus = 1 + IdentityStatus_WAIT_FOR_POET_ROUND_START IdentityStatus = 2 + IdentityStatus_WAIT_FOR_POET_ROUND_END IdentityStatus = 3 + IdentityStatus_FETCHING_PROOFS IdentityStatus = 4 + IdentityStatus_POST_PROVING IdentityStatus = 5 ) // Enum value maps for IdentityStatus. var ( IdentityStatus_name = map[int32]string{ - 0: "STATUS_UNSPECIFIED", - 1: "STATUS_IS_SYNCING", - 2: "STATUS_WAIT_FOR_POET_ROUND_START", - 3: "STATUS_WAIT_FOR_POET_ROUND_END", - 4: "STATUS_FETCHING_PROOFS", - 5: "STATUS_POST_PROVING", + 0: "UNSPECIFIED", + 1: "IS_SYNCING", + 2: "WAIT_FOR_POET_ROUND_START", + 3: "WAIT_FOR_POET_ROUND_END", + 4: "FETCHING_PROOFS", + 5: "POST_PROVING", } IdentityStatus_value = map[string]int32{ - "STATUS_UNSPECIFIED": 0, - "STATUS_IS_SYNCING": 1, - "STATUS_WAIT_FOR_POET_ROUND_START": 2, - "STATUS_WAIT_FOR_POET_ROUND_END": 3, - "STATUS_FETCHING_PROOFS": 4, - "STATUS_POST_PROVING": 5, + "UNSPECIFIED": 0, + "IS_SYNCING": 1, + "WAIT_FOR_POET_ROUND_START": 2, + "WAIT_FOR_POET_ROUND_END": 3, + "FETCHING_PROOFS": 4, + "POST_PROVING": 5, } ) @@ -84,28 +84,28 @@ func (IdentityStatus) EnumDescriptor() ([]byte, []int) { type RegistrationStatus int32 const ( - RegistrationStatus_STATUS_UNKNOWN RegistrationStatus = 0 - RegistrationStatus_STATUS_SUCCESS_REG RegistrationStatus = 1 - RegistrationStatus_STATUS_FAILED_REG RegistrationStatus = 2 - RegistrationStatus_STATUS_RESIDUAL_REG RegistrationStatus = 3 - RegistrationStatus_STATUS_NO_REG RegistrationStatus = 4 + RegistrationStatus_UNKNOWN RegistrationStatus = 0 + RegistrationStatus_SUCCESS_REG RegistrationStatus = 1 + RegistrationStatus_FAILED_REG RegistrationStatus = 2 + RegistrationStatus_RESIDUAL_REG RegistrationStatus = 3 + RegistrationStatus_NO_REG RegistrationStatus = 4 ) // Enum value maps for RegistrationStatus. var ( RegistrationStatus_name = map[int32]string{ - 0: "STATUS_UNKNOWN", - 1: "STATUS_SUCCESS_REG", - 2: "STATUS_FAILED_REG", - 3: "STATUS_RESIDUAL_REG", - 4: "STATUS_NO_REG", + 0: "UNKNOWN", + 1: "SUCCESS_REG", + 2: "FAILED_REG", + 3: "RESIDUAL_REG", + 4: "NO_REG", } RegistrationStatus_value = map[string]int32{ - "STATUS_UNKNOWN": 0, - "STATUS_SUCCESS_REG": 1, - "STATUS_FAILED_REG": 2, - "STATUS_RESIDUAL_REG": 3, - "STATUS_NO_REG": 4, + "UNKNOWN": 0, + "SUCCESS_REG": 1, + "FAILED_REG": 2, + "RESIDUAL_REG": 3, + "NO_REG": 4, } ) @@ -226,9 +226,9 @@ type PoetServicesResponse_Identity struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - SmesherIdHex string `protobuf:"bytes,1,opt,name=smesher_id_hex,json=smesherIdHex,proto3" json:"smesher_id_hex,omitempty"` - Status IdentityStatus `protobuf:"varint,2,opt,name=status,proto3,enum=spacemesh.v2alpha1.IdentityStatus" json:"status,omitempty"` - PoetInfos []*PoetServicesResponse_Identity_PoetInfo `protobuf:"bytes,3,rep,name=poet_infos,json=poetInfos,proto3" json:"poet_infos,omitempty"` + SmesherId []byte `protobuf:"bytes,1,opt,name=smesher_id,json=smesherId,proto3" json:"smesher_id,omitempty"` + Status IdentityStatus `protobuf:"varint,2,opt,name=status,proto3,enum=spacemesh.v2alpha1.IdentityStatus" json:"status,omitempty"` + PoetInfos []*PoetServicesResponse_Identity_PoetInfo `protobuf:"bytes,3,rep,name=poet_infos,json=poetInfos,proto3" json:"poet_infos,omitempty"` } func (x *PoetServicesResponse_Identity) Reset() { @@ -263,18 +263,18 @@ func (*PoetServicesResponse_Identity) Descriptor() ([]byte, []int) { return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{1, 0} } -func (x *PoetServicesResponse_Identity) GetSmesherIdHex() string { +func (x *PoetServicesResponse_Identity) GetSmesherId() []byte { if x != nil { - return x.SmesherIdHex + return x.SmesherId } - return "" + return nil } func (x *PoetServicesResponse_Identity) GetStatus() IdentityStatus { if x != nil { return x.Status } - return IdentityStatus_STATUS_UNSPECIFIED + return IdentityStatus_UNSPECIFIED } func (x *PoetServicesResponse_Identity) GetPoetInfos() []*PoetServicesResponse_Identity_PoetInfo { @@ -345,7 +345,7 @@ func (x *PoetServicesResponse_Identity_PoetInfo) GetRegistrationStatus() Registr if x != nil { return x.RegistrationStatus } - return RegistrationStatus_STATUS_UNKNOWN + return RegistrationStatus_UNKNOWN } func (x *PoetServicesResponse_Identity_PoetInfo) GetWarning() string { @@ -369,87 +369,79 @@ var file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc = []byte{ 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x15, 0x0a, 0x13, 0x50, 0x6f, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x87, 0x04, 0x0a, 0x14, 0x50, 0x6f, 0x65, 0x74, 0x53, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x80, 0x04, 0x0a, 0x14, 0x50, 0x6f, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x51, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, - 0x73, 0x1a, 0x9b, 0x03, 0x0a, 0x08, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x24, - 0x0a, 0x0e, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x5f, 0x68, 0x65, 0x78, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x49, - 0x64, 0x48, 0x65, 0x78, 0x12, 0x3a, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, - 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, - 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x12, 0x59, 0x0a, 0x0a, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x73, 0x18, 0x03, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, - 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x53, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x49, - 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, - 0x52, 0x09, 0x70, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x1a, 0xd1, 0x01, 0x0a, 0x08, - 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x40, 0x0a, 0x0e, 0x70, 0x6f, - 0x65, 0x74, 0x5f, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x65, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, - 0x70, 0x6f, 0x65, 0x74, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x45, 0x6e, 0x64, 0x12, 0x57, 0x0a, 0x13, - 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x52, 0x12, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x77, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x77, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x2a, - 0xbe, 0x01, 0x0a, 0x0e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, - 0x75, 0x73, 0x12, 0x16, 0x0a, 0x12, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53, - 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, - 0x41, 0x54, 0x55, 0x53, 0x5f, 0x49, 0x53, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x49, 0x4e, 0x47, 0x10, - 0x01, 0x12, 0x24, 0x0a, 0x20, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x57, 0x41, 0x49, 0x54, - 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x55, 0x4e, 0x44, 0x5f, - 0x53, 0x54, 0x41, 0x52, 0x54, 0x10, 0x02, 0x12, 0x22, 0x0a, 0x1e, 0x53, 0x54, 0x41, 0x54, 0x55, - 0x53, 0x5f, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, - 0x52, 0x4f, 0x55, 0x4e, 0x44, 0x5f, 0x45, 0x4e, 0x44, 0x10, 0x03, 0x12, 0x1a, 0x0a, 0x16, 0x53, - 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x46, 0x45, 0x54, 0x43, 0x48, 0x49, 0x4e, 0x47, 0x5f, 0x50, - 0x52, 0x4f, 0x4f, 0x46, 0x53, 0x10, 0x04, 0x12, 0x17, 0x0a, 0x13, 0x53, 0x54, 0x41, 0x54, 0x55, - 0x53, 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x56, 0x49, 0x4e, 0x47, 0x10, 0x05, - 0x2a, 0x83, 0x01, 0x0a, 0x12, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x54, 0x41, 0x54, 0x55, - 0x53, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x53, - 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x53, 0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x5f, 0x52, 0x45, - 0x47, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x46, 0x41, - 0x49, 0x4c, 0x45, 0x44, 0x5f, 0x52, 0x45, 0x47, 0x10, 0x02, 0x12, 0x17, 0x0a, 0x13, 0x53, 0x54, - 0x41, 0x54, 0x55, 0x53, 0x5f, 0x52, 0x45, 0x53, 0x49, 0x44, 0x55, 0x41, 0x4c, 0x5f, 0x52, 0x45, - 0x47, 0x10, 0x03, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x4e, 0x4f, - 0x5f, 0x52, 0x45, 0x47, 0x10, 0x04, 0x32, 0xbb, 0x01, 0x0a, 0x19, 0x53, 0x6d, 0x65, 0x73, 0x68, - 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x12, 0x91, 0x01, 0x0a, 0x0c, 0x50, 0x6f, 0x65, 0x74, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x27, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, - 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, - 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, - 0x3a, 0x01, 0x2a, 0x22, 0x23, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, - 0x67, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2f, 0x70, 0x6f, 0x65, 0x74, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x1a, 0x0a, 0xfa, 0xd2, 0xe4, 0x93, 0x02, 0x04, - 0x12, 0x02, 0x56, 0x32, 0x42, 0xe6, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, - 0x17, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, - 0x69, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, - 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, - 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2f, 0x67, - 0x6f, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, 0x32, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x3b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x76, 0x32, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, 0x02, 0x12, 0x53, - 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0xca, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x1e, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, - 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x13, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, - 0x65, 0x73, 0x68, 0x3a, 0x3a, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x73, 0x1a, 0x94, 0x03, 0x0a, 0x08, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x1d, + 0x0a, 0x0a, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x09, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x49, 0x64, 0x12, 0x3a, 0x0a, + 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x59, 0x0a, 0x0a, 0x70, 0x6f, 0x65, + 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x70, 0x6f, 0x65, 0x74, 0x49, + 0x6e, 0x66, 0x6f, 0x73, 0x1a, 0xd1, 0x01, 0x0a, 0x08, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, + 0x75, 0x72, 0x6c, 0x12, 0x40, 0x0a, 0x0e, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x72, 0x6f, 0x75, 0x6e, + 0x64, 0x5f, 0x65, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, + 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, 0x70, 0x6f, 0x65, 0x74, 0x52, 0x6f, 0x75, + 0x6e, 0x64, 0x45, 0x6e, 0x64, 0x12, 0x57, 0x0a, 0x13, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, + 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x12, 0x72, 0x65, 0x67, 0x69, + 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x18, + 0x0a, 0x07, 0x77, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x77, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x2a, 0x94, 0x01, 0x0a, 0x0e, 0x49, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0f, 0x0a, 0x0b, 0x55, + 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, + 0x49, 0x53, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x1d, 0x0a, 0x19, + 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x4f, + 0x55, 0x4e, 0x44, 0x5f, 0x53, 0x54, 0x41, 0x52, 0x54, 0x10, 0x02, 0x12, 0x1b, 0x0a, 0x17, 0x57, + 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x55, + 0x4e, 0x44, 0x5f, 0x45, 0x4e, 0x44, 0x10, 0x03, 0x12, 0x13, 0x0a, 0x0f, 0x46, 0x45, 0x54, 0x43, + 0x48, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x53, 0x10, 0x04, 0x12, 0x10, 0x0a, + 0x0c, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x56, 0x49, 0x4e, 0x47, 0x10, 0x05, 0x2a, + 0x60, 0x0a, 0x12, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, + 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x53, 0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x5f, 0x52, 0x45, + 0x47, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x5f, 0x52, 0x45, + 0x47, 0x10, 0x02, 0x12, 0x10, 0x0a, 0x0c, 0x52, 0x45, 0x53, 0x49, 0x44, 0x55, 0x41, 0x4c, 0x5f, + 0x52, 0x45, 0x47, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x4e, 0x4f, 0x5f, 0x52, 0x45, 0x47, 0x10, + 0x04, 0x32, 0x8c, 0x01, 0x0a, 0x19, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, + 0x63, 0x0a, 0x0c, 0x50, 0x6f, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, + 0x27, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, + 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x1a, 0x0a, 0xfa, 0xd2, 0xe4, 0x93, 0x02, 0x04, 0x12, 0x02, 0x56, 0x32, + 0x42, 0xe6, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, + 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x17, 0x53, 0x6d, 0x65, + 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x50, + 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, + 0x6f, 0x6d, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, + 0x70, 0x69, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x3b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, + 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x12, + 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0xe2, 0x02, 0x1e, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, + 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0xea, 0x02, 0x13, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x3a, + 0x3a, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, } var ( diff --git a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.gw.go b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.gw.go index fef199e4..e09df335 100644 --- a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.gw.go +++ b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.gw.go @@ -71,7 +71,7 @@ func RegisterSmeshingIdentitiesServiceHandlerServer(ctx context.Context, mux *ru inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) var err error var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/spacemesh.v2alpha1.SmeshingIdentitiesService/PoetServices", runtime.WithHTTPPathPattern("/v2/smeshingidentities/poetservices")) + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/spacemesh.v2alpha1.SmeshingIdentitiesService/PoetServices", runtime.WithHTTPPathPattern("/spacemesh.v2alpha1.SmeshingIdentitiesService/PoetServices")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -135,7 +135,7 @@ func RegisterSmeshingIdentitiesServiceHandlerClient(ctx context.Context, mux *ru inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) var err error var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/spacemesh.v2alpha1.SmeshingIdentitiesService/PoetServices", runtime.WithHTTPPathPattern("/v2/smeshingidentities/poetservices")) + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/spacemesh.v2alpha1.SmeshingIdentitiesService/PoetServices", runtime.WithHTTPPathPattern("/spacemesh.v2alpha1.SmeshingIdentitiesService/PoetServices")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return @@ -155,7 +155,7 @@ func RegisterSmeshingIdentitiesServiceHandlerClient(ctx context.Context, mux *ru } var ( - pattern_SmeshingIdentitiesService_PoetServices_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"v2", "smeshingidentities", "poetservices"}, "")) + pattern_SmeshingIdentitiesService_PoetServices_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"spacemesh.v2alpha1.SmeshingIdentitiesService", "PoetServices"}, "")) ) var ( diff --git a/release/openapi/swagger/src/api.swagger.json b/release/openapi/swagger/src/api.swagger.json index e1f2b606..9ca8f00e 100644 --- a/release/openapi/swagger/src/api.swagger.json +++ b/release/openapi/swagger/src/api.swagger.json @@ -279,19 +279,20 @@ } } }, - "/spacemesh.v2alpha1.TransactionService/EstimateGas": { + "/spacemesh.v2alpha1.SmeshingIdentitiesService/PoetServices": { "post": { "tags": [ - "TransactionService" + "SmeshingIdentitiesService" ], - "operationId": "TransactionService_EstimateGas", + "summary": "Returns set of configured poet addresses and poets addresses from registrations, if given,\nand warning in case, if there are registrations with poets, which are not in configured poets set.", + "operationId": "SmeshingIdentitiesService_PoetServices", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v2alpha1EstimateGasRequest" + "$ref": "#/definitions/v2alpha1PoetServicesRequest" } } ], @@ -299,7 +300,7 @@ "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v2alpha1EstimateGasResponse" + "$ref": "#/definitions/v2alpha1PoetServicesResponse" } }, "default": { @@ -311,19 +312,19 @@ } } }, - "/spacemesh.v2alpha1.TransactionService/List": { + "/spacemesh.v2alpha1.TransactionService/EstimateGas": { "post": { "tags": [ "TransactionService" ], - "operationId": "TransactionService_List", + "operationId": "TransactionService_EstimateGas", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v2alpha1TransactionRequest" + "$ref": "#/definitions/v2alpha1EstimateGasRequest" } } ], @@ -331,7 +332,7 @@ "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v2alpha1TransactionList" + "$ref": "#/definitions/v2alpha1EstimateGasResponse" } }, "default": { @@ -343,19 +344,19 @@ } } }, - "/spacemesh.v2alpha1.TransactionService/ParseTransaction": { + "/spacemesh.v2alpha1.TransactionService/List": { "post": { "tags": [ "TransactionService" ], - "operationId": "TransactionService_ParseTransaction", + "operationId": "TransactionService_List", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/spacemeshv2alpha1ParseTransactionRequest" + "$ref": "#/definitions/v2alpha1TransactionRequest" } } ], @@ -363,7 +364,7 @@ "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/spacemeshv2alpha1ParseTransactionResponse" + "$ref": "#/definitions/v2alpha1TransactionList" } }, "default": { @@ -375,19 +376,19 @@ } } }, - "/spacemesh.v2alpha1.TransactionService/SubmitTransaction": { + "/spacemesh.v2alpha1.TransactionService/ParseTransaction": { "post": { "tags": [ "TransactionService" ], - "operationId": "TransactionService_SubmitTransaction", + "operationId": "TransactionService_ParseTransaction", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/spacemeshv2alpha1SubmitTransactionRequest" + "$ref": "#/definitions/spacemeshv2alpha1ParseTransactionRequest" } } ], @@ -395,7 +396,7 @@ "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/spacemeshv2alpha1SubmitTransactionResponse" + "$ref": "#/definitions/spacemeshv2alpha1ParseTransactionResponse" } }, "default": { @@ -407,20 +408,19 @@ } } }, - "/v2/smeshingidentities/poetservices": { + "/spacemesh.v2alpha1.TransactionService/SubmitTransaction": { "post": { "tags": [ - "SmeshingIdentitiesService" + "TransactionService" ], - "summary": "Returns set of configured poet addresses and poets addresses from registrations, if given,\nand warning in case, if there are registrations with poets, which are not in configured poets set.", - "operationId": "SmeshingIdentitiesService_PoetServices", + "operationId": "TransactionService_SubmitTransaction", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v2alpha1PoetServicesRequest" + "$ref": "#/definitions/spacemeshv2alpha1SubmitTransactionRequest" } } ], @@ -428,7 +428,7 @@ "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v2alpha1PoetServicesResponse" + "$ref": "#/definitions/spacemeshv2alpha1SubmitTransactionResponse" } }, "default": { @@ -488,8 +488,9 @@ "$ref": "#/definitions/IdentityPoetInfo" } }, - "smesherIdHex": { - "type": "string" + "smesherId": { + "type": "string", + "format": "byte" }, "status": { "$ref": "#/definitions/v2alpha1IdentityStatus" @@ -1155,14 +1156,14 @@ }, "v2alpha1IdentityStatus": { "type": "string", - "default": "STATUS_UNSPECIFIED", + "default": "UNSPECIFIED", "enum": [ - "STATUS_UNSPECIFIED", - "STATUS_IS_SYNCING", - "STATUS_WAIT_FOR_POET_ROUND_START", - "STATUS_WAIT_FOR_POET_ROUND_END", - "STATUS_FETCHING_PROOFS", - "STATUS_POST_PROVING" + "UNSPECIFIED", + "IS_SYNCING", + "WAIT_FOR_POET_ROUND_START", + "WAIT_FOR_POET_ROUND_END", + "FETCHING_PROOFS", + "POST_PROVING" ] }, "v2alpha1LayerList": { @@ -1272,13 +1273,13 @@ }, "v2alpha1RegistrationStatus": { "type": "string", - "default": "STATUS_UNKNOWN", + "default": "UNKNOWN", "enum": [ - "STATUS_UNKNOWN", - "STATUS_SUCCESS_REG", - "STATUS_FAILED_REG", - "STATUS_RESIDUAL_REG", - "STATUS_NO_REG" + "UNKNOWN", + "SUCCESS_REG", + "FAILED_REG", + "RESIDUAL_REG", + "NO_REG" ] }, "v2alpha1RewardList": { diff --git a/spacemesh/v2alpha1/smeshing_identities.proto b/spacemesh/v2alpha1/smeshing_identities.proto index 87821ff4..37b30ce1 100644 --- a/spacemesh/v2alpha1/smeshing_identities.proto +++ b/spacemesh/v2alpha1/smeshing_identities.proto @@ -9,21 +9,21 @@ package spacemesh.v2alpha1; message PoetServicesRequest {} enum IdentityStatus { - STATUS_UNSPECIFIED = 0; - STATUS_IS_SYNCING = 1; - STATUS_WAIT_FOR_POET_ROUND_START = 2; - STATUS_WAIT_FOR_POET_ROUND_END = 3; - STATUS_FETCHING_PROOFS = 4; - STATUS_POST_PROVING = 5; + UNSPECIFIED = 0; + IS_SYNCING = 1; + WAIT_FOR_POET_ROUND_START = 2; + WAIT_FOR_POET_ROUND_END = 3; + FETCHING_PROOFS = 4; + POST_PROVING = 5; } enum RegistrationStatus { - STATUS_UNKNOWN = 0; - STATUS_SUCCESS_REG = 1; - STATUS_FAILED_REG = 2; - STATUS_RESIDUAL_REG = 3; - STATUS_NO_REG = 4; + UNKNOWN = 0; + SUCCESS_REG = 1; + FAILED_REG = 2; + RESIDUAL_REG = 3; + NO_REG = 4; } message PoetServicesResponse { @@ -35,7 +35,7 @@ message PoetServicesResponse { string warning = 4; } - string smesher_id_hex = 1; + bytes smesher_id = 1; IdentityStatus status = 2; repeated PoetInfo poet_infos = 3; } @@ -47,10 +47,5 @@ service SmeshingIdentitiesService { // Returns set of configured poet addresses and poets addresses from registrations, if given, // and warning in case, if there are registrations with poets, which are not in configured poets set. - rpc PoetServices (PoetServicesRequest) returns (PoetServicesResponse){ - option (google.api.http) = { - post: "/v2/smeshingidentities/poetservices" - body: "*" - }; - } + rpc PoetServices (PoetServicesRequest) returns (PoetServicesResponse){} } \ No newline at end of file From 52df650275a25df66e1695b67cbbb72cb3ef8201 Mon Sep 17 00:00:00 2001 From: Matthias <5011972+fasmat@users.noreply.github.com> Date: Wed, 2 Oct 2024 18:25:04 +0000 Subject: [PATCH 07/41] Format README.md --- README.md | 135 +++++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 99 insertions(+), 36 deletions(-) diff --git a/README.md b/README.md index 00956c8c..9b21a71f 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,10 @@ ![CI Status](https://github.com/spacemeshos/api/workflows/CI/badge.svg) -[Protobuf](https://developers.google.com/protocol-buffers) implementation of the Spacemesh API. This repository contains only API design, not implementation. For implementation work, see [go-spacemesh](https://github.com/spacemeshos/go-spacemesh/tree/develop/api/grpcserver). Note that API implementation may lag design. +[Protobuf](https://developers.google.com/protocol-buffers) implementation of the Spacemesh API. This repository contains +only API design, not implementation. For implementation work, see +[go-spacemesh](https://github.com/spacemeshos/go-spacemesh/tree/develop/api/grpcserver). Note that API implementation +may lag design. ## Design @@ -10,46 +13,85 @@ The API was designed with the following considerations in mind. ### Mesh vs. global state -In Spacemesh, "the mesh" refers to data structures that are _explicitly_ stored by all full nodes and are subject to consensus. This consists of transactions, collated into blocks, which in turn are collated into layers. Note that, in addition to transactions, blocks contain metadata such as layer number and signature. The mesh also includes ATXs (activations). +In Spacemesh, "the mesh" refers to data structures that are _explicitly_ stored by all full nodes and are subject to +consensus. This consists of transactions, collated into blocks, which in turn are collated into layers. Note that, in +addition to transactions, blocks contain metadata such as layer number and signature. The mesh also includes ATXs +(activations). -By contrast, "global state" refers to data structures that are calculated _implicitly_ based on mesh data. These data are not explicitly stored anywhere in the mesh. Global state includes account state (balance, counter/nonce value, and, for smart contract accounts, code), transaction receipts, and smart contract event logs. These data need not be stored indefinitely by all full nodes (although they should be stored indefinitely by archive nodes). +By contrast, "global state" refers to data structures that are calculated _implicitly_ based on mesh data. These data +are not explicitly stored anywhere in the mesh. Global state includes account state (balance, counter/nonce value, and, +for smart contract accounts, code), transaction receipts, and smart contract event logs. These data need not be stored +indefinitely by all full nodes (although they should be stored indefinitely by archive nodes). -The API provides access to both types of data, but they are divided into different API services. For more information on this distinction, see [SMIP-0003: Global state data, STF, APIs](https://github.com/spacemeshos/SMIPS/issues/13), as well as the [`MeshService`](/proto/spacemesh/v1/mesh.proto) and the [`GlobalStateService`](/proto/spacemesh/v1/global_state.proto). +The API provides access to both types of data, but they are divided into different API services. For more information on +this distinction, see [SMIP-0003: Global state data, STF, APIs](https://github.com/spacemeshos/SMIPS/issues/13), as well +as the [`MeshService`](/proto/spacemesh/v1/mesh.proto) and the +[`GlobalStateService`](/proto/spacemesh/v1/global_state.proto). ### Transactions -Transactions span mesh and global state data. They are submitted to a node, which may or may not admit the transaction to its mempool. If the transaction is admitted to the mempool, it will probably end up being added to a newly-mined block, and that block will be submitted to the mesh in some layer. After that, the layer containing the block will eventually be approved, and then confirmed, by the consensus mechanism. After the layer is approved, the transaction will be run through the STF (state transition function), and if it succeeds, it may update global state. +Transactions span mesh and global state data. They are submitted to a node, which may or may not admit the transaction +to its mempool. If the transaction is admitted to the mempool, it will probably end up being added to a newly-mined +block, and that block will be submitted to the mesh in some layer. After that, the layer containing the block will +eventually be approved, and then confirmed, by the consensus mechanism. After the layer is approved, the transaction +will be run through the STF (state transition function), and if it succeeds, it may update global state. -Since transactions span multiple layers of abstraction, the API exposes transaction data in its own service, [`TransactionService`](/proto/spacemesh/v1/tx.proto). +Since transactions span multiple layers of abstraction, the API exposes transaction data in its own service, +[`TransactionService`](/proto/spacemesh/v1/tx.proto). ### Types of endpoints -Broadly speaking, there are four types of endpoints: simple, command, query, and stream. Each type is described below. Note that in some cases, the same data are exposed through multiple endpoints, e.g., both a query and a stream endpoint. - -- **Simple** endpoints are used to query a single data element. Some simple endpoints accept a request object (e.g., [`GlobalStateService.Account`](https://github.com/spacemeshos/api/blob/ab285df4d52af4663335a4bcccb0b52f1e5003ee/proto/spacemesh/v1/global_state.proto#L14)), while some which return data that's global to a node accept no request object (e.g., [`NodeService.Version`](https://github.com/spacemeshos/api/blob/ab285df4d52af4663335a4bcccb0b52f1e5003ee/proto/spacemesh/v1/node.proto#L13)). -- **Command** endpoints are used to send a command to a node. Examples include [`TransactionService.SubmitTransaction`](https://github.com/spacemeshos/api/blob/ab285df4d52af4663335a4bcccb0b52f1e5003ee/proto/spacemesh/v1/tx.proto#L15) and [`SmesherService.StartSmeshing`](https://github.com/spacemeshos/api/blob/ab285df4d52af4663335a4bcccb0b52f1e5003ee/proto/spacemesh/v1/smesher.proto#L16). -- **Query** endpoints are used to read paginated historical data. A `*Query` endpoint accepts a `*Request` message that typically contains the following: +Broadly speaking, there are four types of endpoints: simple, command, query, and stream. Each type is described below. +Note that in some cases, the same data are exposed through multiple endpoints, e.g., both a query and a stream endpoint. + +- **Simple** endpoints are used to query a single data element. Some simple endpoints accept a request object (e.g., + [`GlobalStateService.Account`](https://github.com/spacemeshos/api/blob/ab285df4d52af4663335a4bcccb0b52f1e5003ee/proto/spacemesh/v1/global_state.proto#L14)), + while some which return data that's global to a node accept no request object (e.g., + [`NodeService.Version`](https://github.com/spacemeshos/api/blob/ab285df4d52af4663335a4bcccb0b52f1e5003ee/proto/spacemesh/v1/node.proto#L13)). +- **Command** endpoints are used to send a command to a node. Examples include + [`TransactionService.SubmitTransaction`](https://github.com/spacemeshos/api/blob/ab285df4d52af4663335a4bcccb0b52f1e5003ee/proto/spacemesh/v1/tx.proto#L15) + and + [`SmesherService.StartSmeshing`](https://github.com/spacemeshos/api/blob/ab285df4d52af4663335a4bcccb0b52f1e5003ee/proto/spacemesh/v1/smesher.proto#L16). +- **Query** endpoints are used to read paginated historical data. A `*Query` endpoint accepts a `*Request` message that + typically contains the following: - `filter`: A filter (see Streams, below) - `min_layer`: The first layer to return results from - `max_results`: The maximum number of results to return - `offset`: Page offset -- **Stream** endpoints are used to read realtime data. They do not return historical data. Each time the node creates, or learns of, a piece of data matching the filter and type, or sees an update to a matching piece of data, it sends it over the stream. A `*Stream` endpoint accepts a `*Request` message, containing the following, that functions as a filter: +- **Stream** endpoints are used to read realtime data. They do not return historical data. Each time the node creates, + or learns of, a piece of data matching the filter and type, or sees an update to a matching piece of data, it sends it + over the stream. A `*Stream` endpoint accepts a `*Request` message, containing the following, that functions as a + filter: - `*_id`: The ID of the data type to filter on (e.g., "show me all data items that touch this `account_id`") - - `flags`: A bit field that allows the client to select which, among multiple types multiplexed on this stream, to receive + - `flags`: A bit field that allows the client to select which, among multiple types multiplexed on this stream, to + receive ## Services -The Spacemesh API consists of several logical services, each of which contains a set of one or more RPC endpoints. The node operator can enable or disable each service independently using the CLI. The current set of services is as follows: - -- [DebugService](/proto/spacemesh/v1/debug.proto) is an experimental service designed for debugging and testing. The endpoints in this service are volatile and subject to change without notice. They should not be relied on in production. -- [GatewayService](/proto/spacemesh/v1/gateway.proto) is a read-write interface that allows a [poet server](https://github.com/spacemeshos/poet) to broadcast proofs to the network via a gateway node. -- [GlobalStateService](/proto/spacemesh/v1/global_state.proto) is a readonly interface that provides access to data elements that are not explicitly part of the mesh such as accounts, rewards, and transaction state and receipts. -- [MeshService](/proto/spacemesh/v1/mesh.proto) is a readonly interface that provides access to mesh data such as layer number, epoch number, and network ID. It provides streams for watching layers (which contain blocks, transactions, etc.). In the future this service will be expanded to include other mesh-related endpoints. -- [NodeService](/proto/spacemesh/v1/node.proto) is a readonly interface for reading basic node-related data such as node status, software version and build number, and errors. It also allows a consumer to request that the node start the sync process, thus enabling the stream endpoints. -- [SmesherService](/proto/spacemesh/v1/smesher.proto) is a read-write interface that allows the client to query, and set, parameters related to smeshing (mining), such as PoST commitment, coinbase, etc. -- [TransactionService](/proto/spacemesh/v1/tx.proto) is a read-write interface that allows the client to submit a new transaction, and to follow the state of one or more transactions on its journey from submission to mempool to block to mesh to STF. - -Each of these services relies on one or more sets of message types, which live in `*types.proto` files in the same directory as the service definition files. +The Spacemesh API consists of several logical services, each of which contains a set of one or more RPC endpoints. The +node operator can enable or disable each service independently using the CLI. The current set of services is as follows: + +- [DebugService](/proto/spacemesh/v1/debug.proto) is an experimental service designed for debugging and testing. The + endpoints in this service are volatile and subject to change without notice. They should not be relied on in + production. +- [GatewayService](/proto/spacemesh/v1/gateway.proto) is a read-write interface that allows a [poet + server](https://github.com/spacemeshos/poet) to broadcast proofs to the network via a gateway node. +- [GlobalStateService](/proto/spacemesh/v1/global_state.proto) is a readonly interface that provides access to data + elements that are not explicitly part of the mesh such as accounts, rewards, and transaction state and receipts. +- [MeshService](/proto/spacemesh/v1/mesh.proto) is a readonly interface that provides access to mesh data such as layer + number, epoch number, and network ID. It provides streams for watching layers (which contain blocks, transactions, + etc.). In the future this service will be expanded to include other mesh-related endpoints. +- [NodeService](/proto/spacemesh/v1/node.proto) is a readonly interface for reading basic node-related data such as node + status, software version and build number, and errors. It also allows a consumer to request that the node start the + sync process, thus enabling the stream endpoints. +- [SmesherService](/proto/spacemesh/v1/smesher.proto) is a read-write interface that allows the client to query, and + set, parameters related to smeshing (mining), such as PoST commitment, coinbase, etc. +- [TransactionService](/proto/spacemesh/v1/tx.proto) is a read-write interface that allows the client to submit a new + transaction, and to follow the state of one or more transactions on its journey from submission to mempool to block to + mesh to STF. + +Each of these services relies on one or more sets of message types, which live in `*types.proto` files in the same +directory as the service definition files. ## Intended Usage Pattern @@ -57,23 +99,35 @@ Each of these services relies on one or more sets of message types, which live i 1. Client starts a full node with one or more relevant GRPC endpoints enabled 1. Client subscribes to the streaming GRPC api methods that are of interest -1. Client calls `NodeService.SyncStart()` to request that the node start syncing (note that, at present, sync is on by default and this step is unnecessary, but in future, it will be possible to [start the node with sync turned off](https://github.com/spacemeshos/go-spacemesh/issues/2080) so that the client can subscribe to streams before the sync process begins, ensuring they don't miss any data) +1. Client calls `NodeService.SyncStart()` to request that the node start syncing (note that, at present, sync is on by + default and this step is unnecessary, but in future, it will be possible to [start the node with sync turned + off](https://github.com/spacemeshos/go-spacemesh/issues/2080) so that the client can subscribe to streams before the + sync process begins, ensuring they don't miss any data) 1. Client processes streaming data it receives from the node -1. Client monitors node using `NodeService.SyncStatusStream()` and `NodeService.ErrorStream()` and handles node critical errors. Return to step 1 as necessary. +1. Client monitors node using `NodeService.SyncStatusStream()` and `NodeService.ErrorStream()` and handles node critical + errors. Return to step 1 as necessary. 1. Client gracefully shuts down the node by calling `NodeService.Shutdown()` when it is done processing data. ## Development ### Versioning -We use standard [semantic versioning](https://semver.org/). Please regularly cut releases against the `master` branch and increment the version accordingly. Releases are managed at [Releases](https://github.com/spacemeshos/api/releases) and the current version line is 1.x. Note that this is especially important for downstream code that relies on individual builds, such as the golang build. +We use standard [semantic versioning](https://semver.org/). Please regularly cut releases against the `master` branch +and increment the version accordingly. Releases are managed at [Releases](https://github.com/spacemeshos/api/releases) +and the current version line is 1.x. Note that this is especially important for downstream code that relies on +individual builds, such as the golang build. ### Build targets -This repository currently contains builds for two targets: golang and grpc-gateway. **Every time a protobuf definition file is changed, you must update the build** and include the updated build files with your PR in order to keep everything in sync. You can check this at any time by running `make check`, and it's also enforced by CI (see below for more information). +This repository currently contains builds for two targets: golang and grpc-gateway. **Every time a protobuf definition +file is changed, you must update the build** and include the updated build files with your PR in order to keep +everything in sync. You can check this at any time by running `make check`, and it's also enforced by CI (see below for +more information). -- golang builds live in [`release/go`](/release/go). You may use this repository directly as a go module with an import statement such as `import "github.com/spacemeshos/api/release/go/spacemesh/v1"`. -- grpc-gateway builds live alongside the golang builds in [`release/go/spacemesh/v1`](/release/go/spacemesh/v1) (they have a `.gw.go` extension). +- golang builds live in [`release/go`](/release/go). You may use this repository directly as a go module with an import + statement such as `import "github.com/spacemeshos/api/release/go/spacemesh/v1"`. +- grpc-gateway builds live alongside the golang builds in [`release/go/spacemesh/v1`](/release/go/spacemesh/v1) (they + have a `.gw.go` extension). ### Makefile @@ -90,7 +144,8 @@ Under the hood, it uses a helpful tool called `buf`. ### Buf -In addition to running `make` commands, you can also manually use the [`buf`](https://buf.build/) tool to compile the API to an [image](https://buf.build/docs/inputs). First, [install `buf`](https://buf.build/docs/installation), then run: +In addition to running `make` commands, you can also manually use the [`buf`](https://buf.build/) tool to compile the +API to an [image](https://buf.build/docs/inputs). First, [install `buf`](https://buf.build/docs/installation), then run: ```console > buf image build -o /dev/null @@ -104,7 +159,8 @@ to test the build. To output the image in json format, run: #### Breaking changes detection -`buf` also supports [detection of breaking changes](https://buf.build/docs/tour-5). To do this, first create an image from the current state: +`buf` also supports [detection of breaking changes](https://buf.build/docs/tour-5). To do this, first create an image +from the current state: ```console > buf image build -o image.bin @@ -120,7 +176,9 @@ Make a breaking change, then run against this change: #### Linting -`buf` runs several [linters](https://buf.build/docs/lint-checkers). It's pretty strict about things such as naming conventions, to prevent downstream issues in the various languages and framework that rely upon the protobuf definition files. You can run the linter like this: +`buf` runs several [linters](https://buf.build/docs/lint-checkers). It's pretty strict about things such as naming +conventions, to prevent downstream issues in the various languages and framework that rely upon the protobuf definition +files. You can run the linter like this: ```console > buf lint @@ -128,10 +186,15 @@ Make a breaking change, then run against this change: If there are no issues, this command should have exit code 0 and no output. -For more information on linting, see the [style guide](https://buf.build/docs/style-guide). For more information on the difference between the `buf` tool and the `protoc` compiler, see [Use protoc input instead of the internal compiler](https://buf.build/docs/tour-7). +For more information on linting, see the [style guide](https://buf.build/docs/style-guide). For more information on the +difference between the `buf` tool and the `protoc` compiler, see [Use protoc input instead of the internal +compiler](https://buf.build/docs/tour-7). ### Continuous integration -This repository has a continuous integration (CI) [workflow](.github/workflows/ci.yml) built on GitHub Actions. In addition to linting and breaking changes detection, it also runs the `protoc` compiler, since that tends to surface a slightly different set of warnings and errors than `buf`. +This repository has a continuous integration (CI) [workflow](.github/workflows/ci.yml) built on GitHub Actions. In +addition to linting and breaking changes detection, it also runs the `protoc` compiler, since that tends to surface a +slightly different set of warnings and errors than `buf`. -You can use a nifty tool called [`act`](https://github.com/nektos/act) to run the CI workflow locally, although it [doesn't always play nice](https://github.com/nektos/act/issues/322) with our workflow configuration. +You can use a nifty tool called [`act`](https://github.com/nektos/act) to run the CI workflow locally, although it +[doesn't always play nice](https://github.com/nektos/act/issues/322) with our workflow configuration. From b791c7563815f3c0df164ed638cb65c08afbc257 Mon Sep 17 00:00:00 2001 From: Matthias <5011972+fasmat@users.noreply.github.com> Date: Wed, 9 Oct 2024 08:41:04 +0000 Subject: [PATCH 08/41] Cleanup --- .../spacemesh/v2alpha1/node_identities.pb.go | 562 ------------------ .../v2alpha1/node_identities.pb.gw.go | 163 ----- .../v2alpha1/node_identities_grpc.pb.go | 111 ---- 3 files changed, 836 deletions(-) delete mode 100644 release/go/spacemesh/v2alpha1/node_identities.pb.go delete mode 100644 release/go/spacemesh/v2alpha1/node_identities.pb.gw.go delete mode 100644 release/go/spacemesh/v2alpha1/node_identities_grpc.pb.go diff --git a/release/go/spacemesh/v2alpha1/node_identities.pb.go b/release/go/spacemesh/v2alpha1/node_identities.pb.go deleted file mode 100644 index e5b86e95..00000000 --- a/release/go/spacemesh/v2alpha1/node_identities.pb.go +++ /dev/null @@ -1,562 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.33.0 -// protoc (unknown) -// source: spacemesh/v2alpha1/node_identities.proto - -package spacemeshv2alpha1 - -import ( - _ "google.golang.org/genproto/googleapis/api/annotations" - _ "google.golang.org/genproto/googleapis/api/visibility" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type PoetServicesResponse_Identity_Status int32 - -const ( - PoetServicesResponse_Identity_STATUS_UNSPECIFIED PoetServicesResponse_Identity_Status = 0 - PoetServicesResponse_Identity_STATUS_IS_SYNCING PoetServicesResponse_Identity_Status = 1 - PoetServicesResponse_Identity_STATUS_CREATING_INITIAL_POST PoetServicesResponse_Identity_Status = 2 - PoetServicesResponse_Identity_STATUS_SUBMITTING_CHALLENGE PoetServicesResponse_Identity_Status = 3 - PoetServicesResponse_Identity_STATUS_CREATING_POST_PROOF PoetServicesResponse_Identity_Status = 4 -) - -// Enum value maps for PoetServicesResponse_Identity_Status. -var ( - PoetServicesResponse_Identity_Status_name = map[int32]string{ - 0: "STATUS_UNSPECIFIED", - 1: "STATUS_IS_SYNCING", - 2: "STATUS_CREATING_INITIAL_POST", - 3: "STATUS_SUBMITTING_CHALLENGE", - 4: "STATUS_CREATING_POST_PROOF", - } - PoetServicesResponse_Identity_Status_value = map[string]int32{ - "STATUS_UNSPECIFIED": 0, - "STATUS_IS_SYNCING": 1, - "STATUS_CREATING_INITIAL_POST": 2, - "STATUS_SUBMITTING_CHALLENGE": 3, - "STATUS_CREATING_POST_PROOF": 4, - } -) - -func (x PoetServicesResponse_Identity_Status) Enum() *PoetServicesResponse_Identity_Status { - p := new(PoetServicesResponse_Identity_Status) - *p = x - return p -} - -func (x PoetServicesResponse_Identity_Status) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (PoetServicesResponse_Identity_Status) Descriptor() protoreflect.EnumDescriptor { - return file_spacemesh_v2alpha1_node_identities_proto_enumTypes[0].Descriptor() -} - -func (PoetServicesResponse_Identity_Status) Type() protoreflect.EnumType { - return &file_spacemesh_v2alpha1_node_identities_proto_enumTypes[0] -} - -func (x PoetServicesResponse_Identity_Status) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use PoetServicesResponse_Identity_Status.Descriptor instead. -func (PoetServicesResponse_Identity_Status) EnumDescriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_node_identities_proto_rawDescGZIP(), []int{1, 0, 0} -} - -type PoetServicesResponse_Identity_PoetInfo_RegistrationStatus int32 - -const ( - PoetServicesResponse_Identity_PoetInfo_STATUS_UNSPECIFIED PoetServicesResponse_Identity_PoetInfo_RegistrationStatus = 0 - PoetServicesResponse_Identity_PoetInfo_STATUS_SUCCESS_REG PoetServicesResponse_Identity_PoetInfo_RegistrationStatus = 1 - PoetServicesResponse_Identity_PoetInfo_STATUS_FAILED_REG PoetServicesResponse_Identity_PoetInfo_RegistrationStatus = 2 - PoetServicesResponse_Identity_PoetInfo_STATUS_RESIDUAL_REG PoetServicesResponse_Identity_PoetInfo_RegistrationStatus = 3 - PoetServicesResponse_Identity_PoetInfo_STATUS_NO_REG PoetServicesResponse_Identity_PoetInfo_RegistrationStatus = 4 -) - -// Enum value maps for PoetServicesResponse_Identity_PoetInfo_RegistrationStatus. -var ( - PoetServicesResponse_Identity_PoetInfo_RegistrationStatus_name = map[int32]string{ - 0: "STATUS_UNSPECIFIED", - 1: "STATUS_SUCCESS_REG", - 2: "STATUS_FAILED_REG", - 3: "STATUS_RESIDUAL_REG", - 4: "STATUS_NO_REG", - } - PoetServicesResponse_Identity_PoetInfo_RegistrationStatus_value = map[string]int32{ - "STATUS_UNSPECIFIED": 0, - "STATUS_SUCCESS_REG": 1, - "STATUS_FAILED_REG": 2, - "STATUS_RESIDUAL_REG": 3, - "STATUS_NO_REG": 4, - } -) - -func (x PoetServicesResponse_Identity_PoetInfo_RegistrationStatus) Enum() *PoetServicesResponse_Identity_PoetInfo_RegistrationStatus { - p := new(PoetServicesResponse_Identity_PoetInfo_RegistrationStatus) - *p = x - return p -} - -func (x PoetServicesResponse_Identity_PoetInfo_RegistrationStatus) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (PoetServicesResponse_Identity_PoetInfo_RegistrationStatus) Descriptor() protoreflect.EnumDescriptor { - return file_spacemesh_v2alpha1_node_identities_proto_enumTypes[1].Descriptor() -} - -func (PoetServicesResponse_Identity_PoetInfo_RegistrationStatus) Type() protoreflect.EnumType { - return &file_spacemesh_v2alpha1_node_identities_proto_enumTypes[1] -} - -func (x PoetServicesResponse_Identity_PoetInfo_RegistrationStatus) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use PoetServicesResponse_Identity_PoetInfo_RegistrationStatus.Descriptor instead. -func (PoetServicesResponse_Identity_PoetInfo_RegistrationStatus) EnumDescriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_node_identities_proto_rawDescGZIP(), []int{1, 0, 0, 0} -} - -type PoetServicesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SmesherIdHex string `protobuf:"bytes,1,opt,name=smesher_id_hex,json=smesherIdHex,proto3" json:"smesher_id_hex,omitempty"` -} - -func (x *PoetServicesRequest) Reset() { - *x = PoetServicesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_node_identities_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PoetServicesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PoetServicesRequest) ProtoMessage() {} - -func (x *PoetServicesRequest) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_node_identities_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PoetServicesRequest.ProtoReflect.Descriptor instead. -func (*PoetServicesRequest) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_node_identities_proto_rawDescGZIP(), []int{0} -} - -func (x *PoetServicesRequest) GetSmesherIdHex() string { - if x != nil { - return x.SmesherIdHex - } - return "" -} - -type PoetServicesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Identities []*PoetServicesResponse_Identity `protobuf:"bytes,3,rep,name=identities,proto3" json:"identities,omitempty"` -} - -func (x *PoetServicesResponse) Reset() { - *x = PoetServicesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_node_identities_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PoetServicesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PoetServicesResponse) ProtoMessage() {} - -func (x *PoetServicesResponse) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_node_identities_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PoetServicesResponse.ProtoReflect.Descriptor instead. -func (*PoetServicesResponse) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_node_identities_proto_rawDescGZIP(), []int{1} -} - -func (x *PoetServicesResponse) GetIdentities() []*PoetServicesResponse_Identity { - if x != nil { - return x.Identities - } - return nil -} - -type PoetServicesResponse_Identity struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SmesherIdHex string `protobuf:"bytes,1,opt,name=smesher_id_hex,json=smesherIdHex,proto3" json:"smesher_id_hex,omitempty"` - PoetInfos []*PoetServicesResponse_Identity_PoetInfo `protobuf:"bytes,2,rep,name=poet_infos,json=poetInfos,proto3" json:"poet_infos,omitempty"` -} - -func (x *PoetServicesResponse_Identity) Reset() { - *x = PoetServicesResponse_Identity{} - if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_node_identities_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PoetServicesResponse_Identity) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PoetServicesResponse_Identity) ProtoMessage() {} - -func (x *PoetServicesResponse_Identity) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_node_identities_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PoetServicesResponse_Identity.ProtoReflect.Descriptor instead. -func (*PoetServicesResponse_Identity) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_node_identities_proto_rawDescGZIP(), []int{1, 0} -} - -func (x *PoetServicesResponse_Identity) GetSmesherIdHex() string { - if x != nil { - return x.SmesherIdHex - } - return "" -} - -func (x *PoetServicesResponse_Identity) GetPoetInfos() []*PoetServicesResponse_Identity_PoetInfo { - if x != nil { - return x.PoetInfos - } - return nil -} - -type PoetServicesResponse_Identity_PoetInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` - PoetRoundEnd *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=poet_round_end,json=poetRoundEnd,proto3" json:"poet_round_end,omitempty"` - RegistrationStatus PoetServicesResponse_Identity_PoetInfo_RegistrationStatus `protobuf:"varint,3,opt,name=registration_status,json=registrationStatus,proto3,enum=spacemesh.v2alpha1.PoetServicesResponse_Identity_PoetInfo_RegistrationStatus" json:"registration_status,omitempty"` - Warning string `protobuf:"bytes,4,opt,name=warning,proto3" json:"warning,omitempty"` -} - -func (x *PoetServicesResponse_Identity_PoetInfo) Reset() { - *x = PoetServicesResponse_Identity_PoetInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_node_identities_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PoetServicesResponse_Identity_PoetInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PoetServicesResponse_Identity_PoetInfo) ProtoMessage() {} - -func (x *PoetServicesResponse_Identity_PoetInfo) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_node_identities_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PoetServicesResponse_Identity_PoetInfo.ProtoReflect.Descriptor instead. -func (*PoetServicesResponse_Identity_PoetInfo) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_node_identities_proto_rawDescGZIP(), []int{1, 0, 0} -} - -func (x *PoetServicesResponse_Identity_PoetInfo) GetUrl() string { - if x != nil { - return x.Url - } - return "" -} - -func (x *PoetServicesResponse_Identity_PoetInfo) GetPoetRoundEnd() *timestamppb.Timestamp { - if x != nil { - return x.PoetRoundEnd - } - return nil -} - -func (x *PoetServicesResponse_Identity_PoetInfo) GetRegistrationStatus() PoetServicesResponse_Identity_PoetInfo_RegistrationStatus { - if x != nil { - return x.RegistrationStatus - } - return PoetServicesResponse_Identity_PoetInfo_STATUS_UNSPECIFIED -} - -func (x *PoetServicesResponse_Identity_PoetInfo) GetWarning() string { - if x != nil { - return x.Warning - } - return "" -} - -var File_spacemesh_v2alpha1_node_identities_proto protoreflect.FileDescriptor - -var file_spacemesh_v2alpha1_node_identities_proto_rawDesc = []byte{ - 0x0a, 0x28, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, 0x32, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, - 0x74, 0x69, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, 0x1b, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x69, 0x73, 0x69, 0x62, - 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, - 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3b, 0x0a, 0x13, 0x50, 0x6f, - 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x24, 0x0a, 0x0e, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x5f, - 0x68, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x6d, 0x65, 0x73, 0x68, - 0x65, 0x72, 0x49, 0x64, 0x48, 0x65, 0x78, 0x22, 0x99, 0x06, 0x0a, 0x14, 0x50, 0x6f, 0x65, 0x74, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x51, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x03, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, - 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x53, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x49, - 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, - 0x69, 0x65, 0x73, 0x1a, 0xad, 0x05, 0x0a, 0x08, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, - 0x12, 0x24, 0x0a, 0x0e, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x5f, 0x68, - 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, - 0x72, 0x49, 0x64, 0x48, 0x65, 0x78, 0x12, 0x59, 0x0a, 0x0a, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x69, - 0x6e, 0x66, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x50, 0x6f, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x50, 0x6f, - 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x70, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, - 0x73, 0x1a, 0x82, 0x03, 0x0a, 0x08, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x10, - 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, - 0x12, 0x40, 0x0a, 0x0e, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x65, - 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, - 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, 0x70, 0x6f, 0x65, 0x74, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x45, - 0x6e, 0x64, 0x12, 0x7e, 0x0a, 0x13, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x4d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, - 0x74, 0x79, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x52, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x12, - 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, - 0x75, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x77, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x07, 0x77, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x22, 0x87, 0x01, 0x0a, - 0x12, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x12, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, - 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x53, - 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x53, 0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x5f, 0x52, 0x45, - 0x47, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x46, 0x41, - 0x49, 0x4c, 0x45, 0x44, 0x5f, 0x52, 0x45, 0x47, 0x10, 0x02, 0x12, 0x17, 0x0a, 0x13, 0x53, 0x54, - 0x41, 0x54, 0x55, 0x53, 0x5f, 0x52, 0x45, 0x53, 0x49, 0x44, 0x55, 0x41, 0x4c, 0x5f, 0x52, 0x45, - 0x47, 0x10, 0x03, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x4e, 0x4f, - 0x5f, 0x52, 0x45, 0x47, 0x10, 0x04, 0x22, 0x9a, 0x01, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x12, 0x16, 0x0a, 0x12, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, - 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, - 0x54, 0x55, 0x53, 0x5f, 0x49, 0x53, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x49, 0x4e, 0x47, 0x10, 0x01, - 0x12, 0x20, 0x0a, 0x1c, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54, - 0x49, 0x4e, 0x47, 0x5f, 0x49, 0x4e, 0x49, 0x54, 0x49, 0x41, 0x4c, 0x5f, 0x50, 0x4f, 0x53, 0x54, - 0x10, 0x02, 0x12, 0x1f, 0x0a, 0x1b, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x53, 0x55, 0x42, - 0x4d, 0x49, 0x54, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x43, 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, 0x47, - 0x45, 0x10, 0x03, 0x12, 0x1e, 0x0a, 0x1a, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x43, 0x52, - 0x45, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, - 0x46, 0x10, 0x04, 0x32, 0xbb, 0x01, 0x0a, 0x19, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, - 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x12, 0x91, 0x01, 0x0a, 0x0c, 0x50, 0x6f, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x73, 0x12, 0x27, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, - 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x3a, 0x01, 0x2a, - 0x22, 0x23, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x69, 0x64, - 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2f, 0x70, 0x6f, 0x65, 0x74, 0x73, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x73, 0x1a, 0x0a, 0xfa, 0xd2, 0xe4, 0x93, 0x02, 0x04, 0x12, 0x02, 0x56, - 0x32, 0x42, 0xe2, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, - 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x13, 0x4e, 0x6f, - 0x64, 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, - 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, - 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, - 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, - 0x68, 0x2e, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x12, 0x53, 0x70, 0x61, - 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, - 0x02, 0x1e, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, - 0xea, 0x02, 0x13, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x3a, 0x3a, 0x56, 0x32, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_spacemesh_v2alpha1_node_identities_proto_rawDescOnce sync.Once - file_spacemesh_v2alpha1_node_identities_proto_rawDescData = file_spacemesh_v2alpha1_node_identities_proto_rawDesc -) - -func file_spacemesh_v2alpha1_node_identities_proto_rawDescGZIP() []byte { - file_spacemesh_v2alpha1_node_identities_proto_rawDescOnce.Do(func() { - file_spacemesh_v2alpha1_node_identities_proto_rawDescData = protoimpl.X.CompressGZIP(file_spacemesh_v2alpha1_node_identities_proto_rawDescData) - }) - return file_spacemesh_v2alpha1_node_identities_proto_rawDescData -} - -var file_spacemesh_v2alpha1_node_identities_proto_enumTypes = make([]protoimpl.EnumInfo, 2) -var file_spacemesh_v2alpha1_node_identities_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_spacemesh_v2alpha1_node_identities_proto_goTypes = []interface{}{ - (PoetServicesResponse_Identity_Status)(0), // 0: spacemesh.v2alpha1.PoetServicesResponse.Identity.Status - (PoetServicesResponse_Identity_PoetInfo_RegistrationStatus)(0), // 1: spacemesh.v2alpha1.PoetServicesResponse.Identity.PoetInfo.RegistrationStatus - (*PoetServicesRequest)(nil), // 2: spacemesh.v2alpha1.PoetServicesRequest - (*PoetServicesResponse)(nil), // 3: spacemesh.v2alpha1.PoetServicesResponse - (*PoetServicesResponse_Identity)(nil), // 4: spacemesh.v2alpha1.PoetServicesResponse.Identity - (*PoetServicesResponse_Identity_PoetInfo)(nil), // 5: spacemesh.v2alpha1.PoetServicesResponse.Identity.PoetInfo - (*timestamppb.Timestamp)(nil), // 6: google.protobuf.Timestamp -} -var file_spacemesh_v2alpha1_node_identities_proto_depIdxs = []int32{ - 4, // 0: spacemesh.v2alpha1.PoetServicesResponse.identities:type_name -> spacemesh.v2alpha1.PoetServicesResponse.Identity - 5, // 1: spacemesh.v2alpha1.PoetServicesResponse.Identity.poet_infos:type_name -> spacemesh.v2alpha1.PoetServicesResponse.Identity.PoetInfo - 6, // 2: spacemesh.v2alpha1.PoetServicesResponse.Identity.PoetInfo.poet_round_end:type_name -> google.protobuf.Timestamp - 1, // 3: spacemesh.v2alpha1.PoetServicesResponse.Identity.PoetInfo.registration_status:type_name -> spacemesh.v2alpha1.PoetServicesResponse.Identity.PoetInfo.RegistrationStatus - 2, // 4: spacemesh.v2alpha1.SmeshingIdentitiesService.PoetServices:input_type -> spacemesh.v2alpha1.PoetServicesRequest - 3, // 5: spacemesh.v2alpha1.SmeshingIdentitiesService.PoetServices:output_type -> spacemesh.v2alpha1.PoetServicesResponse - 5, // [5:6] is the sub-list for method output_type - 4, // [4:5] is the sub-list for method input_type - 4, // [4:4] is the sub-list for extension type_name - 4, // [4:4] is the sub-list for extension extendee - 0, // [0:4] is the sub-list for field type_name -} - -func init() { file_spacemesh_v2alpha1_node_identities_proto_init() } -func file_spacemesh_v2alpha1_node_identities_proto_init() { - if File_spacemesh_v2alpha1_node_identities_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_spacemesh_v2alpha1_node_identities_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PoetServicesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spacemesh_v2alpha1_node_identities_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PoetServicesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spacemesh_v2alpha1_node_identities_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PoetServicesResponse_Identity); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spacemesh_v2alpha1_node_identities_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PoetServicesResponse_Identity_PoetInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_spacemesh_v2alpha1_node_identities_proto_rawDesc, - NumEnums: 2, - NumMessages: 4, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_spacemesh_v2alpha1_node_identities_proto_goTypes, - DependencyIndexes: file_spacemesh_v2alpha1_node_identities_proto_depIdxs, - EnumInfos: file_spacemesh_v2alpha1_node_identities_proto_enumTypes, - MessageInfos: file_spacemesh_v2alpha1_node_identities_proto_msgTypes, - }.Build() - File_spacemesh_v2alpha1_node_identities_proto = out.File - file_spacemesh_v2alpha1_node_identities_proto_rawDesc = nil - file_spacemesh_v2alpha1_node_identities_proto_goTypes = nil - file_spacemesh_v2alpha1_node_identities_proto_depIdxs = nil -} diff --git a/release/go/spacemesh/v2alpha1/node_identities.pb.gw.go b/release/go/spacemesh/v2alpha1/node_identities.pb.gw.go deleted file mode 100644 index f1592334..00000000 --- a/release/go/spacemesh/v2alpha1/node_identities.pb.gw.go +++ /dev/null @@ -1,163 +0,0 @@ -// Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: spacemesh/v2alpha1/node_identities.proto - -/* -Package spacemeshv2alpha1 is a reverse proxy. - -It translates gRPC into RESTful JSON APIs. -*/ -package spacemeshv2alpha1 - -import ( - "context" - "io" - "net/http" - - "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" - "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" - "google.golang.org/grpc" - "google.golang.org/grpc/codes" - "google.golang.org/grpc/grpclog" - "google.golang.org/grpc/metadata" - "google.golang.org/grpc/status" - "google.golang.org/protobuf/proto" -) - -// Suppress "imported and not used" errors -var _ codes.Code -var _ io.Reader -var _ status.Status -var _ = runtime.String -var _ = utilities.NewDoubleArray -var _ = metadata.Join - -func request_SmeshingIdentitiesService_PoetServices_0(ctx context.Context, marshaler runtime.Marshaler, client SmeshingIdentitiesServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq PoetServicesRequest - var metadata runtime.ServerMetadata - - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.PoetServices(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_SmeshingIdentitiesService_PoetServices_0(ctx context.Context, marshaler runtime.Marshaler, server SmeshingIdentitiesServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq PoetServicesRequest - var metadata runtime.ServerMetadata - - if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := server.PoetServices(ctx, &protoReq) - return msg, metadata, err - -} - -// RegisterSmeshingIdentitiesServiceHandlerServer registers the http handlers for service SmeshingIdentitiesService to "mux". -// UnaryRPC :call SmeshingIdentitiesServiceServer directly. -// StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. -// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterSmeshingIdentitiesServiceHandlerFromEndpoint instead. -func RegisterSmeshingIdentitiesServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SmeshingIdentitiesServiceServer) error { - - mux.Handle("POST", pattern_SmeshingIdentitiesService_PoetServices_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - var err error - var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/spacemesh.v2alpha1.SmeshingIdentitiesService/PoetServices", runtime.WithHTTPPathPattern("/v2/smeshingidentities/poetservices")) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_SmeshingIdentitiesService_PoetServices_0(annotatedContext, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) - if err != nil { - runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) - return - } - - forward_SmeshingIdentitiesService_PoetServices_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - return nil -} - -// RegisterSmeshingIdentitiesServiceHandlerFromEndpoint is same as RegisterSmeshingIdentitiesServiceHandler but -// automatically dials to "endpoint" and closes the connection when "ctx" gets done. -func RegisterSmeshingIdentitiesServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { - conn, err := grpc.DialContext(ctx, endpoint, opts...) - if err != nil { - return err - } - defer func() { - if err != nil { - if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) - } - return - } - go func() { - <-ctx.Done() - if cerr := conn.Close(); cerr != nil { - grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) - } - }() - }() - - return RegisterSmeshingIdentitiesServiceHandler(ctx, mux, conn) -} - -// RegisterSmeshingIdentitiesServiceHandler registers the http handlers for service SmeshingIdentitiesService to "mux". -// The handlers forward requests to the grpc endpoint over "conn". -func RegisterSmeshingIdentitiesServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { - return RegisterSmeshingIdentitiesServiceHandlerClient(ctx, mux, NewSmeshingIdentitiesServiceClient(conn)) -} - -// RegisterSmeshingIdentitiesServiceHandlerClient registers the http handlers for service SmeshingIdentitiesService -// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "SmeshingIdentitiesServiceClient". -// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "SmeshingIdentitiesServiceClient" -// doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in -// "SmeshingIdentitiesServiceClient" to call the correct interceptors. -func RegisterSmeshingIdentitiesServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SmeshingIdentitiesServiceClient) error { - - mux.Handle("POST", pattern_SmeshingIdentitiesService_PoetServices_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - var err error - var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/spacemesh.v2alpha1.SmeshingIdentitiesService/PoetServices", runtime.WithHTTPPathPattern("/v2/smeshingidentities/poetservices")) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_SmeshingIdentitiesService_PoetServices_0(annotatedContext, inboundMarshaler, client, req, pathParams) - annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) - if err != nil { - runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) - return - } - - forward_SmeshingIdentitiesService_PoetServices_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - return nil -} - -var ( - pattern_SmeshingIdentitiesService_PoetServices_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"v2", "smeshingidentities", "poetservices"}, "")) -) - -var ( - forward_SmeshingIdentitiesService_PoetServices_0 = runtime.ForwardResponseMessage -) diff --git a/release/go/spacemesh/v2alpha1/node_identities_grpc.pb.go b/release/go/spacemesh/v2alpha1/node_identities_grpc.pb.go deleted file mode 100644 index 8547f1da..00000000 --- a/release/go/spacemesh/v2alpha1/node_identities_grpc.pb.go +++ /dev/null @@ -1,111 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.3.0 -// - protoc (unknown) -// source: spacemesh/v2alpha1/node_identities.proto - -package spacemeshv2alpha1 - -import ( - context "context" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" -) - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 - -const ( - SmeshingIdentitiesService_PoetServices_FullMethodName = "/spacemesh.v2alpha1.SmeshingIdentitiesService/PoetServices" -) - -// SmeshingIdentitiesServiceClient is the client API for SmeshingIdentitiesService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -type SmeshingIdentitiesServiceClient interface { - // Returns set of configured poet addresses and poets addresses from registrations, if given, - // and warning in case, if there are registrations with poets, which are not in configured poets set. - PoetServices(ctx context.Context, in *PoetServicesRequest, opts ...grpc.CallOption) (*PoetServicesResponse, error) -} - -type smeshingIdentitiesServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewSmeshingIdentitiesServiceClient(cc grpc.ClientConnInterface) SmeshingIdentitiesServiceClient { - return &smeshingIdentitiesServiceClient{cc} -} - -func (c *smeshingIdentitiesServiceClient) PoetServices(ctx context.Context, in *PoetServicesRequest, opts ...grpc.CallOption) (*PoetServicesResponse, error) { - out := new(PoetServicesResponse) - err := c.cc.Invoke(ctx, SmeshingIdentitiesService_PoetServices_FullMethodName, in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// SmeshingIdentitiesServiceServer is the server API for SmeshingIdentitiesService service. -// All implementations should embed UnimplementedSmeshingIdentitiesServiceServer -// for forward compatibility -type SmeshingIdentitiesServiceServer interface { - // Returns set of configured poet addresses and poets addresses from registrations, if given, - // and warning in case, if there are registrations with poets, which are not in configured poets set. - PoetServices(context.Context, *PoetServicesRequest) (*PoetServicesResponse, error) -} - -// UnimplementedSmeshingIdentitiesServiceServer should be embedded to have forward compatible implementations. -type UnimplementedSmeshingIdentitiesServiceServer struct { -} - -func (UnimplementedSmeshingIdentitiesServiceServer) PoetServices(context.Context, *PoetServicesRequest) (*PoetServicesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method PoetServices not implemented") -} - -// UnsafeSmeshingIdentitiesServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to SmeshingIdentitiesServiceServer will -// result in compilation errors. -type UnsafeSmeshingIdentitiesServiceServer interface { - mustEmbedUnimplementedSmeshingIdentitiesServiceServer() -} - -func RegisterSmeshingIdentitiesServiceServer(s grpc.ServiceRegistrar, srv SmeshingIdentitiesServiceServer) { - s.RegisterService(&SmeshingIdentitiesService_ServiceDesc, srv) -} - -func _SmeshingIdentitiesService_PoetServices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PoetServicesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SmeshingIdentitiesServiceServer).PoetServices(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: SmeshingIdentitiesService_PoetServices_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SmeshingIdentitiesServiceServer).PoetServices(ctx, req.(*PoetServicesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -// SmeshingIdentitiesService_ServiceDesc is the grpc.ServiceDesc for SmeshingIdentitiesService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var SmeshingIdentitiesService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "spacemesh.v2alpha1.SmeshingIdentitiesService", - HandlerType: (*SmeshingIdentitiesServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "PoetServices", - Handler: _SmeshingIdentitiesService_PoetServices_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "spacemesh/v2alpha1/node_identities.proto", -} From 9c1f5905a15ba96aedb049d66602e88934c7871a Mon Sep 17 00:00:00 2001 From: Kacper Sawicki Date: Wed, 13 Nov 2024 13:05:56 +0100 Subject: [PATCH 09/41] Add smeshing identities states service --- .../v2alpha1/smeshing_identities.pb.go | 519 ++++++++++-------- .../v2alpha1/smeshing_identities.pb.gw.go | 32 +- .../v2alpha1/smeshing_identities_grpc.pb.go | 30 +- release/openapi/swagger/src/api.swagger.json | 153 +++--- spacemesh/v2alpha1/smeshing_identities.proto | 83 ++- 5 files changed, 445 insertions(+), 372 deletions(-) diff --git a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go index dd26b8a5..8900c167 100644 --- a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go +++ b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go @@ -26,31 +26,64 @@ const ( type IdentityStatus int32 const ( - IdentityStatus_UNSPECIFIED IdentityStatus = 0 - IdentityStatus_IS_SYNCING IdentityStatus = 1 - IdentityStatus_WAIT_FOR_POET_ROUND_START IdentityStatus = 2 - IdentityStatus_WAIT_FOR_POET_ROUND_END IdentityStatus = 3 - IdentityStatus_FETCHING_PROOFS IdentityStatus = 4 - IdentityStatus_POST_PROVING IdentityStatus = 5 + IdentityStatus_UNSPECIFIED IdentityStatus = 0 + IdentityStatus_ERROR IdentityStatus = 1 + IdentityStatus_WAIT_FOR_ATX_SYNCING IdentityStatus = 2 + IdentityStatus_GENERATING_INITIAL_POST_PROOF IdentityStatus = 3 + IdentityStatus_INITIAL_POST_PROOF_READY IdentityStatus = 4 + IdentityStatus_INITIAL_POST_PROOF_FAILED IdentityStatus = 5 + IdentityStatus_WAITING_FOR_POET_REGISTRATION_WINDOW IdentityStatus = 6 + IdentityStatus_POET_CHALLENGE_READY IdentityStatus = 7 + IdentityStatus_POET_REGISTERED IdentityStatus = 8 + IdentityStatus_WAIT_FOR_POET_ROUND_END IdentityStatus = 9 + IdentityStatus_POET_PROOF_RECEIVED IdentityStatus = 10 + IdentityStatus_POET_PROOF_FAILED IdentityStatus = 11 + IdentityStatus_GENERATING_POST_PROOF IdentityStatus = 12 + IdentityStatus_POST_PROOF_READY IdentityStatus = 13 + IdentityStatus_POST_PROOF_FAILED IdentityStatus = 14 + IdentityStatus_ATX_READY IdentityStatus = 15 + IdentityStatus_ATX_BROADCASTED IdentityStatus = 16 ) // Enum value maps for IdentityStatus. var ( IdentityStatus_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "IS_SYNCING", - 2: "WAIT_FOR_POET_ROUND_START", - 3: "WAIT_FOR_POET_ROUND_END", - 4: "FETCHING_PROOFS", - 5: "POST_PROVING", + 0: "UNSPECIFIED", + 1: "ERROR", + 2: "WAIT_FOR_ATX_SYNCING", + 3: "GENERATING_INITIAL_POST_PROOF", + 4: "INITIAL_POST_PROOF_READY", + 5: "INITIAL_POST_PROOF_FAILED", + 6: "WAITING_FOR_POET_REGISTRATION_WINDOW", + 7: "POET_CHALLENGE_READY", + 8: "POET_REGISTERED", + 9: "WAIT_FOR_POET_ROUND_END", + 10: "POET_PROOF_RECEIVED", + 11: "POET_PROOF_FAILED", + 12: "GENERATING_POST_PROOF", + 13: "POST_PROOF_READY", + 14: "POST_PROOF_FAILED", + 15: "ATX_READY", + 16: "ATX_BROADCASTED", } IdentityStatus_value = map[string]int32{ - "UNSPECIFIED": 0, - "IS_SYNCING": 1, - "WAIT_FOR_POET_ROUND_START": 2, - "WAIT_FOR_POET_ROUND_END": 3, - "FETCHING_PROOFS": 4, - "POST_PROVING": 5, + "UNSPECIFIED": 0, + "ERROR": 1, + "WAIT_FOR_ATX_SYNCING": 2, + "GENERATING_INITIAL_POST_PROOF": 3, + "INITIAL_POST_PROOF_READY": 4, + "INITIAL_POST_PROOF_FAILED": 5, + "WAITING_FOR_POET_REGISTRATION_WINDOW": 6, + "POET_CHALLENGE_READY": 7, + "POET_REGISTERED": 8, + "WAIT_FOR_POET_ROUND_END": 9, + "POET_PROOF_RECEIVED": 10, + "POET_PROOF_FAILED": 11, + "GENERATING_POST_PROOF": 12, + "POST_PROOF_READY": 13, + "POST_PROOF_FAILED": 14, + "ATX_READY": 15, + "ATX_BROADCASTED": 16, } ) @@ -81,69 +114,14 @@ func (IdentityStatus) EnumDescriptor() ([]byte, []int) { return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{0} } -type RegistrationStatus int32 - -const ( - RegistrationStatus_UNKNOWN RegistrationStatus = 0 - RegistrationStatus_SUCCESS_REG RegistrationStatus = 1 - RegistrationStatus_FAILED_REG RegistrationStatus = 2 - RegistrationStatus_RESIDUAL_REG RegistrationStatus = 3 - RegistrationStatus_NO_REG RegistrationStatus = 4 -) - -// Enum value maps for RegistrationStatus. -var ( - RegistrationStatus_name = map[int32]string{ - 0: "UNKNOWN", - 1: "SUCCESS_REG", - 2: "FAILED_REG", - 3: "RESIDUAL_REG", - 4: "NO_REG", - } - RegistrationStatus_value = map[string]int32{ - "UNKNOWN": 0, - "SUCCESS_REG": 1, - "FAILED_REG": 2, - "RESIDUAL_REG": 3, - "NO_REG": 4, - } -) - -func (x RegistrationStatus) Enum() *RegistrationStatus { - p := new(RegistrationStatus) - *p = x - return p -} - -func (x RegistrationStatus) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (RegistrationStatus) Descriptor() protoreflect.EnumDescriptor { - return file_spacemesh_v2alpha1_smeshing_identities_proto_enumTypes[1].Descriptor() -} - -func (RegistrationStatus) Type() protoreflect.EnumType { - return &file_spacemesh_v2alpha1_smeshing_identities_proto_enumTypes[1] -} - -func (x RegistrationStatus) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use RegistrationStatus.Descriptor instead. -func (RegistrationStatus) EnumDescriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{1} -} - -type PoetServicesRequest struct { +type IdentityStatesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *PoetServicesRequest) Reset() { - *x = PoetServicesRequest{} +func (x *IdentityStatesRequest) Reset() { + *x = IdentityStatesRequest{} if protoimpl.UnsafeEnabled { mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -151,13 +129,13 @@ func (x *PoetServicesRequest) Reset() { } } -func (x *PoetServicesRequest) String() string { +func (x *IdentityStatesRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*PoetServicesRequest) ProtoMessage() {} +func (*IdentityStatesRequest) ProtoMessage() {} -func (x *PoetServicesRequest) ProtoReflect() protoreflect.Message { +func (x *IdentityStatesRequest) ProtoReflect() protoreflect.Message { mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -169,21 +147,34 @@ func (x *PoetServicesRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use PoetServicesRequest.ProtoReflect.Descriptor instead. -func (*PoetServicesRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use IdentityStatesRequest.ProtoReflect.Descriptor instead. +func (*IdentityStatesRequest) Descriptor() ([]byte, []int) { return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{0} } -type PoetServicesResponse struct { +// type IdentityStateInfo struct { +// Date string +// } +// +// type IdentityInfo struct { +// States map[IdentityState]IdentityStateInfo +// } +// +// type IdentityStateStorage struct { +// mu sync.RWMutex +// states map[types.NodeID]*IdentityInfo +// } +type IdentityStateEpoch struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Identities []*PoetServicesResponse_Identity `protobuf:"bytes,3,rep,name=identities,proto3" json:"identities,omitempty"` + Epoch uint32 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"` + States []*IdentityState `protobuf:"bytes,2,rep,name=states,proto3" json:"states,omitempty"` } -func (x *PoetServicesResponse) Reset() { - *x = PoetServicesResponse{} +func (x *IdentityStateEpoch) Reset() { + *x = IdentityStateEpoch{} if protoimpl.UnsafeEnabled { mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -191,13 +182,13 @@ func (x *PoetServicesResponse) Reset() { } } -func (x *PoetServicesResponse) String() string { +func (x *IdentityStateEpoch) String() string { return protoimpl.X.MessageStringOf(x) } -func (*PoetServicesResponse) ProtoMessage() {} +func (*IdentityStateEpoch) ProtoMessage() {} -func (x *PoetServicesResponse) ProtoReflect() protoreflect.Message { +func (x *IdentityStateEpoch) ProtoReflect() protoreflect.Message { mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -209,30 +200,36 @@ func (x *PoetServicesResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use PoetServicesResponse.ProtoReflect.Descriptor instead. -func (*PoetServicesResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use IdentityStateEpoch.ProtoReflect.Descriptor instead. +func (*IdentityStateEpoch) Descriptor() ([]byte, []int) { return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{1} } -func (x *PoetServicesResponse) GetIdentities() []*PoetServicesResponse_Identity { +func (x *IdentityStateEpoch) GetEpoch() uint32 { if x != nil { - return x.Identities + return x.Epoch + } + return 0 +} + +func (x *IdentityStateEpoch) GetStates() []*IdentityState { + if x != nil { + return x.States } return nil } -type PoetServicesResponse_Identity struct { +type IdentityState struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - SmesherId []byte `protobuf:"bytes,1,opt,name=smesher_id,json=smesherId,proto3" json:"smesher_id,omitempty"` - Status IdentityStatus `protobuf:"varint,2,opt,name=status,proto3,enum=spacemesh.v2alpha1.IdentityStatus" json:"status,omitempty"` - PoetInfos []*PoetServicesResponse_Identity_PoetInfo `protobuf:"bytes,3,rep,name=poet_infos,json=poetInfos,proto3" json:"poet_infos,omitempty"` + State string `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` + Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` } -func (x *PoetServicesResponse_Identity) Reset() { - *x = PoetServicesResponse_Identity{} +func (x *IdentityState) Reset() { + *x = IdentityState{} if protoimpl.UnsafeEnabled { mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -240,13 +237,13 @@ func (x *PoetServicesResponse_Identity) Reset() { } } -func (x *PoetServicesResponse_Identity) String() string { +func (x *IdentityState) String() string { return protoimpl.X.MessageStringOf(x) } -func (*PoetServicesResponse_Identity) ProtoMessage() {} +func (*IdentityState) ProtoMessage() {} -func (x *PoetServicesResponse_Identity) ProtoReflect() protoreflect.Message { +func (x *IdentityState) ProtoReflect() protoreflect.Message { mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -258,45 +255,37 @@ func (x *PoetServicesResponse_Identity) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use PoetServicesResponse_Identity.ProtoReflect.Descriptor instead. -func (*PoetServicesResponse_Identity) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{1, 0} +// Deprecated: Use IdentityState.ProtoReflect.Descriptor instead. +func (*IdentityState) Descriptor() ([]byte, []int) { + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{2} } -func (x *PoetServicesResponse_Identity) GetSmesherId() []byte { +func (x *IdentityState) GetState() string { if x != nil { - return x.SmesherId + return x.State } - return nil -} - -func (x *PoetServicesResponse_Identity) GetStatus() IdentityStatus { - if x != nil { - return x.Status - } - return IdentityStatus_UNSPECIFIED + return "" } -func (x *PoetServicesResponse_Identity) GetPoetInfos() []*PoetServicesResponse_Identity_PoetInfo { +func (x *IdentityState) GetTime() *timestamppb.Timestamp { if x != nil { - return x.PoetInfos + return x.Time } return nil } -type PoetServicesResponse_Identity_PoetInfo struct { +type Identity struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` - PoetRoundEnd *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=poet_round_end,json=poetRoundEnd,proto3" json:"poet_round_end,omitempty"` - RegistrationStatus RegistrationStatus `protobuf:"varint,3,opt,name=registration_status,json=registrationStatus,proto3,enum=spacemesh.v2alpha1.RegistrationStatus" json:"registration_status,omitempty"` - Warning string `protobuf:"bytes,4,opt,name=warning,proto3" json:"warning,omitempty"` + SmesherId []byte `protobuf:"bytes,1,opt,name=smesher_id,json=smesherId,proto3" json:"smesher_id,omitempty"` + Epochs []*IdentityStateEpoch `protobuf:"bytes,2,rep,name=epochs,proto3" json:"epochs,omitempty"` + OtherStates []*IdentityState `protobuf:"bytes,3,rep,name=other_states,json=otherStates,proto3" json:"other_states,omitempty"` } -func (x *PoetServicesResponse_Identity_PoetInfo) Reset() { - *x = PoetServicesResponse_Identity_PoetInfo{} +func (x *Identity) Reset() { + *x = Identity{} if protoimpl.UnsafeEnabled { mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -304,13 +293,13 @@ func (x *PoetServicesResponse_Identity_PoetInfo) Reset() { } } -func (x *PoetServicesResponse_Identity_PoetInfo) String() string { +func (x *Identity) String() string { return protoimpl.X.MessageStringOf(x) } -func (*PoetServicesResponse_Identity_PoetInfo) ProtoMessage() {} +func (*Identity) ProtoMessage() {} -func (x *PoetServicesResponse_Identity_PoetInfo) ProtoReflect() protoreflect.Message { +func (x *Identity) ProtoReflect() protoreflect.Message { mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -322,37 +311,77 @@ func (x *PoetServicesResponse_Identity_PoetInfo) ProtoReflect() protoreflect.Mes return mi.MessageOf(x) } -// Deprecated: Use PoetServicesResponse_Identity_PoetInfo.ProtoReflect.Descriptor instead. -func (*PoetServicesResponse_Identity_PoetInfo) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{1, 0, 0} +// Deprecated: Use Identity.ProtoReflect.Descriptor instead. +func (*Identity) Descriptor() ([]byte, []int) { + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{3} } -func (x *PoetServicesResponse_Identity_PoetInfo) GetUrl() string { +func (x *Identity) GetSmesherId() []byte { if x != nil { - return x.Url + return x.SmesherId } - return "" + return nil } -func (x *PoetServicesResponse_Identity_PoetInfo) GetPoetRoundEnd() *timestamppb.Timestamp { +func (x *Identity) GetEpochs() []*IdentityStateEpoch { if x != nil { - return x.PoetRoundEnd + return x.Epochs } return nil } -func (x *PoetServicesResponse_Identity_PoetInfo) GetRegistrationStatus() RegistrationStatus { +func (x *Identity) GetOtherStates() []*IdentityState { if x != nil { - return x.RegistrationStatus + return x.OtherStates } - return RegistrationStatus_UNKNOWN + return nil } -func (x *PoetServicesResponse_Identity_PoetInfo) GetWarning() string { +type IdentityStatesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Identities []*Identity `protobuf:"bytes,3,rep,name=identities,proto3" json:"identities,omitempty"` +} + +func (x *IdentityStatesResponse) Reset() { + *x = IdentityStatesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IdentityStatesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IdentityStatesResponse) ProtoMessage() {} + +func (x *IdentityStatesResponse) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IdentityStatesResponse.ProtoReflect.Descriptor instead. +func (*IdentityStatesResponse) Descriptor() ([]byte, []int) { + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{4} +} + +func (x *IdentityStatesResponse) GetIdentities() []*Identity { if x != nil { - return x.Warning + return x.Identities } - return "" + return nil } var File_spacemesh_v2alpha1_smeshing_identities_proto protoreflect.FileDescriptor @@ -367,81 +396,89 @@ var file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc = []byte{ 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, - 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x15, - 0x0a, 0x13, 0x50, 0x6f, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x80, 0x04, 0x0a, 0x14, 0x50, 0x6f, 0x65, 0x74, 0x53, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x51, - 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, - 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x49, 0x64, 0x65, - 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, - 0x73, 0x1a, 0x94, 0x03, 0x0a, 0x08, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x1d, - 0x0a, 0x0a, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x09, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x49, 0x64, 0x12, 0x3a, 0x0a, - 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, + 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x17, + 0x0a, 0x15, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x65, 0x0a, 0x12, 0x49, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x14, 0x0a, + 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x65, 0x70, + 0x6f, 0x63, 0x68, 0x12, 0x39, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, + 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x65, 0x73, 0x22, 0x55, + 0x0a, 0x0d, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, + 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, + 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, + 0x04, 0x74, 0x69, 0x6d, 0x65, 0x22, 0xaf, 0x01, 0x0a, 0x08, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x49, + 0x64, 0x12, 0x3e, 0x0a, 0x06, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x52, 0x06, 0x65, 0x70, 0x6f, 0x63, 0x68, + 0x73, 0x12, 0x44, 0x0a, 0x0c, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, + 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, + 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0b, 0x6f, 0x74, 0x68, 0x65, + 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x22, 0x56, 0x0a, 0x16, 0x49, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x3c, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, + 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, + 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2a, + 0xb8, 0x03, 0x0a, 0x0e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, + 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x01, 0x12, 0x18, + 0x0a, 0x14, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x41, 0x54, 0x58, 0x5f, 0x53, + 0x59, 0x4e, 0x43, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x21, 0x0a, 0x1d, 0x47, 0x45, 0x4e, 0x45, + 0x52, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x49, 0x4e, 0x49, 0x54, 0x49, 0x41, 0x4c, 0x5f, 0x50, + 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x10, 0x03, 0x12, 0x1c, 0x0a, 0x18, 0x49, + 0x4e, 0x49, 0x54, 0x49, 0x41, 0x4c, 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, + 0x46, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x04, 0x12, 0x1d, 0x0a, 0x19, 0x49, 0x4e, 0x49, + 0x54, 0x49, 0x41, 0x4c, 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, + 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x05, 0x12, 0x28, 0x0a, 0x24, 0x57, 0x41, 0x49, 0x54, + 0x49, 0x4e, 0x47, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, + 0x49, 0x53, 0x54, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x57, 0x49, 0x4e, 0x44, 0x4f, 0x57, + 0x10, 0x06, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4c, 0x4c, + 0x45, 0x4e, 0x47, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x07, 0x12, 0x13, 0x0a, 0x0f, + 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x45, 0x52, 0x45, 0x44, 0x10, + 0x08, 0x12, 0x1b, 0x0a, 0x17, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, + 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x55, 0x4e, 0x44, 0x5f, 0x45, 0x4e, 0x44, 0x10, 0x09, 0x12, 0x17, + 0x0a, 0x13, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x43, + 0x45, 0x49, 0x56, 0x45, 0x44, 0x10, 0x0a, 0x12, 0x15, 0x0a, 0x11, 0x50, 0x4f, 0x45, 0x54, 0x5f, + 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x0b, 0x12, 0x19, + 0x0a, 0x15, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x4f, 0x53, + 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x10, 0x0c, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x4f, 0x53, + 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x0d, 0x12, + 0x15, 0x0a, 0x11, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x46, 0x41, + 0x49, 0x4c, 0x45, 0x44, 0x10, 0x0e, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x54, 0x58, 0x5f, 0x52, 0x45, + 0x41, 0x44, 0x59, 0x10, 0x0f, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x54, 0x58, 0x5f, 0x42, 0x52, 0x4f, + 0x41, 0x44, 0x43, 0x41, 0x53, 0x54, 0x45, 0x44, 0x10, 0x10, 0x32, 0x8a, 0x01, 0x0a, 0x19, 0x53, + 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, + 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x61, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x73, 0x12, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, + 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x59, 0x0a, 0x0a, 0x70, 0x6f, 0x65, - 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, + 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x1a, 0x0a, 0xfa, 0xd2, 0xe4, + 0x93, 0x02, 0x04, 0x12, 0x02, 0x56, 0x32, 0x42, 0xe6, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, - 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x70, 0x6f, 0x65, 0x74, 0x49, - 0x6e, 0x66, 0x6f, 0x73, 0x1a, 0xd1, 0x01, 0x0a, 0x08, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, - 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, - 0x75, 0x72, 0x6c, 0x12, 0x40, 0x0a, 0x0e, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x72, 0x6f, 0x75, 0x6e, - 0x64, 0x5f, 0x65, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, - 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, 0x70, 0x6f, 0x65, 0x74, 0x52, 0x6f, 0x75, - 0x6e, 0x64, 0x45, 0x6e, 0x64, 0x12, 0x57, 0x0a, 0x13, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, - 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x12, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x18, - 0x0a, 0x07, 0x77, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x07, 0x77, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x2a, 0x94, 0x01, 0x0a, 0x0e, 0x49, 0x64, 0x65, - 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0f, 0x0a, 0x0b, 0x55, - 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, - 0x49, 0x53, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x1d, 0x0a, 0x19, - 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x4f, - 0x55, 0x4e, 0x44, 0x5f, 0x53, 0x54, 0x41, 0x52, 0x54, 0x10, 0x02, 0x12, 0x1b, 0x0a, 0x17, 0x57, - 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x55, - 0x4e, 0x44, 0x5f, 0x45, 0x4e, 0x44, 0x10, 0x03, 0x12, 0x13, 0x0a, 0x0f, 0x46, 0x45, 0x54, 0x43, - 0x48, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x53, 0x10, 0x04, 0x12, 0x10, 0x0a, - 0x0c, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x56, 0x49, 0x4e, 0x47, 0x10, 0x05, 0x2a, - 0x60, 0x0a, 0x12, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, - 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x53, 0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x5f, 0x52, 0x45, - 0x47, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x5f, 0x52, 0x45, - 0x47, 0x10, 0x02, 0x12, 0x10, 0x0a, 0x0c, 0x52, 0x45, 0x53, 0x49, 0x44, 0x55, 0x41, 0x4c, 0x5f, - 0x52, 0x45, 0x47, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x4e, 0x4f, 0x5f, 0x52, 0x45, 0x47, 0x10, - 0x04, 0x32, 0x8c, 0x01, 0x0a, 0x19, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, - 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, - 0x63, 0x0a, 0x0c, 0x50, 0x6f, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, - 0x27, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, - 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x1a, 0x0a, 0xfa, 0xd2, 0xe4, 0x93, 0x02, 0x04, 0x12, 0x02, 0x56, 0x32, - 0x42, 0xe6, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, - 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x17, 0x53, 0x6d, 0x65, - 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x50, - 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, - 0x6f, 0x6d, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, - 0x70, 0x69, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x3b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, - 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x12, - 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0xe2, 0x02, 0x1e, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, - 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, - 0x61, 0x74, 0x61, 0xea, 0x02, 0x13, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x3a, - 0x3a, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, + 0x61, 0x31, 0x42, 0x17, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, + 0x65, 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, + 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, + 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, + 0x68, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, + 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x56, 0x32, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, + 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x1e, 0x53, 0x70, 0x61, 0x63, + 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, + 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x13, 0x53, 0x70, 0x61, + 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x3a, 0x3a, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -456,25 +493,25 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP() []byte { return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescData } -var file_spacemesh_v2alpha1_smeshing_identities_proto_enumTypes = make([]protoimpl.EnumInfo, 2) -var file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_spacemesh_v2alpha1_smeshing_identities_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes = make([]protoimpl.MessageInfo, 5) var file_spacemesh_v2alpha1_smeshing_identities_proto_goTypes = []interface{}{ - (IdentityStatus)(0), // 0: spacemesh.v2alpha1.IdentityStatus - (RegistrationStatus)(0), // 1: spacemesh.v2alpha1.RegistrationStatus - (*PoetServicesRequest)(nil), // 2: spacemesh.v2alpha1.PoetServicesRequest - (*PoetServicesResponse)(nil), // 3: spacemesh.v2alpha1.PoetServicesResponse - (*PoetServicesResponse_Identity)(nil), // 4: spacemesh.v2alpha1.PoetServicesResponse.Identity - (*PoetServicesResponse_Identity_PoetInfo)(nil), // 5: spacemesh.v2alpha1.PoetServicesResponse.Identity.PoetInfo - (*timestamppb.Timestamp)(nil), // 6: google.protobuf.Timestamp + (IdentityStatus)(0), // 0: spacemesh.v2alpha1.IdentityStatus + (*IdentityStatesRequest)(nil), // 1: spacemesh.v2alpha1.IdentityStatesRequest + (*IdentityStateEpoch)(nil), // 2: spacemesh.v2alpha1.IdentityStateEpoch + (*IdentityState)(nil), // 3: spacemesh.v2alpha1.IdentityState + (*Identity)(nil), // 4: spacemesh.v2alpha1.Identity + (*IdentityStatesResponse)(nil), // 5: spacemesh.v2alpha1.IdentityStatesResponse + (*timestamppb.Timestamp)(nil), // 6: google.protobuf.Timestamp } var file_spacemesh_v2alpha1_smeshing_identities_proto_depIdxs = []int32{ - 4, // 0: spacemesh.v2alpha1.PoetServicesResponse.identities:type_name -> spacemesh.v2alpha1.PoetServicesResponse.Identity - 0, // 1: spacemesh.v2alpha1.PoetServicesResponse.Identity.status:type_name -> spacemesh.v2alpha1.IdentityStatus - 5, // 2: spacemesh.v2alpha1.PoetServicesResponse.Identity.poet_infos:type_name -> spacemesh.v2alpha1.PoetServicesResponse.Identity.PoetInfo - 6, // 3: spacemesh.v2alpha1.PoetServicesResponse.Identity.PoetInfo.poet_round_end:type_name -> google.protobuf.Timestamp - 1, // 4: spacemesh.v2alpha1.PoetServicesResponse.Identity.PoetInfo.registration_status:type_name -> spacemesh.v2alpha1.RegistrationStatus - 2, // 5: spacemesh.v2alpha1.SmeshingIdentitiesService.PoetServices:input_type -> spacemesh.v2alpha1.PoetServicesRequest - 3, // 6: spacemesh.v2alpha1.SmeshingIdentitiesService.PoetServices:output_type -> spacemesh.v2alpha1.PoetServicesResponse + 3, // 0: spacemesh.v2alpha1.IdentityStateEpoch.states:type_name -> spacemesh.v2alpha1.IdentityState + 6, // 1: spacemesh.v2alpha1.IdentityState.time:type_name -> google.protobuf.Timestamp + 2, // 2: spacemesh.v2alpha1.Identity.epochs:type_name -> spacemesh.v2alpha1.IdentityStateEpoch + 3, // 3: spacemesh.v2alpha1.Identity.other_states:type_name -> spacemesh.v2alpha1.IdentityState + 4, // 4: spacemesh.v2alpha1.IdentityStatesResponse.identities:type_name -> spacemesh.v2alpha1.Identity + 1, // 5: spacemesh.v2alpha1.SmeshingIdentitiesService.States:input_type -> spacemesh.v2alpha1.IdentityStatesRequest + 5, // 6: spacemesh.v2alpha1.SmeshingIdentitiesService.States:output_type -> spacemesh.v2alpha1.IdentityStatesResponse 6, // [6:7] is the sub-list for method output_type 5, // [5:6] is the sub-list for method input_type 5, // [5:5] is the sub-list for extension type_name @@ -489,7 +526,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } if !protoimpl.UnsafeEnabled { file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PoetServicesRequest); i { + switch v := v.(*IdentityStatesRequest); i { case 0: return &v.state case 1: @@ -501,7 +538,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PoetServicesResponse); i { + switch v := v.(*IdentityStateEpoch); i { case 0: return &v.state case 1: @@ -513,7 +550,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PoetServicesResponse_Identity); i { + switch v := v.(*IdentityState); i { case 0: return &v.state case 1: @@ -525,7 +562,19 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PoetServicesResponse_Identity_PoetInfo); i { + switch v := v.(*Identity); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IdentityStatesResponse); i { case 0: return &v.state case 1: @@ -542,8 +591,8 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc, - NumEnums: 2, - NumMessages: 4, + NumEnums: 1, + NumMessages: 5, NumExtensions: 0, NumServices: 1, }, diff --git a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.gw.go b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.gw.go index e09df335..9c44617a 100644 --- a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.gw.go +++ b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.gw.go @@ -31,28 +31,28 @@ var _ = runtime.String var _ = utilities.NewDoubleArray var _ = metadata.Join -func request_SmeshingIdentitiesService_PoetServices_0(ctx context.Context, marshaler runtime.Marshaler, client SmeshingIdentitiesServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq PoetServicesRequest +func request_SmeshingIdentitiesService_States_0(ctx context.Context, marshaler runtime.Marshaler, client SmeshingIdentitiesServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq IdentityStatesRequest var metadata runtime.ServerMetadata if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - msg, err := client.PoetServices(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + msg, err := client.States(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err } -func local_request_SmeshingIdentitiesService_PoetServices_0(ctx context.Context, marshaler runtime.Marshaler, server SmeshingIdentitiesServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq PoetServicesRequest +func local_request_SmeshingIdentitiesService_States_0(ctx context.Context, marshaler runtime.Marshaler, server SmeshingIdentitiesServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq IdentityStatesRequest var metadata runtime.ServerMetadata if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - msg, err := server.PoetServices(ctx, &protoReq) + msg, err := server.States(ctx, &protoReq) return msg, metadata, err } @@ -63,7 +63,7 @@ func local_request_SmeshingIdentitiesService_PoetServices_0(ctx context.Context, // Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterSmeshingIdentitiesServiceHandlerFromEndpoint instead. func RegisterSmeshingIdentitiesServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SmeshingIdentitiesServiceServer) error { - mux.Handle("POST", pattern_SmeshingIdentitiesService_PoetServices_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_SmeshingIdentitiesService_States_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream @@ -71,12 +71,12 @@ func RegisterSmeshingIdentitiesServiceHandlerServer(ctx context.Context, mux *ru inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) var err error var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/spacemesh.v2alpha1.SmeshingIdentitiesService/PoetServices", runtime.WithHTTPPathPattern("/spacemesh.v2alpha1.SmeshingIdentitiesService/PoetServices")) + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/spacemesh.v2alpha1.SmeshingIdentitiesService/States", runtime.WithHTTPPathPattern("/spacemesh.v2alpha1.SmeshingIdentitiesService/States")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_SmeshingIdentitiesService_PoetServices_0(annotatedContext, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_SmeshingIdentitiesService_States_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { @@ -84,7 +84,7 @@ func RegisterSmeshingIdentitiesServiceHandlerServer(ctx context.Context, mux *ru return } - forward_SmeshingIdentitiesService_PoetServices_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_SmeshingIdentitiesService_States_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) @@ -129,25 +129,25 @@ func RegisterSmeshingIdentitiesServiceHandler(ctx context.Context, mux *runtime. // "SmeshingIdentitiesServiceClient" to call the correct interceptors. func RegisterSmeshingIdentitiesServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SmeshingIdentitiesServiceClient) error { - mux.Handle("POST", pattern_SmeshingIdentitiesService_PoetServices_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_SmeshingIdentitiesService_States_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) var err error var annotatedContext context.Context - annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/spacemesh.v2alpha1.SmeshingIdentitiesService/PoetServices", runtime.WithHTTPPathPattern("/spacemesh.v2alpha1.SmeshingIdentitiesService/PoetServices")) + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/spacemesh.v2alpha1.SmeshingIdentitiesService/States", runtime.WithHTTPPathPattern("/spacemesh.v2alpha1.SmeshingIdentitiesService/States")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_SmeshingIdentitiesService_PoetServices_0(annotatedContext, inboundMarshaler, client, req, pathParams) + resp, md, err := request_SmeshingIdentitiesService_States_0(annotatedContext, inboundMarshaler, client, req, pathParams) annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_SmeshingIdentitiesService_PoetServices_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_SmeshingIdentitiesService_States_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) @@ -155,9 +155,9 @@ func RegisterSmeshingIdentitiesServiceHandlerClient(ctx context.Context, mux *ru } var ( - pattern_SmeshingIdentitiesService_PoetServices_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"spacemesh.v2alpha1.SmeshingIdentitiesService", "PoetServices"}, "")) + pattern_SmeshingIdentitiesService_States_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"spacemesh.v2alpha1.SmeshingIdentitiesService", "States"}, "")) ) var ( - forward_SmeshingIdentitiesService_PoetServices_0 = runtime.ForwardResponseMessage + forward_SmeshingIdentitiesService_States_0 = runtime.ForwardResponseMessage ) diff --git a/release/go/spacemesh/v2alpha1/smeshing_identities_grpc.pb.go b/release/go/spacemesh/v2alpha1/smeshing_identities_grpc.pb.go index 848d2ea0..1b4156bb 100644 --- a/release/go/spacemesh/v2alpha1/smeshing_identities_grpc.pb.go +++ b/release/go/spacemesh/v2alpha1/smeshing_identities_grpc.pb.go @@ -19,7 +19,7 @@ import ( const _ = grpc.SupportPackageIsVersion7 const ( - SmeshingIdentitiesService_PoetServices_FullMethodName = "/spacemesh.v2alpha1.SmeshingIdentitiesService/PoetServices" + SmeshingIdentitiesService_States_FullMethodName = "/spacemesh.v2alpha1.SmeshingIdentitiesService/States" ) // SmeshingIdentitiesServiceClient is the client API for SmeshingIdentitiesService service. @@ -28,7 +28,7 @@ const ( type SmeshingIdentitiesServiceClient interface { // Returns set of configured poet addresses and poets addresses from registrations, if given, // and warning in case, if there are registrations with poets, which are not in configured poets set. - PoetServices(ctx context.Context, in *PoetServicesRequest, opts ...grpc.CallOption) (*PoetServicesResponse, error) + States(ctx context.Context, in *IdentityStatesRequest, opts ...grpc.CallOption) (*IdentityStatesResponse, error) } type smeshingIdentitiesServiceClient struct { @@ -39,9 +39,9 @@ func NewSmeshingIdentitiesServiceClient(cc grpc.ClientConnInterface) SmeshingIde return &smeshingIdentitiesServiceClient{cc} } -func (c *smeshingIdentitiesServiceClient) PoetServices(ctx context.Context, in *PoetServicesRequest, opts ...grpc.CallOption) (*PoetServicesResponse, error) { - out := new(PoetServicesResponse) - err := c.cc.Invoke(ctx, SmeshingIdentitiesService_PoetServices_FullMethodName, in, out, opts...) +func (c *smeshingIdentitiesServiceClient) States(ctx context.Context, in *IdentityStatesRequest, opts ...grpc.CallOption) (*IdentityStatesResponse, error) { + out := new(IdentityStatesResponse) + err := c.cc.Invoke(ctx, SmeshingIdentitiesService_States_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -54,15 +54,15 @@ func (c *smeshingIdentitiesServiceClient) PoetServices(ctx context.Context, in * type SmeshingIdentitiesServiceServer interface { // Returns set of configured poet addresses and poets addresses from registrations, if given, // and warning in case, if there are registrations with poets, which are not in configured poets set. - PoetServices(context.Context, *PoetServicesRequest) (*PoetServicesResponse, error) + States(context.Context, *IdentityStatesRequest) (*IdentityStatesResponse, error) } // UnimplementedSmeshingIdentitiesServiceServer should be embedded to have forward compatible implementations. type UnimplementedSmeshingIdentitiesServiceServer struct { } -func (UnimplementedSmeshingIdentitiesServiceServer) PoetServices(context.Context, *PoetServicesRequest) (*PoetServicesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method PoetServices not implemented") +func (UnimplementedSmeshingIdentitiesServiceServer) States(context.Context, *IdentityStatesRequest) (*IdentityStatesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method States not implemented") } // UnsafeSmeshingIdentitiesServiceServer may be embedded to opt out of forward compatibility for this service. @@ -76,20 +76,20 @@ func RegisterSmeshingIdentitiesServiceServer(s grpc.ServiceRegistrar, srv Smeshi s.RegisterService(&SmeshingIdentitiesService_ServiceDesc, srv) } -func _SmeshingIdentitiesService_PoetServices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PoetServicesRequest) +func _SmeshingIdentitiesService_States_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(IdentityStatesRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(SmeshingIdentitiesServiceServer).PoetServices(ctx, in) + return srv.(SmeshingIdentitiesServiceServer).States(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: SmeshingIdentitiesService_PoetServices_FullMethodName, + FullMethod: SmeshingIdentitiesService_States_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SmeshingIdentitiesServiceServer).PoetServices(ctx, req.(*PoetServicesRequest)) + return srv.(SmeshingIdentitiesServiceServer).States(ctx, req.(*IdentityStatesRequest)) } return interceptor(ctx, in, info, handler) } @@ -102,8 +102,8 @@ var SmeshingIdentitiesService_ServiceDesc = grpc.ServiceDesc{ HandlerType: (*SmeshingIdentitiesServiceServer)(nil), Methods: []grpc.MethodDesc{ { - MethodName: "PoetServices", - Handler: _SmeshingIdentitiesService_PoetServices_Handler, + MethodName: "States", + Handler: _SmeshingIdentitiesService_States_Handler, }, }, Streams: []grpc.StreamDesc{}, diff --git a/release/openapi/swagger/src/api.swagger.json b/release/openapi/swagger/src/api.swagger.json index 9ca8f00e..be721b1b 100644 --- a/release/openapi/swagger/src/api.swagger.json +++ b/release/openapi/swagger/src/api.swagger.json @@ -279,20 +279,20 @@ } } }, - "/spacemesh.v2alpha1.SmeshingIdentitiesService/PoetServices": { + "/spacemesh.v2alpha1.SmeshingIdentitiesService/States": { "post": { "tags": [ "SmeshingIdentitiesService" ], "summary": "Returns set of configured poet addresses and poets addresses from registrations, if given,\nand warning in case, if there are registrations with poets, which are not in configured poets set.", - "operationId": "SmeshingIdentitiesService_PoetServices", + "operationId": "SmeshingIdentitiesService_States", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v2alpha1PoetServicesRequest" + "$ref": "#/definitions/v2alpha1IdentityStatesRequest" } } ], @@ -300,7 +300,7 @@ "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v2alpha1PoetServicesResponse" + "$ref": "#/definitions/v2alpha1IdentityStatesResponse" } }, "default": { @@ -442,24 +442,6 @@ } }, "definitions": { - "IdentityPoetInfo": { - "type": "object", - "properties": { - "poetRoundEnd": { - "type": "string", - "format": "date-time" - }, - "registrationStatus": { - "$ref": "#/definitions/v2alpha1RegistrationStatus" - }, - "url": { - "type": "string" - }, - "warning": { - "type": "string" - } - } - }, "MalfeasanceProofMalfeasanceDomain": { "type": "string", "title": "- DOMAIN_UNSPECIFIED: for legacy proofs", @@ -478,25 +460,6 @@ "SYNC_STATUS_SYNCED" ] }, - "PoetServicesResponseIdentity": { - "type": "object", - "properties": { - "poetInfos": { - "type": "array", - "items": { - "type": "object", - "$ref": "#/definitions/IdentityPoetInfo" - } - }, - "smesherId": { - "type": "string", - "format": "byte" - }, - "status": { - "$ref": "#/definitions/v2alpha1IdentityStatus" - } - } - }, "TransactionTransactionType": { "type": "string", "default": "TRANSACTION_TYPE_UNSPECIFIED", @@ -537,11 +500,11 @@ } }, "protobufAny": { - "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }", + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\nExample 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\nExample 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }", "type": "object", "properties": { "@type": { - "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics.", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics.", "type": "string" } }, @@ -1154,17 +1117,73 @@ } } }, - "v2alpha1IdentityStatus": { - "type": "string", - "default": "UNSPECIFIED", - "enum": [ - "UNSPECIFIED", - "IS_SYNCING", - "WAIT_FOR_POET_ROUND_START", - "WAIT_FOR_POET_ROUND_END", - "FETCHING_PROOFS", - "POST_PROVING" - ] + "v2alpha1Identity": { + "type": "object", + "properties": { + "epochs": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/v2alpha1IdentityStateEpoch" + } + }, + "otherStates": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/v2alpha1IdentityState" + } + }, + "smesherId": { + "type": "string", + "format": "byte" + } + } + }, + "v2alpha1IdentityState": { + "type": "object", + "properties": { + "state": { + "type": "string" + }, + "time": { + "type": "string", + "format": "date-time" + } + } + }, + "v2alpha1IdentityStateEpoch": { + "description": "type IdentityInfo struct {\n\tStates map[IdentityState]IdentityStateInfo\n}\n\ntype IdentityStateStorage struct {\n\tmu sync.RWMutex\n\tstates map[types.NodeID]*IdentityInfo\n}", + "type": "object", + "title": "type IdentityStateInfo struct {\n\tDate string\n}", + "properties": { + "epoch": { + "type": "integer", + "format": "int64" + }, + "states": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/v2alpha1IdentityState" + } + } + } + }, + "v2alpha1IdentityStatesRequest": { + "type": "object" + }, + "v2alpha1IdentityStatesResponse": { + "type": "object", + "properties": { + "identities": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/v2alpha1Identity" + } + } + } }, "v2alpha1LayerList": { "type": "object", @@ -1256,32 +1275,6 @@ } } }, - "v2alpha1PoetServicesRequest": { - "type": "object" - }, - "v2alpha1PoetServicesResponse": { - "type": "object", - "properties": { - "identities": { - "type": "array", - "items": { - "type": "object", - "$ref": "#/definitions/PoetServicesResponseIdentity" - } - } - } - }, - "v2alpha1RegistrationStatus": { - "type": "string", - "default": "UNKNOWN", - "enum": [ - "UNKNOWN", - "SUCCESS_REG", - "FAILED_REG", - "RESIDUAL_REG", - "NO_REG" - ] - }, "v2alpha1RewardList": { "type": "object", "properties": { diff --git a/spacemesh/v2alpha1/smeshing_identities.proto b/spacemesh/v2alpha1/smeshing_identities.proto index 37b30ce1..5885f0fe 100644 --- a/spacemesh/v2alpha1/smeshing_identities.proto +++ b/spacemesh/v2alpha1/smeshing_identities.proto @@ -6,39 +6,70 @@ import "google/protobuf/timestamp.proto"; package spacemesh.v2alpha1; -message PoetServicesRequest {} +message IdentityStatesRequest {} enum IdentityStatus { UNSPECIFIED = 0; - IS_SYNCING = 1; - WAIT_FOR_POET_ROUND_START = 2; - WAIT_FOR_POET_ROUND_END = 3; - FETCHING_PROOFS = 4; - POST_PROVING = 5; + ERROR = 1; + + WAIT_FOR_ATX_SYNCING = 2; + GENERATING_INITIAL_POST_PROOF = 3; + INITIAL_POST_PROOF_READY = 4; + INITIAL_POST_PROOF_FAILED = 5; + + WAITING_FOR_POET_REGISTRATION_WINDOW = 6; + POET_CHALLENGE_READY = 7; + POET_REGISTERED = 8; + WAIT_FOR_POET_ROUND_END = 9; + POET_PROOF_RECEIVED = 10; + POET_PROOF_FAILED = 11; + + GENERATING_POST_PROOF = 12; + POST_PROOF_READY = 13; + POST_PROOF_FAILED = 14; + + ATX_READY = 15; + ATX_BROADCASTED = 16; } -enum RegistrationStatus { - UNKNOWN = 0; - SUCCESS_REG = 1; - FAILED_REG = 2; - RESIDUAL_REG = 3; - NO_REG = 4; +//enum RegistrationStatus { +// UNKNOWN = 0; +// SUCCESS_REG = 1; +// FAILED_REG = 2; +// RESIDUAL_REG = 3; +// NO_REG = 4; +//} + +//type IdentityStateInfo struct { +// Date string +//} +// +//type IdentityInfo struct { +// States map[IdentityState]IdentityStateInfo +//} +// +//type IdentityStateStorage struct { +// mu sync.RWMutex +// states map[types.NodeID]*IdentityInfo +//} +message IdentityStateEpoch { + uint32 epoch = 1; + repeated IdentityState states = 2; +} + +message IdentityState { + string state = 1; + google.protobuf.Timestamp time = 2; +} + +message Identity { + bytes smesher_id = 1; + repeated IdentityStateEpoch epochs = 2; + repeated IdentityState other_states = 3; } -message PoetServicesResponse { - message Identity { - message PoetInfo { - string url = 1; - google.protobuf.Timestamp poet_round_end = 2; - RegistrationStatus registration_status = 3; - string warning = 4; - } - - bytes smesher_id = 1; - IdentityStatus status = 2; - repeated PoetInfo poet_infos = 3; - } +message IdentityStatesResponse { repeated Identity identities = 3; } @@ -47,5 +78,5 @@ service SmeshingIdentitiesService { // Returns set of configured poet addresses and poets addresses from registrations, if given, // and warning in case, if there are registrations with poets, which are not in configured poets set. - rpc PoetServices (PoetServicesRequest) returns (PoetServicesResponse){} + rpc States (IdentityStatesRequest) returns (IdentityStatesResponse){} } \ No newline at end of file From 2aca3866d0d00285f5e3fb42a1af4db8598f654b Mon Sep 17 00:00:00 2001 From: Kacper Sawicki Date: Wed, 13 Nov 2024 13:15:03 +0100 Subject: [PATCH 10/41] Update IdentityState message --- .../v2alpha1/smeshing_identities.pb.go | 189 ++++++++++-------- release/openapi/swagger/src/api.swagger.json | 26 +++ spacemesh/v2alpha1/smeshing_identities.proto | 5 +- 3 files changed, 130 insertions(+), 90 deletions(-) diff --git a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go index 8900c167..ff6fb600 100644 --- a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go +++ b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go @@ -224,8 +224,9 @@ type IdentityState struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - State string `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` - Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` + State IdentityStatus `protobuf:"varint,1,opt,name=state,proto3,enum=spacemesh.v2alpha1.IdentityStatus" json:"state,omitempty"` + StateName string `protobuf:"bytes,2,opt,name=state_name,json=stateName,proto3" json:"state_name,omitempty"` + Time *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"` } func (x *IdentityState) Reset() { @@ -260,10 +261,17 @@ func (*IdentityState) Descriptor() ([]byte, []int) { return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{2} } -func (x *IdentityState) GetState() string { +func (x *IdentityState) GetState() IdentityStatus { if x != nil { return x.State } + return IdentityStatus_UNSPECIFIED +} + +func (x *IdentityState) GetStateName() string { + if x != nil { + return x.StateName + } return "" } @@ -404,81 +412,85 @@ var file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc = []byte{ 0x6f, 0x63, 0x68, 0x12, 0x39, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, - 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x65, 0x73, 0x22, 0x55, - 0x0a, 0x0d, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, - 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, - 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, - 0x04, 0x74, 0x69, 0x6d, 0x65, 0x22, 0xaf, 0x01, 0x0a, 0x08, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, - 0x74, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x49, - 0x64, 0x12, 0x3e, 0x0a, 0x06, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, - 0x74, 0x61, 0x74, 0x65, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x52, 0x06, 0x65, 0x70, 0x6f, 0x63, 0x68, - 0x73, 0x12, 0x44, 0x0a, 0x0c, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, - 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, - 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, - 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0b, 0x6f, 0x74, 0x68, 0x65, - 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x22, 0x56, 0x0a, 0x16, 0x49, 0x64, 0x65, 0x6e, 0x74, - 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x3c, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, - 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, + 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x65, 0x73, 0x22, 0x98, + 0x01, 0x0a, 0x0d, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x12, 0x38, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x22, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, + 0x61, 0x74, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, + 0x73, 0x74, 0x61, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, + 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x22, 0xaf, 0x01, 0x0a, 0x08, 0x49, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, + 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x6d, 0x65, 0x73, + 0x68, 0x65, 0x72, 0x49, 0x64, 0x12, 0x3e, 0x0a, 0x06, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x18, + 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, - 0x69, 0x74, 0x79, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2a, - 0xb8, 0x03, 0x0a, 0x0e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, - 0x75, 0x73, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, - 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x01, 0x12, 0x18, - 0x0a, 0x14, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x41, 0x54, 0x58, 0x5f, 0x53, - 0x59, 0x4e, 0x43, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x21, 0x0a, 0x1d, 0x47, 0x45, 0x4e, 0x45, - 0x52, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x49, 0x4e, 0x49, 0x54, 0x49, 0x41, 0x4c, 0x5f, 0x50, - 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x10, 0x03, 0x12, 0x1c, 0x0a, 0x18, 0x49, - 0x4e, 0x49, 0x54, 0x49, 0x41, 0x4c, 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, - 0x46, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x04, 0x12, 0x1d, 0x0a, 0x19, 0x49, 0x4e, 0x49, - 0x54, 0x49, 0x41, 0x4c, 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, - 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x05, 0x12, 0x28, 0x0a, 0x24, 0x57, 0x41, 0x49, 0x54, - 0x49, 0x4e, 0x47, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, - 0x49, 0x53, 0x54, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x57, 0x49, 0x4e, 0x44, 0x4f, 0x57, - 0x10, 0x06, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4c, 0x4c, - 0x45, 0x4e, 0x47, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x07, 0x12, 0x13, 0x0a, 0x0f, - 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x45, 0x52, 0x45, 0x44, 0x10, - 0x08, 0x12, 0x1b, 0x0a, 0x17, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, - 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x55, 0x4e, 0x44, 0x5f, 0x45, 0x4e, 0x44, 0x10, 0x09, 0x12, 0x17, - 0x0a, 0x13, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x43, - 0x45, 0x49, 0x56, 0x45, 0x44, 0x10, 0x0a, 0x12, 0x15, 0x0a, 0x11, 0x50, 0x4f, 0x45, 0x54, 0x5f, - 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x0b, 0x12, 0x19, - 0x0a, 0x15, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x4f, 0x53, - 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x10, 0x0c, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x4f, 0x53, - 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x0d, 0x12, - 0x15, 0x0a, 0x11, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x46, 0x41, - 0x49, 0x4c, 0x45, 0x44, 0x10, 0x0e, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x54, 0x58, 0x5f, 0x52, 0x45, - 0x41, 0x44, 0x59, 0x10, 0x0f, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x54, 0x58, 0x5f, 0x42, 0x52, 0x4f, - 0x41, 0x44, 0x43, 0x41, 0x53, 0x54, 0x45, 0x44, 0x10, 0x10, 0x32, 0x8a, 0x01, 0x0a, 0x19, 0x53, - 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, - 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x61, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, - 0x65, 0x73, 0x12, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, - 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, - 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x1a, 0x0a, 0xfa, 0xd2, 0xe4, - 0x93, 0x02, 0x04, 0x12, 0x02, 0x56, 0x32, 0x42, 0xe6, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x42, 0x17, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, - 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, - 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, - 0x65, 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, - 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, - 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, - 0x68, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, - 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x56, 0x32, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, - 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x1e, 0x53, 0x70, 0x61, 0x63, - 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, - 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x13, 0x53, 0x70, 0x61, - 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x3a, 0x3a, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x52, 0x06, 0x65, + 0x70, 0x6f, 0x63, 0x68, 0x73, 0x12, 0x44, 0x0a, 0x0c, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x5f, 0x73, + 0x74, 0x61, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0b, + 0x6f, 0x74, 0x68, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x22, 0x56, 0x0a, 0x16, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x69, 0x65, 0x73, 0x2a, 0xb8, 0x03, 0x0a, 0x0e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, + 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, + 0x10, 0x01, 0x12, 0x18, 0x0a, 0x14, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x41, + 0x54, 0x58, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x21, 0x0a, 0x1d, + 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x49, 0x4e, 0x49, 0x54, 0x49, + 0x41, 0x4c, 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x10, 0x03, 0x12, + 0x1c, 0x0a, 0x18, 0x49, 0x4e, 0x49, 0x54, 0x49, 0x41, 0x4c, 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x5f, + 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x04, 0x12, 0x1d, 0x0a, + 0x19, 0x49, 0x4e, 0x49, 0x54, 0x49, 0x41, 0x4c, 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, + 0x4f, 0x4f, 0x46, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x05, 0x12, 0x28, 0x0a, 0x24, + 0x57, 0x41, 0x49, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, + 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x57, 0x49, + 0x4e, 0x44, 0x4f, 0x57, 0x10, 0x06, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x43, + 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, 0x47, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x07, + 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x45, + 0x52, 0x45, 0x44, 0x10, 0x08, 0x12, 0x1b, 0x0a, 0x17, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, + 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x55, 0x4e, 0x44, 0x5f, 0x45, 0x4e, 0x44, + 0x10, 0x09, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, + 0x5f, 0x52, 0x45, 0x43, 0x45, 0x49, 0x56, 0x45, 0x44, 0x10, 0x0a, 0x12, 0x15, 0x0a, 0x11, 0x50, + 0x4f, 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, + 0x10, 0x0b, 0x12, 0x19, 0x0a, 0x15, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4e, 0x47, + 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x10, 0x0c, 0x12, 0x14, 0x0a, + 0x10, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x41, 0x44, + 0x59, 0x10, 0x0d, 0x12, 0x15, 0x0a, 0x11, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, + 0x46, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x0e, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x54, + 0x58, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x0f, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x54, 0x58, + 0x5f, 0x42, 0x52, 0x4f, 0x41, 0x44, 0x43, 0x41, 0x53, 0x54, 0x45, 0x44, 0x10, 0x10, 0x32, 0x8a, + 0x01, 0x0a, 0x19, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x69, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x61, 0x0a, 0x06, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, + 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x1a, + 0x0a, 0xfa, 0xd2, 0xe4, 0x93, 0x02, 0x04, 0x12, 0x02, 0x56, 0x32, 0x42, 0xe6, 0x01, 0x0a, 0x16, + 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x17, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, + 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, + 0x01, 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, + 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, + 0x73, 0x68, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x6d, 0x65, 0x73, 0x68, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, + 0x53, 0x58, 0x58, 0xaa, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, + 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, + 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x1e, + 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, + 0x13, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x3a, 0x3a, 0x56, 0x32, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -506,17 +518,18 @@ var file_spacemesh_v2alpha1_smeshing_identities_proto_goTypes = []interface{}{ } var file_spacemesh_v2alpha1_smeshing_identities_proto_depIdxs = []int32{ 3, // 0: spacemesh.v2alpha1.IdentityStateEpoch.states:type_name -> spacemesh.v2alpha1.IdentityState - 6, // 1: spacemesh.v2alpha1.IdentityState.time:type_name -> google.protobuf.Timestamp - 2, // 2: spacemesh.v2alpha1.Identity.epochs:type_name -> spacemesh.v2alpha1.IdentityStateEpoch - 3, // 3: spacemesh.v2alpha1.Identity.other_states:type_name -> spacemesh.v2alpha1.IdentityState - 4, // 4: spacemesh.v2alpha1.IdentityStatesResponse.identities:type_name -> spacemesh.v2alpha1.Identity - 1, // 5: spacemesh.v2alpha1.SmeshingIdentitiesService.States:input_type -> spacemesh.v2alpha1.IdentityStatesRequest - 5, // 6: spacemesh.v2alpha1.SmeshingIdentitiesService.States:output_type -> spacemesh.v2alpha1.IdentityStatesResponse - 6, // [6:7] is the sub-list for method output_type - 5, // [5:6] is the sub-list for method input_type - 5, // [5:5] is the sub-list for extension type_name - 5, // [5:5] is the sub-list for extension extendee - 0, // [0:5] is the sub-list for field type_name + 0, // 1: spacemesh.v2alpha1.IdentityState.state:type_name -> spacemesh.v2alpha1.IdentityStatus + 6, // 2: spacemesh.v2alpha1.IdentityState.time:type_name -> google.protobuf.Timestamp + 2, // 3: spacemesh.v2alpha1.Identity.epochs:type_name -> spacemesh.v2alpha1.IdentityStateEpoch + 3, // 4: spacemesh.v2alpha1.Identity.other_states:type_name -> spacemesh.v2alpha1.IdentityState + 4, // 5: spacemesh.v2alpha1.IdentityStatesResponse.identities:type_name -> spacemesh.v2alpha1.Identity + 1, // 6: spacemesh.v2alpha1.SmeshingIdentitiesService.States:input_type -> spacemesh.v2alpha1.IdentityStatesRequest + 5, // 7: spacemesh.v2alpha1.SmeshingIdentitiesService.States:output_type -> spacemesh.v2alpha1.IdentityStatesResponse + 7, // [7:8] is the sub-list for method output_type + 6, // [6:7] is the sub-list for method input_type + 6, // [6:6] is the sub-list for extension type_name + 6, // [6:6] is the sub-list for extension extendee + 0, // [0:6] is the sub-list for field type_name } func init() { file_spacemesh_v2alpha1_smeshing_identities_proto_init() } diff --git a/release/openapi/swagger/src/api.swagger.json b/release/openapi/swagger/src/api.swagger.json index be721b1b..4523cbf6 100644 --- a/release/openapi/swagger/src/api.swagger.json +++ b/release/openapi/swagger/src/api.swagger.json @@ -1144,6 +1144,9 @@ "type": "object", "properties": { "state": { + "$ref": "#/definitions/v2alpha1IdentityStatus" + }, + "stateName": { "type": "string" }, "time": { @@ -1185,6 +1188,29 @@ } } }, + "v2alpha1IdentityStatus": { + "type": "string", + "default": "UNSPECIFIED", + "enum": [ + "UNSPECIFIED", + "ERROR", + "WAIT_FOR_ATX_SYNCING", + "GENERATING_INITIAL_POST_PROOF", + "INITIAL_POST_PROOF_READY", + "INITIAL_POST_PROOF_FAILED", + "WAITING_FOR_POET_REGISTRATION_WINDOW", + "POET_CHALLENGE_READY", + "POET_REGISTERED", + "WAIT_FOR_POET_ROUND_END", + "POET_PROOF_RECEIVED", + "POET_PROOF_FAILED", + "GENERATING_POST_PROOF", + "POST_PROOF_READY", + "POST_PROOF_FAILED", + "ATX_READY", + "ATX_BROADCASTED" + ] + }, "v2alpha1LayerList": { "type": "object", "properties": { diff --git a/spacemesh/v2alpha1/smeshing_identities.proto b/spacemesh/v2alpha1/smeshing_identities.proto index 5885f0fe..72339788 100644 --- a/spacemesh/v2alpha1/smeshing_identities.proto +++ b/spacemesh/v2alpha1/smeshing_identities.proto @@ -59,8 +59,9 @@ message IdentityStateEpoch { } message IdentityState { - string state = 1; - google.protobuf.Timestamp time = 2; + IdentityStatus state = 1; + string state_name = 2; + google.protobuf.Timestamp time = 3; } message Identity { From 463f5ffab3d025a817af751cea07d5e8cab3a45d Mon Sep 17 00:00:00 2001 From: Kacper Sawicki Date: Wed, 13 Nov 2024 13:30:06 +0100 Subject: [PATCH 11/41] Fix typo --- .../v2alpha1/smeshing_identities.pb.go | 132 +++++++++--------- release/openapi/swagger/src/api.swagger.json | 10 +- spacemesh/v2alpha1/smeshing_identities.proto | 2 +- 3 files changed, 72 insertions(+), 72 deletions(-) diff --git a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go index ff6fb600..b9d3ee16 100644 --- a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go +++ b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go @@ -287,9 +287,9 @@ type Identity struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - SmesherId []byte `protobuf:"bytes,1,opt,name=smesher_id,json=smesherId,proto3" json:"smesher_id,omitempty"` - Epochs []*IdentityStateEpoch `protobuf:"bytes,2,rep,name=epochs,proto3" json:"epochs,omitempty"` - OtherStates []*IdentityState `protobuf:"bytes,3,rep,name=other_states,json=otherStates,proto3" json:"other_states,omitempty"` + SmesherId []byte `protobuf:"bytes,1,opt,name=smesher_id,json=smesherId,proto3" json:"smesher_id,omitempty"` + Epochs []*IdentityStateEpoch `protobuf:"bytes,2,rep,name=epochs,proto3" json:"epochs,omitempty"` + States []*IdentityState `protobuf:"bytes,3,rep,name=states,proto3" json:"states,omitempty"` } func (x *Identity) Reset() { @@ -338,9 +338,9 @@ func (x *Identity) GetEpochs() []*IdentityStateEpoch { return nil } -func (x *Identity) GetOtherStates() []*IdentityState { +func (x *Identity) GetStates() []*IdentityState { if x != nil { - return x.OtherStates + return x.States } return nil } @@ -422,75 +422,75 @@ var file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc = []byte{ 0x73, 0x74, 0x61, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, - 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x22, 0xaf, 0x01, 0x0a, 0x08, 0x49, 0x64, + 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x22, 0xa4, 0x01, 0x0a, 0x08, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x49, 0x64, 0x12, 0x3e, 0x0a, 0x06, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x52, 0x06, 0x65, - 0x70, 0x6f, 0x63, 0x68, 0x73, 0x12, 0x44, 0x0a, 0x0c, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x5f, 0x73, - 0x74, 0x61, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x70, + 0x70, 0x6f, 0x63, 0x68, 0x73, 0x12, 0x39, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x65, 0x73, 0x18, + 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, + 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x65, 0x73, + 0x22, 0x56, 0x0a, 0x16, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x0a, 0x69, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, + 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x0a, 0x69, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2a, 0xb8, 0x03, 0x0a, 0x0e, 0x49, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0f, 0x0a, 0x0b, 0x55, + 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, + 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x01, 0x12, 0x18, 0x0a, 0x14, 0x57, 0x41, 0x49, 0x54, 0x5f, + 0x46, 0x4f, 0x52, 0x5f, 0x41, 0x54, 0x58, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x49, 0x4e, 0x47, 0x10, + 0x02, 0x12, 0x21, 0x0a, 0x1d, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x5f, + 0x49, 0x4e, 0x49, 0x54, 0x49, 0x41, 0x4c, 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, + 0x4f, 0x46, 0x10, 0x03, 0x12, 0x1c, 0x0a, 0x18, 0x49, 0x4e, 0x49, 0x54, 0x49, 0x41, 0x4c, 0x5f, + 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, + 0x10, 0x04, 0x12, 0x1d, 0x0a, 0x19, 0x49, 0x4e, 0x49, 0x54, 0x49, 0x41, 0x4c, 0x5f, 0x50, 0x4f, + 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, + 0x05, 0x12, 0x28, 0x0a, 0x24, 0x57, 0x41, 0x49, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x46, 0x4f, 0x52, + 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x41, 0x54, 0x49, + 0x4f, 0x4e, 0x5f, 0x57, 0x49, 0x4e, 0x44, 0x4f, 0x57, 0x10, 0x06, 0x12, 0x18, 0x0a, 0x14, 0x50, + 0x4f, 0x45, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, 0x47, 0x45, 0x5f, 0x52, 0x45, + 0x41, 0x44, 0x59, 0x10, 0x07, 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, + 0x47, 0x49, 0x53, 0x54, 0x45, 0x52, 0x45, 0x44, 0x10, 0x08, 0x12, 0x1b, 0x0a, 0x17, 0x57, 0x41, + 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x55, 0x4e, + 0x44, 0x5f, 0x45, 0x4e, 0x44, 0x10, 0x09, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x4f, 0x45, 0x54, 0x5f, + 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x43, 0x45, 0x49, 0x56, 0x45, 0x44, 0x10, 0x0a, + 0x12, 0x15, 0x0a, 0x11, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x46, + 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x0b, 0x12, 0x19, 0x0a, 0x15, 0x47, 0x45, 0x4e, 0x45, 0x52, + 0x41, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, + 0x10, 0x0c, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, + 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x0d, 0x12, 0x15, 0x0a, 0x11, 0x50, 0x4f, 0x53, 0x54, + 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x0e, 0x12, + 0x0d, 0x0a, 0x09, 0x41, 0x54, 0x58, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x0f, 0x12, 0x13, + 0x0a, 0x0f, 0x41, 0x54, 0x58, 0x5f, 0x42, 0x52, 0x4f, 0x41, 0x44, 0x43, 0x41, 0x53, 0x54, 0x45, + 0x44, 0x10, 0x10, 0x32, 0x8a, 0x01, 0x0a, 0x19, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, + 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x12, 0x61, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0b, - 0x6f, 0x74, 0x68, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x22, 0x56, 0x0a, 0x16, 0x49, - 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, - 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, - 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, - 0x69, 0x65, 0x73, 0x2a, 0xb8, 0x03, 0x0a, 0x0e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, - 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, - 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, - 0x10, 0x01, 0x12, 0x18, 0x0a, 0x14, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x41, - 0x54, 0x58, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x21, 0x0a, 0x1d, - 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x49, 0x4e, 0x49, 0x54, 0x49, - 0x41, 0x4c, 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x10, 0x03, 0x12, - 0x1c, 0x0a, 0x18, 0x49, 0x4e, 0x49, 0x54, 0x49, 0x41, 0x4c, 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x5f, - 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x04, 0x12, 0x1d, 0x0a, - 0x19, 0x49, 0x4e, 0x49, 0x54, 0x49, 0x41, 0x4c, 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, - 0x4f, 0x4f, 0x46, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x05, 0x12, 0x28, 0x0a, 0x24, - 0x57, 0x41, 0x49, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, - 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x57, 0x49, - 0x4e, 0x44, 0x4f, 0x57, 0x10, 0x06, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x43, - 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, 0x47, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x07, - 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x45, - 0x52, 0x45, 0x44, 0x10, 0x08, 0x12, 0x1b, 0x0a, 0x17, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, - 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x55, 0x4e, 0x44, 0x5f, 0x45, 0x4e, 0x44, - 0x10, 0x09, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, - 0x5f, 0x52, 0x45, 0x43, 0x45, 0x49, 0x56, 0x45, 0x44, 0x10, 0x0a, 0x12, 0x15, 0x0a, 0x11, 0x50, - 0x4f, 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, - 0x10, 0x0b, 0x12, 0x19, 0x0a, 0x15, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4e, 0x47, - 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x10, 0x0c, 0x12, 0x14, 0x0a, - 0x10, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x41, 0x44, - 0x59, 0x10, 0x0d, 0x12, 0x15, 0x0a, 0x11, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, - 0x46, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x0e, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x54, - 0x58, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x0f, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x54, 0x58, - 0x5f, 0x42, 0x52, 0x4f, 0x41, 0x44, 0x43, 0x41, 0x53, 0x54, 0x45, 0x44, 0x10, 0x10, 0x32, 0x8a, - 0x01, 0x0a, 0x19, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, - 0x69, 0x74, 0x69, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x61, 0x0a, 0x06, - 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, + 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, - 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, - 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x1a, - 0x0a, 0xfa, 0xd2, 0xe4, 0x93, 0x02, 0x04, 0x12, 0x02, 0x56, 0x32, 0x42, 0xe6, 0x01, 0x0a, 0x16, - 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x17, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, - 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, - 0x01, 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, - 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, - 0x73, 0x68, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x6d, 0x65, 0x73, 0x68, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, - 0x53, 0x58, 0x58, 0xaa, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, - 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, - 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x1e, + 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x1a, 0x0a, 0xfa, 0xd2, 0xe4, 0x93, 0x02, 0x04, 0x12, 0x02, 0x56, 0x32, + 0x42, 0xe6, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, + 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x17, 0x53, 0x6d, 0x65, + 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x50, + 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, + 0x6f, 0x6d, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, + 0x70, 0x69, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x3b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, + 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, - 0x13, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x3a, 0x3a, 0x56, 0x32, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x61, 0x31, 0xe2, 0x02, 0x1e, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, + 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0xea, 0x02, 0x13, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x3a, + 0x3a, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, } var ( @@ -521,7 +521,7 @@ var file_spacemesh_v2alpha1_smeshing_identities_proto_depIdxs = []int32{ 0, // 1: spacemesh.v2alpha1.IdentityState.state:type_name -> spacemesh.v2alpha1.IdentityStatus 6, // 2: spacemesh.v2alpha1.IdentityState.time:type_name -> google.protobuf.Timestamp 2, // 3: spacemesh.v2alpha1.Identity.epochs:type_name -> spacemesh.v2alpha1.IdentityStateEpoch - 3, // 4: spacemesh.v2alpha1.Identity.other_states:type_name -> spacemesh.v2alpha1.IdentityState + 3, // 4: spacemesh.v2alpha1.Identity.states:type_name -> spacemesh.v2alpha1.IdentityState 4, // 5: spacemesh.v2alpha1.IdentityStatesResponse.identities:type_name -> spacemesh.v2alpha1.Identity 1, // 6: spacemesh.v2alpha1.SmeshingIdentitiesService.States:input_type -> spacemesh.v2alpha1.IdentityStatesRequest 5, // 7: spacemesh.v2alpha1.SmeshingIdentitiesService.States:output_type -> spacemesh.v2alpha1.IdentityStatesResponse diff --git a/release/openapi/swagger/src/api.swagger.json b/release/openapi/swagger/src/api.swagger.json index 4523cbf6..8c2c9d18 100644 --- a/release/openapi/swagger/src/api.swagger.json +++ b/release/openapi/swagger/src/api.swagger.json @@ -1127,16 +1127,16 @@ "$ref": "#/definitions/v2alpha1IdentityStateEpoch" } }, - "otherStates": { + "smesherId": { + "type": "string", + "format": "byte" + }, + "states": { "type": "array", "items": { "type": "object", "$ref": "#/definitions/v2alpha1IdentityState" } - }, - "smesherId": { - "type": "string", - "format": "byte" } } }, diff --git a/spacemesh/v2alpha1/smeshing_identities.proto b/spacemesh/v2alpha1/smeshing_identities.proto index 72339788..eef0446d 100644 --- a/spacemesh/v2alpha1/smeshing_identities.proto +++ b/spacemesh/v2alpha1/smeshing_identities.proto @@ -67,7 +67,7 @@ message IdentityState { message Identity { bytes smesher_id = 1; repeated IdentityStateEpoch epochs = 2; - repeated IdentityState other_states = 3; + repeated IdentityState states = 3; } message IdentityStatesResponse { From 77ec928aa1a450334407ea498318ae9b6a83fc01 Mon Sep 17 00:00:00 2001 From: Kacper Sawicki Date: Wed, 13 Nov 2024 13:55:21 +0100 Subject: [PATCH 12/41] Remove state_name --- .../v2alpha1/smeshing_identities.pb.go | 26 ++++++------------- release/openapi/swagger/src/api.swagger.json | 3 --- spacemesh/v2alpha1/smeshing_identities.proto | 1 - 3 files changed, 8 insertions(+), 22 deletions(-) diff --git a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go index b9d3ee16..35f35397 100644 --- a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go +++ b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go @@ -224,9 +224,8 @@ type IdentityState struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - State IdentityStatus `protobuf:"varint,1,opt,name=state,proto3,enum=spacemesh.v2alpha1.IdentityStatus" json:"state,omitempty"` - StateName string `protobuf:"bytes,2,opt,name=state_name,json=stateName,proto3" json:"state_name,omitempty"` - Time *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"` + State IdentityStatus `protobuf:"varint,1,opt,name=state,proto3,enum=spacemesh.v2alpha1.IdentityStatus" json:"state,omitempty"` + Time *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"` } func (x *IdentityState) Reset() { @@ -268,13 +267,6 @@ func (x *IdentityState) GetState() IdentityStatus { return IdentityStatus_UNSPECIFIED } -func (x *IdentityState) GetStateName() string { - if x != nil { - return x.StateName - } - return "" -} - func (x *IdentityState) GetTime() *timestamppb.Timestamp { if x != nil { return x.Time @@ -412,14 +404,12 @@ var file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc = []byte{ 0x6f, 0x63, 0x68, 0x12, 0x39, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, - 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x65, 0x73, 0x22, 0x98, - 0x01, 0x0a, 0x0d, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, - 0x12, 0x38, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x22, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, - 0x61, 0x74, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, - 0x73, 0x74, 0x61, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, + 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x65, 0x73, 0x22, 0x79, + 0x0a, 0x0d, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, + 0x38, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, + 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x22, 0xa4, 0x01, 0x0a, 0x08, 0x49, 0x64, diff --git a/release/openapi/swagger/src/api.swagger.json b/release/openapi/swagger/src/api.swagger.json index 8c2c9d18..c80eccff 100644 --- a/release/openapi/swagger/src/api.swagger.json +++ b/release/openapi/swagger/src/api.swagger.json @@ -1146,9 +1146,6 @@ "state": { "$ref": "#/definitions/v2alpha1IdentityStatus" }, - "stateName": { - "type": "string" - }, "time": { "type": "string", "format": "date-time" diff --git a/spacemesh/v2alpha1/smeshing_identities.proto b/spacemesh/v2alpha1/smeshing_identities.proto index eef0446d..cb41263a 100644 --- a/spacemesh/v2alpha1/smeshing_identities.proto +++ b/spacemesh/v2alpha1/smeshing_identities.proto @@ -60,7 +60,6 @@ message IdentityStateEpoch { message IdentityState { IdentityStatus state = 1; - string state_name = 2; google.protobuf.Timestamp time = 3; } From 8b4a0c9d9b081e70b121e8be49255a443de0d03f Mon Sep 17 00:00:00 2001 From: Kacper Sawicki Date: Wed, 13 Nov 2024 14:00:16 +0100 Subject: [PATCH 13/41] Remove initial states --- .../v2alpha1/smeshing_identities.pb.go | 19 ++----------------- release/openapi/swagger/src/api.swagger.json | 3 --- spacemesh/v2alpha1/smeshing_identities.proto | 3 --- 3 files changed, 2 insertions(+), 23 deletions(-) diff --git a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go index 35f35397..07d0c1c7 100644 --- a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go +++ b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go @@ -29,9 +29,6 @@ const ( IdentityStatus_UNSPECIFIED IdentityStatus = 0 IdentityStatus_ERROR IdentityStatus = 1 IdentityStatus_WAIT_FOR_ATX_SYNCING IdentityStatus = 2 - IdentityStatus_GENERATING_INITIAL_POST_PROOF IdentityStatus = 3 - IdentityStatus_INITIAL_POST_PROOF_READY IdentityStatus = 4 - IdentityStatus_INITIAL_POST_PROOF_FAILED IdentityStatus = 5 IdentityStatus_WAITING_FOR_POET_REGISTRATION_WINDOW IdentityStatus = 6 IdentityStatus_POET_CHALLENGE_READY IdentityStatus = 7 IdentityStatus_POET_REGISTERED IdentityStatus = 8 @@ -51,9 +48,6 @@ var ( 0: "UNSPECIFIED", 1: "ERROR", 2: "WAIT_FOR_ATX_SYNCING", - 3: "GENERATING_INITIAL_POST_PROOF", - 4: "INITIAL_POST_PROOF_READY", - 5: "INITIAL_POST_PROOF_FAILED", 6: "WAITING_FOR_POET_REGISTRATION_WINDOW", 7: "POET_CHALLENGE_READY", 8: "POET_REGISTERED", @@ -70,9 +64,6 @@ var ( "UNSPECIFIED": 0, "ERROR": 1, "WAIT_FOR_ATX_SYNCING": 2, - "GENERATING_INITIAL_POST_PROOF": 3, - "INITIAL_POST_PROOF_READY": 4, - "INITIAL_POST_PROOF_FAILED": 5, "WAITING_FOR_POET_REGISTRATION_WINDOW": 6, "POET_CHALLENGE_READY": 7, "POET_REGISTERED": 8, @@ -428,18 +419,12 @@ var file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc = []byte{ 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x0a, 0x69, 0x64, - 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2a, 0xb8, 0x03, 0x0a, 0x0e, 0x49, 0x64, 0x65, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2a, 0xd8, 0x02, 0x0a, 0x0e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x01, 0x12, 0x18, 0x0a, 0x14, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x41, 0x54, 0x58, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x49, 0x4e, 0x47, 0x10, - 0x02, 0x12, 0x21, 0x0a, 0x1d, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x5f, - 0x49, 0x4e, 0x49, 0x54, 0x49, 0x41, 0x4c, 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, - 0x4f, 0x46, 0x10, 0x03, 0x12, 0x1c, 0x0a, 0x18, 0x49, 0x4e, 0x49, 0x54, 0x49, 0x41, 0x4c, 0x5f, - 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, - 0x10, 0x04, 0x12, 0x1d, 0x0a, 0x19, 0x49, 0x4e, 0x49, 0x54, 0x49, 0x41, 0x4c, 0x5f, 0x50, 0x4f, - 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, - 0x05, 0x12, 0x28, 0x0a, 0x24, 0x57, 0x41, 0x49, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x46, 0x4f, 0x52, + 0x02, 0x12, 0x28, 0x0a, 0x24, 0x57, 0x41, 0x49, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x57, 0x49, 0x4e, 0x44, 0x4f, 0x57, 0x10, 0x06, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, 0x47, 0x45, 0x5f, 0x52, 0x45, diff --git a/release/openapi/swagger/src/api.swagger.json b/release/openapi/swagger/src/api.swagger.json index c80eccff..95777bfd 100644 --- a/release/openapi/swagger/src/api.swagger.json +++ b/release/openapi/swagger/src/api.swagger.json @@ -1192,9 +1192,6 @@ "UNSPECIFIED", "ERROR", "WAIT_FOR_ATX_SYNCING", - "GENERATING_INITIAL_POST_PROOF", - "INITIAL_POST_PROOF_READY", - "INITIAL_POST_PROOF_FAILED", "WAITING_FOR_POET_REGISTRATION_WINDOW", "POET_CHALLENGE_READY", "POET_REGISTERED", diff --git a/spacemesh/v2alpha1/smeshing_identities.proto b/spacemesh/v2alpha1/smeshing_identities.proto index cb41263a..855cab73 100644 --- a/spacemesh/v2alpha1/smeshing_identities.proto +++ b/spacemesh/v2alpha1/smeshing_identities.proto @@ -13,9 +13,6 @@ enum IdentityStatus { ERROR = 1; WAIT_FOR_ATX_SYNCING = 2; - GENERATING_INITIAL_POST_PROOF = 3; - INITIAL_POST_PROOF_READY = 4; - INITIAL_POST_PROOF_FAILED = 5; WAITING_FOR_POET_REGISTRATION_WINDOW = 6; POET_CHALLENGE_READY = 7; From ecbb541c68359e408a1e8bd31cc2a0965b929033 Mon Sep 17 00:00:00 2001 From: Kacper Sawicki Date: Wed, 13 Nov 2024 15:23:52 +0100 Subject: [PATCH 14/41] Add new states --- .../v2alpha1/smeshing_identities.pb.go | 132 ++++++++++-------- release/openapi/swagger/src/api.swagger.json | 2 + spacemesh/v2alpha1/smeshing_identities.proto | 22 +-- 3 files changed, 84 insertions(+), 72 deletions(-) diff --git a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go index 07d0c1c7..e3fd83a2 100644 --- a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go +++ b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go @@ -32,14 +32,16 @@ const ( IdentityStatus_WAITING_FOR_POET_REGISTRATION_WINDOW IdentityStatus = 6 IdentityStatus_POET_CHALLENGE_READY IdentityStatus = 7 IdentityStatus_POET_REGISTERED IdentityStatus = 8 - IdentityStatus_WAIT_FOR_POET_ROUND_END IdentityStatus = 9 - IdentityStatus_POET_PROOF_RECEIVED IdentityStatus = 10 - IdentityStatus_POET_PROOF_FAILED IdentityStatus = 11 - IdentityStatus_GENERATING_POST_PROOF IdentityStatus = 12 - IdentityStatus_POST_PROOF_READY IdentityStatus = 13 - IdentityStatus_POST_PROOF_FAILED IdentityStatus = 14 - IdentityStatus_ATX_READY IdentityStatus = 15 - IdentityStatus_ATX_BROADCASTED IdentityStatus = 16 + IdentityStatus_POET_REGISTRATION_FAILED IdentityStatus = 9 + IdentityStatus_WAIT_FOR_POET_ROUND_END IdentityStatus = 10 + IdentityStatus_POET_PROOF_RECEIVED IdentityStatus = 11 + IdentityStatus_POET_PROOF_FAILED IdentityStatus = 12 + IdentityStatus_GENERATING_POST_PROOF IdentityStatus = 13 + IdentityStatus_POST_PROOF_READY IdentityStatus = 14 + IdentityStatus_POST_PROOF_FAILED IdentityStatus = 15 + IdentityStatus_ATX_EXPIRED IdentityStatus = 16 + IdentityStatus_ATX_READY IdentityStatus = 17 + IdentityStatus_ATX_BROADCASTED IdentityStatus = 18 ) // Enum value maps for IdentityStatus. @@ -51,14 +53,16 @@ var ( 6: "WAITING_FOR_POET_REGISTRATION_WINDOW", 7: "POET_CHALLENGE_READY", 8: "POET_REGISTERED", - 9: "WAIT_FOR_POET_ROUND_END", - 10: "POET_PROOF_RECEIVED", - 11: "POET_PROOF_FAILED", - 12: "GENERATING_POST_PROOF", - 13: "POST_PROOF_READY", - 14: "POST_PROOF_FAILED", - 15: "ATX_READY", - 16: "ATX_BROADCASTED", + 9: "POET_REGISTRATION_FAILED", + 10: "WAIT_FOR_POET_ROUND_END", + 11: "POET_PROOF_RECEIVED", + 12: "POET_PROOF_FAILED", + 13: "GENERATING_POST_PROOF", + 14: "POST_PROOF_READY", + 15: "POST_PROOF_FAILED", + 16: "ATX_EXPIRED", + 17: "ATX_READY", + 18: "ATX_BROADCASTED", } IdentityStatus_value = map[string]int32{ "UNSPECIFIED": 0, @@ -67,14 +71,16 @@ var ( "WAITING_FOR_POET_REGISTRATION_WINDOW": 6, "POET_CHALLENGE_READY": 7, "POET_REGISTERED": 8, - "WAIT_FOR_POET_ROUND_END": 9, - "POET_PROOF_RECEIVED": 10, - "POET_PROOF_FAILED": 11, - "GENERATING_POST_PROOF": 12, - "POST_PROOF_READY": 13, - "POST_PROOF_FAILED": 14, - "ATX_READY": 15, - "ATX_BROADCASTED": 16, + "POET_REGISTRATION_FAILED": 9, + "WAIT_FOR_POET_ROUND_END": 10, + "POET_PROOF_RECEIVED": 11, + "POET_PROOF_FAILED": 12, + "GENERATING_POST_PROOF": 13, + "POST_PROOF_READY": 14, + "POST_PROOF_FAILED": 15, + "ATX_EXPIRED": 16, + "ATX_READY": 17, + "ATX_BROADCASTED": 18, } ) @@ -419,7 +425,7 @@ var file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc = []byte{ 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x0a, 0x69, 0x64, - 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2a, 0xd8, 0x02, 0x0a, 0x0e, 0x49, 0x64, 0x65, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2a, 0x87, 0x03, 0x0a, 0x0e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x01, 0x12, 0x18, 0x0a, 0x14, 0x57, 0x41, 0x49, 0x54, 0x5f, @@ -429,43 +435,45 @@ var file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc = []byte{ 0x4f, 0x4e, 0x5f, 0x57, 0x49, 0x4e, 0x44, 0x4f, 0x57, 0x10, 0x06, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, 0x47, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x07, 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, - 0x47, 0x49, 0x53, 0x54, 0x45, 0x52, 0x45, 0x44, 0x10, 0x08, 0x12, 0x1b, 0x0a, 0x17, 0x57, 0x41, - 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x55, 0x4e, - 0x44, 0x5f, 0x45, 0x4e, 0x44, 0x10, 0x09, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x4f, 0x45, 0x54, 0x5f, - 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x43, 0x45, 0x49, 0x56, 0x45, 0x44, 0x10, 0x0a, - 0x12, 0x15, 0x0a, 0x11, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x46, - 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x0b, 0x12, 0x19, 0x0a, 0x15, 0x47, 0x45, 0x4e, 0x45, 0x52, - 0x41, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, - 0x10, 0x0c, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, - 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x0d, 0x12, 0x15, 0x0a, 0x11, 0x50, 0x4f, 0x53, 0x54, - 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x0e, 0x12, - 0x0d, 0x0a, 0x09, 0x41, 0x54, 0x58, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x0f, 0x12, 0x13, - 0x0a, 0x0f, 0x41, 0x54, 0x58, 0x5f, 0x42, 0x52, 0x4f, 0x41, 0x44, 0x43, 0x41, 0x53, 0x54, 0x45, - 0x44, 0x10, 0x10, 0x32, 0x8a, 0x01, 0x0a, 0x19, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, - 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x12, 0x61, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, - 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, - 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x1a, 0x0a, 0xfa, 0xd2, 0xe4, 0x93, 0x02, 0x04, 0x12, 0x02, 0x56, 0x32, - 0x42, 0xe6, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, - 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x17, 0x53, 0x6d, 0x65, - 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x50, - 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, - 0x6f, 0x6d, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, - 0x70, 0x69, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x3b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, - 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x12, - 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0xe2, 0x02, 0x1e, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, - 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, - 0x61, 0x74, 0x61, 0xea, 0x02, 0x13, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x3a, - 0x3a, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, + 0x47, 0x49, 0x53, 0x54, 0x45, 0x52, 0x45, 0x44, 0x10, 0x08, 0x12, 0x1c, 0x0a, 0x18, 0x50, 0x4f, + 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, + 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x09, 0x12, 0x1b, 0x0a, 0x17, 0x57, 0x41, 0x49, 0x54, + 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x55, 0x4e, 0x44, 0x5f, + 0x45, 0x4e, 0x44, 0x10, 0x0a, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x50, 0x52, + 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x43, 0x45, 0x49, 0x56, 0x45, 0x44, 0x10, 0x0b, 0x12, 0x15, + 0x0a, 0x11, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x46, 0x41, 0x49, + 0x4c, 0x45, 0x44, 0x10, 0x0c, 0x12, 0x19, 0x0a, 0x15, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, 0x54, + 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x10, 0x0d, + 0x12, 0x14, 0x0a, 0x10, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, + 0x45, 0x41, 0x44, 0x59, 0x10, 0x0e, 0x12, 0x15, 0x0a, 0x11, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, + 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x0f, 0x12, 0x0f, 0x0a, + 0x0b, 0x41, 0x54, 0x58, 0x5f, 0x45, 0x58, 0x50, 0x49, 0x52, 0x45, 0x44, 0x10, 0x10, 0x12, 0x0d, + 0x0a, 0x09, 0x41, 0x54, 0x58, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x11, 0x12, 0x13, 0x0a, + 0x0f, 0x41, 0x54, 0x58, 0x5f, 0x42, 0x52, 0x4f, 0x41, 0x44, 0x43, 0x41, 0x53, 0x54, 0x45, 0x44, + 0x10, 0x12, 0x32, 0x8a, 0x01, 0x0a, 0x19, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x12, 0x61, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, + 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, + 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x1a, 0x0a, 0xfa, 0xd2, 0xe4, 0x93, 0x02, 0x04, 0x12, 0x02, 0x56, 0x32, 0x42, + 0xe6, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, + 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x17, 0x53, 0x6d, 0x65, 0x73, + 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x50, 0x72, + 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, + 0x6d, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, 0x70, + 0x69, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, + 0x65, 0x73, 0x68, 0x2e, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x12, 0x53, + 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0xe2, 0x02, 0x1e, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0xea, 0x02, 0x13, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x3a, 0x3a, + 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/release/openapi/swagger/src/api.swagger.json b/release/openapi/swagger/src/api.swagger.json index 95777bfd..35d882ed 100644 --- a/release/openapi/swagger/src/api.swagger.json +++ b/release/openapi/swagger/src/api.swagger.json @@ -1195,12 +1195,14 @@ "WAITING_FOR_POET_REGISTRATION_WINDOW", "POET_CHALLENGE_READY", "POET_REGISTERED", + "POET_REGISTRATION_FAILED", "WAIT_FOR_POET_ROUND_END", "POET_PROOF_RECEIVED", "POET_PROOF_FAILED", "GENERATING_POST_PROOF", "POST_PROOF_READY", "POST_PROOF_FAILED", + "ATX_EXPIRED", "ATX_READY", "ATX_BROADCASTED" ] diff --git a/spacemesh/v2alpha1/smeshing_identities.proto b/spacemesh/v2alpha1/smeshing_identities.proto index 855cab73..a0b34209 100644 --- a/spacemesh/v2alpha1/smeshing_identities.proto +++ b/spacemesh/v2alpha1/smeshing_identities.proto @@ -17,16 +17,18 @@ enum IdentityStatus { WAITING_FOR_POET_REGISTRATION_WINDOW = 6; POET_CHALLENGE_READY = 7; POET_REGISTERED = 8; - WAIT_FOR_POET_ROUND_END = 9; - POET_PROOF_RECEIVED = 10; - POET_PROOF_FAILED = 11; - - GENERATING_POST_PROOF = 12; - POST_PROOF_READY = 13; - POST_PROOF_FAILED = 14; - - ATX_READY = 15; - ATX_BROADCASTED = 16; + POET_REGISTRATION_FAILED = 9; + WAIT_FOR_POET_ROUND_END = 10; + POET_PROOF_RECEIVED = 11; + POET_PROOF_FAILED = 12; + + GENERATING_POST_PROOF = 13; + POST_PROOF_READY = 14; + POST_PROOF_FAILED = 15; + + ATX_EXPIRED = 16; + ATX_READY = 17; + ATX_BROADCASTED = 18; } From ac5913ba32daaf389963fe3f0d18a449a7177efa Mon Sep 17 00:00:00 2001 From: Kacper Sawicki Date: Wed, 13 Nov 2024 15:49:20 +0100 Subject: [PATCH 15/41] Clean up states --- .../v2alpha1/smeshing_identities.pb.go | 179 +++++++++--------- release/openapi/swagger/src/api.swagger.json | 1 - spacemesh/v2alpha1/smeshing_identities.proto | 29 ++- 3 files changed, 102 insertions(+), 107 deletions(-) diff --git a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go index e3fd83a2..9bff36fb 100644 --- a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go +++ b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go @@ -27,60 +27,57 @@ type IdentityStatus int32 const ( IdentityStatus_UNSPECIFIED IdentityStatus = 0 - IdentityStatus_ERROR IdentityStatus = 1 - IdentityStatus_WAIT_FOR_ATX_SYNCING IdentityStatus = 2 - IdentityStatus_WAITING_FOR_POET_REGISTRATION_WINDOW IdentityStatus = 6 - IdentityStatus_POET_CHALLENGE_READY IdentityStatus = 7 - IdentityStatus_POET_REGISTERED IdentityStatus = 8 - IdentityStatus_POET_REGISTRATION_FAILED IdentityStatus = 9 - IdentityStatus_WAIT_FOR_POET_ROUND_END IdentityStatus = 10 - IdentityStatus_POET_PROOF_RECEIVED IdentityStatus = 11 - IdentityStatus_POET_PROOF_FAILED IdentityStatus = 12 - IdentityStatus_GENERATING_POST_PROOF IdentityStatus = 13 - IdentityStatus_POST_PROOF_READY IdentityStatus = 14 - IdentityStatus_POST_PROOF_FAILED IdentityStatus = 15 - IdentityStatus_ATX_EXPIRED IdentityStatus = 16 - IdentityStatus_ATX_READY IdentityStatus = 17 - IdentityStatus_ATX_BROADCASTED IdentityStatus = 18 + IdentityStatus_WAIT_FOR_ATX_SYNCING IdentityStatus = 1 + IdentityStatus_WAITING_FOR_POET_REGISTRATION_WINDOW IdentityStatus = 2 + IdentityStatus_POET_CHALLENGE_READY IdentityStatus = 3 + IdentityStatus_POET_REGISTERED IdentityStatus = 4 + IdentityStatus_POET_REGISTRATION_FAILED IdentityStatus = 5 + IdentityStatus_WAIT_FOR_POET_ROUND_END IdentityStatus = 6 + IdentityStatus_POET_PROOF_RECEIVED IdentityStatus = 7 + IdentityStatus_POET_PROOF_FAILED IdentityStatus = 8 + IdentityStatus_GENERATING_POST_PROOF IdentityStatus = 9 + IdentityStatus_POST_PROOF_READY IdentityStatus = 10 + IdentityStatus_POST_PROOF_FAILED IdentityStatus = 11 + IdentityStatus_ATX_EXPIRED IdentityStatus = 12 + IdentityStatus_ATX_READY IdentityStatus = 13 + IdentityStatus_ATX_BROADCASTED IdentityStatus = 14 ) // Enum value maps for IdentityStatus. var ( IdentityStatus_name = map[int32]string{ 0: "UNSPECIFIED", - 1: "ERROR", - 2: "WAIT_FOR_ATX_SYNCING", - 6: "WAITING_FOR_POET_REGISTRATION_WINDOW", - 7: "POET_CHALLENGE_READY", - 8: "POET_REGISTERED", - 9: "POET_REGISTRATION_FAILED", - 10: "WAIT_FOR_POET_ROUND_END", - 11: "POET_PROOF_RECEIVED", - 12: "POET_PROOF_FAILED", - 13: "GENERATING_POST_PROOF", - 14: "POST_PROOF_READY", - 15: "POST_PROOF_FAILED", - 16: "ATX_EXPIRED", - 17: "ATX_READY", - 18: "ATX_BROADCASTED", + 1: "WAIT_FOR_ATX_SYNCING", + 2: "WAITING_FOR_POET_REGISTRATION_WINDOW", + 3: "POET_CHALLENGE_READY", + 4: "POET_REGISTERED", + 5: "POET_REGISTRATION_FAILED", + 6: "WAIT_FOR_POET_ROUND_END", + 7: "POET_PROOF_RECEIVED", + 8: "POET_PROOF_FAILED", + 9: "GENERATING_POST_PROOF", + 10: "POST_PROOF_READY", + 11: "POST_PROOF_FAILED", + 12: "ATX_EXPIRED", + 13: "ATX_READY", + 14: "ATX_BROADCASTED", } IdentityStatus_value = map[string]int32{ "UNSPECIFIED": 0, - "ERROR": 1, - "WAIT_FOR_ATX_SYNCING": 2, - "WAITING_FOR_POET_REGISTRATION_WINDOW": 6, - "POET_CHALLENGE_READY": 7, - "POET_REGISTERED": 8, - "POET_REGISTRATION_FAILED": 9, - "WAIT_FOR_POET_ROUND_END": 10, - "POET_PROOF_RECEIVED": 11, - "POET_PROOF_FAILED": 12, - "GENERATING_POST_PROOF": 13, - "POST_PROOF_READY": 14, - "POST_PROOF_FAILED": 15, - "ATX_EXPIRED": 16, - "ATX_READY": 17, - "ATX_BROADCASTED": 18, + "WAIT_FOR_ATX_SYNCING": 1, + "WAITING_FOR_POET_REGISTRATION_WINDOW": 2, + "POET_CHALLENGE_READY": 3, + "POET_REGISTERED": 4, + "POET_REGISTRATION_FAILED": 5, + "WAIT_FOR_POET_ROUND_END": 6, + "POET_PROOF_RECEIVED": 7, + "POET_PROOF_FAILED": 8, + "GENERATING_POST_PROOF": 9, + "POST_PROOF_READY": 10, + "POST_PROOF_FAILED": 11, + "ATX_EXPIRED": 12, + "ATX_READY": 13, + "ATX_BROADCASTED": 14, } ) @@ -425,55 +422,55 @@ var file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc = []byte{ 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x0a, 0x69, 0x64, - 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2a, 0x87, 0x03, 0x0a, 0x0e, 0x49, 0x64, 0x65, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2a, 0xfc, 0x02, 0x0a, 0x0e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0f, 0x0a, 0x0b, 0x55, - 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, - 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x01, 0x12, 0x18, 0x0a, 0x14, 0x57, 0x41, 0x49, 0x54, 0x5f, - 0x46, 0x4f, 0x52, 0x5f, 0x41, 0x54, 0x58, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x49, 0x4e, 0x47, 0x10, - 0x02, 0x12, 0x28, 0x0a, 0x24, 0x57, 0x41, 0x49, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x46, 0x4f, 0x52, - 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x41, 0x54, 0x49, - 0x4f, 0x4e, 0x5f, 0x57, 0x49, 0x4e, 0x44, 0x4f, 0x57, 0x10, 0x06, 0x12, 0x18, 0x0a, 0x14, 0x50, - 0x4f, 0x45, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, 0x47, 0x45, 0x5f, 0x52, 0x45, - 0x41, 0x44, 0x59, 0x10, 0x07, 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, - 0x47, 0x49, 0x53, 0x54, 0x45, 0x52, 0x45, 0x44, 0x10, 0x08, 0x12, 0x1c, 0x0a, 0x18, 0x50, 0x4f, - 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, - 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x09, 0x12, 0x1b, 0x0a, 0x17, 0x57, 0x41, 0x49, 0x54, - 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x55, 0x4e, 0x44, 0x5f, - 0x45, 0x4e, 0x44, 0x10, 0x0a, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x50, 0x52, - 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x43, 0x45, 0x49, 0x56, 0x45, 0x44, 0x10, 0x0b, 0x12, 0x15, - 0x0a, 0x11, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x46, 0x41, 0x49, - 0x4c, 0x45, 0x44, 0x10, 0x0c, 0x12, 0x19, 0x0a, 0x15, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, 0x54, - 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x10, 0x0d, - 0x12, 0x14, 0x0a, 0x10, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, - 0x45, 0x41, 0x44, 0x59, 0x10, 0x0e, 0x12, 0x15, 0x0a, 0x11, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, - 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x0f, 0x12, 0x0f, 0x0a, - 0x0b, 0x41, 0x54, 0x58, 0x5f, 0x45, 0x58, 0x50, 0x49, 0x52, 0x45, 0x44, 0x10, 0x10, 0x12, 0x0d, - 0x0a, 0x09, 0x41, 0x54, 0x58, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x11, 0x12, 0x13, 0x0a, - 0x0f, 0x41, 0x54, 0x58, 0x5f, 0x42, 0x52, 0x4f, 0x41, 0x44, 0x43, 0x41, 0x53, 0x54, 0x45, 0x44, - 0x10, 0x12, 0x32, 0x8a, 0x01, 0x0a, 0x19, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, - 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x12, 0x61, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x73, 0x70, 0x61, + 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x18, 0x0a, 0x14, + 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x41, 0x54, 0x58, 0x5f, 0x53, 0x59, 0x4e, + 0x43, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x28, 0x0a, 0x24, 0x57, 0x41, 0x49, 0x54, 0x49, 0x4e, + 0x47, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, + 0x54, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x57, 0x49, 0x4e, 0x44, 0x4f, 0x57, 0x10, 0x02, + 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, + 0x47, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x03, 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x4f, + 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x45, 0x52, 0x45, 0x44, 0x10, 0x04, 0x12, + 0x1c, 0x0a, 0x18, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x41, + 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x05, 0x12, 0x1b, 0x0a, + 0x17, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, + 0x4f, 0x55, 0x4e, 0x44, 0x5f, 0x45, 0x4e, 0x44, 0x10, 0x06, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x4f, + 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x43, 0x45, 0x49, 0x56, 0x45, + 0x44, 0x10, 0x07, 0x12, 0x15, 0x0a, 0x11, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, + 0x46, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x08, 0x12, 0x19, 0x0a, 0x15, 0x47, 0x45, + 0x4e, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, + 0x4f, 0x4f, 0x46, 0x10, 0x09, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, + 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x0a, 0x12, 0x15, 0x0a, 0x11, 0x50, + 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, + 0x10, 0x0b, 0x12, 0x0f, 0x0a, 0x0b, 0x41, 0x54, 0x58, 0x5f, 0x45, 0x58, 0x50, 0x49, 0x52, 0x45, + 0x44, 0x10, 0x0c, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x54, 0x58, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, + 0x10, 0x0d, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x54, 0x58, 0x5f, 0x42, 0x52, 0x4f, 0x41, 0x44, 0x43, + 0x41, 0x53, 0x54, 0x45, 0x44, 0x10, 0x0e, 0x32, 0x8a, 0x01, 0x0a, 0x19, 0x53, 0x6d, 0x65, 0x73, + 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x53, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x61, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, + 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, - 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, - 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x00, 0x1a, 0x0a, 0xfa, 0xd2, 0xe4, 0x93, 0x02, 0x04, 0x12, 0x02, 0x56, 0x32, 0x42, - 0xe6, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, - 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x17, 0x53, 0x6d, 0x65, 0x73, - 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x50, 0x72, - 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, - 0x6d, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, 0x70, - 0x69, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, - 0x65, 0x73, 0x68, 0x2e, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x12, 0x53, - 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0xe2, 0x02, 0x1e, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0xea, 0x02, 0x13, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x3a, 0x3a, - 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x1a, 0x0a, 0xfa, 0xd2, 0xe4, 0x93, 0x02, 0x04, + 0x12, 0x02, 0x56, 0x32, 0x42, 0xe6, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, + 0x17, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x69, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, + 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2f, 0x67, + 0x6f, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, 0x32, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x3b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x76, 0x32, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, 0x02, 0x12, 0x53, + 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0xca, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x1e, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, + 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x13, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, + 0x65, 0x73, 0x68, 0x3a, 0x3a, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/release/openapi/swagger/src/api.swagger.json b/release/openapi/swagger/src/api.swagger.json index 35d882ed..5f921fd8 100644 --- a/release/openapi/swagger/src/api.swagger.json +++ b/release/openapi/swagger/src/api.swagger.json @@ -1190,7 +1190,6 @@ "default": "UNSPECIFIED", "enum": [ "UNSPECIFIED", - "ERROR", "WAIT_FOR_ATX_SYNCING", "WAITING_FOR_POET_REGISTRATION_WINDOW", "POET_CHALLENGE_READY", diff --git a/spacemesh/v2alpha1/smeshing_identities.proto b/spacemesh/v2alpha1/smeshing_identities.proto index a0b34209..19ac9dd5 100644 --- a/spacemesh/v2alpha1/smeshing_identities.proto +++ b/spacemesh/v2alpha1/smeshing_identities.proto @@ -10,25 +10,24 @@ message IdentityStatesRequest {} enum IdentityStatus { UNSPECIFIED = 0; - ERROR = 1; - WAIT_FOR_ATX_SYNCING = 2; + WAIT_FOR_ATX_SYNCING = 1; - WAITING_FOR_POET_REGISTRATION_WINDOW = 6; - POET_CHALLENGE_READY = 7; - POET_REGISTERED = 8; - POET_REGISTRATION_FAILED = 9; - WAIT_FOR_POET_ROUND_END = 10; - POET_PROOF_RECEIVED = 11; - POET_PROOF_FAILED = 12; + WAITING_FOR_POET_REGISTRATION_WINDOW = 2; + POET_CHALLENGE_READY = 3; + POET_REGISTERED = 4; + POET_REGISTRATION_FAILED = 5; + WAIT_FOR_POET_ROUND_END = 6; + POET_PROOF_RECEIVED = 7; + POET_PROOF_FAILED = 8; - GENERATING_POST_PROOF = 13; - POST_PROOF_READY = 14; - POST_PROOF_FAILED = 15; + GENERATING_POST_PROOF = 9; + POST_PROOF_READY = 10; + POST_PROOF_FAILED = 11; - ATX_EXPIRED = 16; - ATX_READY = 17; - ATX_BROADCASTED = 18; + ATX_EXPIRED = 12; + ATX_READY = 13; + ATX_BROADCASTED = 14; } From 71c272a89d2e18f72aef53f300655b17eb406099 Mon Sep 17 00:00:00 2001 From: Kacper Sawicki Date: Wed, 13 Nov 2024 15:54:53 +0100 Subject: [PATCH 16/41] Add message --- .../v2alpha1/smeshing_identities.pb.go | 153 +++++++++--------- release/openapi/swagger/src/api.swagger.json | 3 + spacemesh/v2alpha1/smeshing_identities.proto | 3 +- 3 files changed, 86 insertions(+), 73 deletions(-) diff --git a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go index 9bff36fb..bc920abb 100644 --- a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go +++ b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go @@ -218,8 +218,9 @@ type IdentityState struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - State IdentityStatus `protobuf:"varint,1,opt,name=state,proto3,enum=spacemesh.v2alpha1.IdentityStatus" json:"state,omitempty"` - Time *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"` + State IdentityStatus `protobuf:"varint,1,opt,name=state,proto3,enum=spacemesh.v2alpha1.IdentityStatus" json:"state,omitempty"` + Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` + Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` } func (x *IdentityState) Reset() { @@ -268,6 +269,13 @@ func (x *IdentityState) GetTime() *timestamppb.Timestamp { return nil } +func (x *IdentityState) GetMessage() string { + if x != nil { + return x.Message + } + return "" +} + type Identity struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -398,79 +406,80 @@ var file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc = []byte{ 0x6f, 0x63, 0x68, 0x12, 0x39, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, - 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x65, 0x73, 0x22, 0x79, - 0x0a, 0x0d, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, - 0x38, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, - 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, - 0x75, 0x73, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, - 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, - 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x22, 0xa4, 0x01, 0x0a, 0x08, 0x49, 0x64, - 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, - 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x6d, 0x65, 0x73, - 0x68, 0x65, 0x72, 0x49, 0x64, 0x12, 0x3e, 0x0a, 0x06, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x18, - 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, - 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, - 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x52, 0x06, 0x65, - 0x70, 0x6f, 0x63, 0x68, 0x73, 0x12, 0x39, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x65, 0x73, 0x18, - 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, - 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, - 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x65, 0x73, - 0x22, 0x56, 0x0a, 0x16, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, - 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x0a, 0x69, 0x64, - 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, - 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x0a, 0x69, 0x64, - 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2a, 0xfc, 0x02, 0x0a, 0x0e, 0x49, 0x64, 0x65, - 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0f, 0x0a, 0x0b, 0x55, - 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x18, 0x0a, 0x14, - 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x41, 0x54, 0x58, 0x5f, 0x53, 0x59, 0x4e, - 0x43, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x28, 0x0a, 0x24, 0x57, 0x41, 0x49, 0x54, 0x49, 0x4e, - 0x47, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, - 0x54, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x57, 0x49, 0x4e, 0x44, 0x4f, 0x57, 0x10, 0x02, - 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, - 0x47, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x03, 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x4f, - 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x45, 0x52, 0x45, 0x44, 0x10, 0x04, 0x12, - 0x1c, 0x0a, 0x18, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x41, - 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x05, 0x12, 0x1b, 0x0a, - 0x17, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, - 0x4f, 0x55, 0x4e, 0x44, 0x5f, 0x45, 0x4e, 0x44, 0x10, 0x06, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x4f, - 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x43, 0x45, 0x49, 0x56, 0x45, - 0x44, 0x10, 0x07, 0x12, 0x15, 0x0a, 0x11, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, - 0x46, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x08, 0x12, 0x19, 0x0a, 0x15, 0x47, 0x45, - 0x4e, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, - 0x4f, 0x4f, 0x46, 0x10, 0x09, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, - 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x0a, 0x12, 0x15, 0x0a, 0x11, 0x50, - 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, - 0x10, 0x0b, 0x12, 0x0f, 0x0a, 0x0b, 0x41, 0x54, 0x58, 0x5f, 0x45, 0x58, 0x50, 0x49, 0x52, 0x45, - 0x44, 0x10, 0x0c, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x54, 0x58, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, - 0x10, 0x0d, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x54, 0x58, 0x5f, 0x42, 0x52, 0x4f, 0x41, 0x44, 0x43, - 0x41, 0x53, 0x54, 0x45, 0x44, 0x10, 0x0e, 0x32, 0x8a, 0x01, 0x0a, 0x19, 0x53, 0x6d, 0x65, 0x73, - 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x53, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x61, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, - 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, + 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x65, 0x73, 0x22, 0x93, + 0x01, 0x0a, 0x0d, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x12, 0x38, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x22, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, - 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x73, 0x70, 0x61, + 0x74, 0x75, 0x73, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, + 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, + 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x22, 0xa4, 0x01, 0x0a, 0x08, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x49, 0x64, + 0x12, 0x3e, 0x0a, 0x06, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x26, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x52, 0x06, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x73, + 0x12, 0x39, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x65, 0x73, 0x22, 0x56, 0x0a, 0x16, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x69, 0x65, 0x73, 0x2a, 0xfc, 0x02, 0x0a, 0x0e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, + 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x18, 0x0a, 0x14, 0x57, 0x41, 0x49, 0x54, 0x5f, + 0x46, 0x4f, 0x52, 0x5f, 0x41, 0x54, 0x58, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x49, 0x4e, 0x47, 0x10, + 0x01, 0x12, 0x28, 0x0a, 0x24, 0x57, 0x41, 0x49, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x46, 0x4f, 0x52, + 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x41, 0x54, 0x49, + 0x4f, 0x4e, 0x5f, 0x57, 0x49, 0x4e, 0x44, 0x4f, 0x57, 0x10, 0x02, 0x12, 0x18, 0x0a, 0x14, 0x50, + 0x4f, 0x45, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, 0x47, 0x45, 0x5f, 0x52, 0x45, + 0x41, 0x44, 0x59, 0x10, 0x03, 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, + 0x47, 0x49, 0x53, 0x54, 0x45, 0x52, 0x45, 0x44, 0x10, 0x04, 0x12, 0x1c, 0x0a, 0x18, 0x50, 0x4f, + 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, + 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x05, 0x12, 0x1b, 0x0a, 0x17, 0x57, 0x41, 0x49, 0x54, + 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x55, 0x4e, 0x44, 0x5f, + 0x45, 0x4e, 0x44, 0x10, 0x06, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x50, 0x52, + 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x43, 0x45, 0x49, 0x56, 0x45, 0x44, 0x10, 0x07, 0x12, 0x15, + 0x0a, 0x11, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x46, 0x41, 0x49, + 0x4c, 0x45, 0x44, 0x10, 0x08, 0x12, 0x19, 0x0a, 0x15, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, 0x54, + 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x10, 0x09, + 0x12, 0x14, 0x0a, 0x10, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, + 0x45, 0x41, 0x44, 0x59, 0x10, 0x0a, 0x12, 0x15, 0x0a, 0x11, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, + 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x0b, 0x12, 0x0f, 0x0a, + 0x0b, 0x41, 0x54, 0x58, 0x5f, 0x45, 0x58, 0x50, 0x49, 0x52, 0x45, 0x44, 0x10, 0x0c, 0x12, 0x0d, + 0x0a, 0x09, 0x41, 0x54, 0x58, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x0d, 0x12, 0x13, 0x0a, + 0x0f, 0x41, 0x54, 0x58, 0x5f, 0x42, 0x52, 0x4f, 0x41, 0x44, 0x43, 0x41, 0x53, 0x54, 0x45, 0x44, + 0x10, 0x0e, 0x32, 0x8a, 0x01, 0x0a, 0x19, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x12, 0x61, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x1a, 0x0a, 0xfa, 0xd2, 0xe4, 0x93, 0x02, 0x04, - 0x12, 0x02, 0x56, 0x32, 0x42, 0xe6, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, - 0x17, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, - 0x69, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, - 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, - 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2f, 0x67, - 0x6f, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, 0x32, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x3b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x76, 0x32, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, 0x02, 0x12, 0x53, - 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0xca, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x1e, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, - 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x13, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, - 0x65, 0x73, 0x68, 0x3a, 0x3a, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, + 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x1a, 0x0a, 0xfa, 0xd2, 0xe4, 0x93, 0x02, 0x04, 0x12, 0x02, 0x56, 0x32, 0x42, + 0xe6, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, + 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x17, 0x53, 0x6d, 0x65, 0x73, + 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x50, 0x72, + 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, + 0x6d, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, 0x70, + 0x69, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, + 0x65, 0x73, 0x68, 0x2e, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x12, 0x53, + 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0xe2, 0x02, 0x1e, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0xea, 0x02, 0x13, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x3a, 0x3a, + 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/release/openapi/swagger/src/api.swagger.json b/release/openapi/swagger/src/api.swagger.json index 5f921fd8..a1563ec5 100644 --- a/release/openapi/swagger/src/api.swagger.json +++ b/release/openapi/swagger/src/api.swagger.json @@ -1143,6 +1143,9 @@ "v2alpha1IdentityState": { "type": "object", "properties": { + "message": { + "type": "string" + }, "state": { "$ref": "#/definitions/v2alpha1IdentityStatus" }, diff --git a/spacemesh/v2alpha1/smeshing_identities.proto b/spacemesh/v2alpha1/smeshing_identities.proto index 19ac9dd5..ebaf4bca 100644 --- a/spacemesh/v2alpha1/smeshing_identities.proto +++ b/spacemesh/v2alpha1/smeshing_identities.proto @@ -58,7 +58,8 @@ message IdentityStateEpoch { message IdentityState { IdentityStatus state = 1; - google.protobuf.Timestamp time = 3; + google.protobuf.Timestamp time = 2; + string message = 3; } message Identity { From ff9dcffb762c9fd8de91a1c79ece16241851c625 Mon Sep 17 00:00:00 2001 From: Kacper Sawicki Date: Fri, 15 Nov 2024 14:45:58 +0100 Subject: [PATCH 17/41] Update Identity structure --- .../v2alpha1/smeshing_identities.pb.go | 385 +++++++----------- release/openapi/swagger/src/api.swagger.json | 77 ++-- spacemesh/v2alpha1/smeshing_identities.proto | 38 +- 3 files changed, 182 insertions(+), 318 deletions(-) diff --git a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go index bc920abb..b941337c 100644 --- a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go +++ b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go @@ -23,29 +23,29 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) -type IdentityStatus int32 +type IdentityState int32 const ( - IdentityStatus_UNSPECIFIED IdentityStatus = 0 - IdentityStatus_WAIT_FOR_ATX_SYNCING IdentityStatus = 1 - IdentityStatus_WAITING_FOR_POET_REGISTRATION_WINDOW IdentityStatus = 2 - IdentityStatus_POET_CHALLENGE_READY IdentityStatus = 3 - IdentityStatus_POET_REGISTERED IdentityStatus = 4 - IdentityStatus_POET_REGISTRATION_FAILED IdentityStatus = 5 - IdentityStatus_WAIT_FOR_POET_ROUND_END IdentityStatus = 6 - IdentityStatus_POET_PROOF_RECEIVED IdentityStatus = 7 - IdentityStatus_POET_PROOF_FAILED IdentityStatus = 8 - IdentityStatus_GENERATING_POST_PROOF IdentityStatus = 9 - IdentityStatus_POST_PROOF_READY IdentityStatus = 10 - IdentityStatus_POST_PROOF_FAILED IdentityStatus = 11 - IdentityStatus_ATX_EXPIRED IdentityStatus = 12 - IdentityStatus_ATX_READY IdentityStatus = 13 - IdentityStatus_ATX_BROADCASTED IdentityStatus = 14 + IdentityState_UNSPECIFIED IdentityState = 0 + IdentityState_WAIT_FOR_ATX_SYNCING IdentityState = 1 + IdentityState_WAITING_FOR_POET_REGISTRATION_WINDOW IdentityState = 2 + IdentityState_POET_CHALLENGE_READY IdentityState = 3 + IdentityState_POET_REGISTERED IdentityState = 4 + IdentityState_POET_REGISTRATION_FAILED IdentityState = 5 + IdentityState_WAIT_FOR_POET_ROUND_END IdentityState = 6 + IdentityState_POET_PROOF_RECEIVED IdentityState = 7 + IdentityState_POET_PROOF_FAILED IdentityState = 8 + IdentityState_GENERATING_POST_PROOF IdentityState = 9 + IdentityState_POST_PROOF_READY IdentityState = 10 + IdentityState_POST_PROOF_FAILED IdentityState = 11 + IdentityState_ATX_EXPIRED IdentityState = 12 + IdentityState_ATX_READY IdentityState = 13 + IdentityState_ATX_BROADCASTED IdentityState = 14 ) -// Enum value maps for IdentityStatus. +// Enum value maps for IdentityState. var ( - IdentityStatus_name = map[int32]string{ + IdentityState_name = map[int32]string{ 0: "UNSPECIFIED", 1: "WAIT_FOR_ATX_SYNCING", 2: "WAITING_FOR_POET_REGISTRATION_WINDOW", @@ -62,7 +62,7 @@ var ( 13: "ATX_READY", 14: "ATX_BROADCASTED", } - IdentityStatus_value = map[string]int32{ + IdentityState_value = map[string]int32{ "UNSPECIFIED": 0, "WAIT_FOR_ATX_SYNCING": 1, "WAITING_FOR_POET_REGISTRATION_WINDOW": 2, @@ -81,30 +81,30 @@ var ( } ) -func (x IdentityStatus) Enum() *IdentityStatus { - p := new(IdentityStatus) +func (x IdentityState) Enum() *IdentityState { + p := new(IdentityState) *p = x return p } -func (x IdentityStatus) String() string { +func (x IdentityState) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } -func (IdentityStatus) Descriptor() protoreflect.EnumDescriptor { +func (IdentityState) Descriptor() protoreflect.EnumDescriptor { return file_spacemesh_v2alpha1_smeshing_identities_proto_enumTypes[0].Descriptor() } -func (IdentityStatus) Type() protoreflect.EnumType { +func (IdentityState) Type() protoreflect.EnumType { return &file_spacemesh_v2alpha1_smeshing_identities_proto_enumTypes[0] } -func (x IdentityStatus) Number() protoreflect.EnumNumber { +func (x IdentityState) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } -// Deprecated: Use IdentityStatus.Descriptor instead. -func (IdentityStatus) EnumDescriptor() ([]byte, []int) { +// Deprecated: Use IdentityState.Descriptor instead. +func (IdentityState) EnumDescriptor() ([]byte, []int) { return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{0} } @@ -146,29 +146,19 @@ func (*IdentityStatesRequest) Descriptor() ([]byte, []int) { return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{0} } -// type IdentityStateInfo struct { -// Date string -// } -// -// type IdentityInfo struct { -// States map[IdentityState]IdentityStateInfo -// } -// -// type IdentityStateStorage struct { -// mu sync.RWMutex -// states map[types.NodeID]*IdentityInfo -// } -type IdentityStateEpoch struct { +type IdentityStateInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Epoch uint32 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"` - States []*IdentityState `protobuf:"bytes,2,rep,name=states,proto3" json:"states,omitempty"` + State IdentityState `protobuf:"varint,1,opt,name=state,proto3,enum=spacemesh.v2alpha1.IdentityState" json:"state,omitempty"` + PublishEpoch uint32 `protobuf:"varint,2,opt,name=publish_epoch,json=publishEpoch,proto3" json:"publish_epoch,omitempty"` + Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` + Time *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=time,proto3" json:"time,omitempty"` } -func (x *IdentityStateEpoch) Reset() { - *x = IdentityStateEpoch{} +func (x *IdentityStateInfo) Reset() { + *x = IdentityStateInfo{} if protoimpl.UnsafeEnabled { mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -176,13 +166,13 @@ func (x *IdentityStateEpoch) Reset() { } } -func (x *IdentityStateEpoch) String() string { +func (x *IdentityStateInfo) String() string { return protoimpl.X.MessageStringOf(x) } -func (*IdentityStateEpoch) ProtoMessage() {} +func (*IdentityStateInfo) ProtoMessage() {} -func (x *IdentityStateEpoch) ProtoReflect() protoreflect.Message { +func (x *IdentityStateInfo) ProtoReflect() protoreflect.Message { mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -194,102 +184,52 @@ func (x *IdentityStateEpoch) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use IdentityStateEpoch.ProtoReflect.Descriptor instead. -func (*IdentityStateEpoch) Descriptor() ([]byte, []int) { +// Deprecated: Use IdentityStateInfo.ProtoReflect.Descriptor instead. +func (*IdentityStateInfo) Descriptor() ([]byte, []int) { return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{1} } -func (x *IdentityStateEpoch) GetEpoch() uint32 { +func (x *IdentityStateInfo) GetState() IdentityState { if x != nil { - return x.Epoch + return x.State } - return 0 + return IdentityState_UNSPECIFIED } -func (x *IdentityStateEpoch) GetStates() []*IdentityState { +func (x *IdentityStateInfo) GetPublishEpoch() uint32 { if x != nil { - return x.States - } - return nil -} - -type IdentityState struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - State IdentityStatus `protobuf:"varint,1,opt,name=state,proto3,enum=spacemesh.v2alpha1.IdentityStatus" json:"state,omitempty"` - Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` - Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` -} - -func (x *IdentityState) Reset() { - *x = IdentityState{} - if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *IdentityState) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IdentityState) ProtoMessage() {} - -func (x *IdentityState) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms + return x.PublishEpoch } - return mi.MessageOf(x) -} - -// Deprecated: Use IdentityState.ProtoReflect.Descriptor instead. -func (*IdentityState) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{2} + return 0 } -func (x *IdentityState) GetState() IdentityStatus { +func (x *IdentityStateInfo) GetMessage() string { if x != nil { - return x.State + return x.Message } - return IdentityStatus_UNSPECIFIED + return "" } -func (x *IdentityState) GetTime() *timestamppb.Timestamp { +func (x *IdentityStateInfo) GetTime() *timestamppb.Timestamp { if x != nil { return x.Time } return nil } -func (x *IdentityState) GetMessage() string { - if x != nil { - return x.Message - } - return "" -} - type Identity struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - SmesherId []byte `protobuf:"bytes,1,opt,name=smesher_id,json=smesherId,proto3" json:"smesher_id,omitempty"` - Epochs []*IdentityStateEpoch `protobuf:"bytes,2,rep,name=epochs,proto3" json:"epochs,omitempty"` - States []*IdentityState `protobuf:"bytes,3,rep,name=states,proto3" json:"states,omitempty"` + SmesherId []byte `protobuf:"bytes,1,opt,name=smesher_id,json=smesherId,proto3" json:"smesher_id,omitempty"` + History []*IdentityStateInfo `protobuf:"bytes,2,rep,name=history,proto3" json:"history,omitempty"` } func (x *Identity) Reset() { *x = Identity{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[3] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -302,7 +242,7 @@ func (x *Identity) String() string { func (*Identity) ProtoMessage() {} func (x *Identity) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[3] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -315,7 +255,7 @@ func (x *Identity) ProtoReflect() protoreflect.Message { // Deprecated: Use Identity.ProtoReflect.Descriptor instead. func (*Identity) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{3} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{2} } func (x *Identity) GetSmesherId() []byte { @@ -325,16 +265,9 @@ func (x *Identity) GetSmesherId() []byte { return nil } -func (x *Identity) GetEpochs() []*IdentityStateEpoch { - if x != nil { - return x.Epochs - } - return nil -} - -func (x *Identity) GetStates() []*IdentityState { +func (x *Identity) GetHistory() []*IdentityStateInfo { if x != nil { - return x.States + return x.History } return nil } @@ -350,7 +283,7 @@ type IdentityStatesResponse struct { func (x *IdentityStatesResponse) Reset() { *x = IdentityStatesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[4] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -363,7 +296,7 @@ func (x *IdentityStatesResponse) String() string { func (*IdentityStatesResponse) ProtoMessage() {} func (x *IdentityStatesResponse) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[4] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -376,7 +309,7 @@ func (x *IdentityStatesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use IdentityStatesResponse.ProtoReflect.Descriptor instead. func (*IdentityStatesResponse) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{4} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{3} } func (x *IdentityStatesResponse) GetIdentities() []*Identity { @@ -400,86 +333,79 @@ var file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc = []byte{ 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x17, 0x0a, 0x15, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x65, 0x0a, 0x12, 0x49, 0x64, 0x65, 0x6e, 0x74, - 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x14, 0x0a, - 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x65, 0x70, - 0x6f, 0x63, 0x68, 0x12, 0x39, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, - 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, - 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x65, 0x73, 0x22, 0x93, - 0x01, 0x0a, 0x0d, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, - 0x12, 0x38, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x22, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, - 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, - 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x22, 0xa4, 0x01, 0x0a, 0x08, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xbb, 0x01, 0x0a, 0x11, 0x49, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x37, 0x0a, + 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, + 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, + 0x68, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x70, + 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x18, 0x0a, 0x07, 0x6d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, + 0x04, 0x74, 0x69, 0x6d, 0x65, 0x22, 0x6a, 0x0a, 0x08, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x49, 0x64, - 0x12, 0x3e, 0x0a, 0x06, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x26, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, - 0x61, 0x74, 0x65, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x52, 0x06, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x73, - 0x12, 0x39, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, - 0x61, 0x74, 0x65, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x65, 0x73, 0x22, 0x56, 0x0a, 0x16, 0x49, - 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, - 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, - 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, - 0x69, 0x65, 0x73, 0x2a, 0xfc, 0x02, 0x0a, 0x0e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, - 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, - 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x18, 0x0a, 0x14, 0x57, 0x41, 0x49, 0x54, 0x5f, - 0x46, 0x4f, 0x52, 0x5f, 0x41, 0x54, 0x58, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x49, 0x4e, 0x47, 0x10, - 0x01, 0x12, 0x28, 0x0a, 0x24, 0x57, 0x41, 0x49, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x46, 0x4f, 0x52, - 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x41, 0x54, 0x49, - 0x4f, 0x4e, 0x5f, 0x57, 0x49, 0x4e, 0x44, 0x4f, 0x57, 0x10, 0x02, 0x12, 0x18, 0x0a, 0x14, 0x50, - 0x4f, 0x45, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, 0x47, 0x45, 0x5f, 0x52, 0x45, - 0x41, 0x44, 0x59, 0x10, 0x03, 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, - 0x47, 0x49, 0x53, 0x54, 0x45, 0x52, 0x45, 0x44, 0x10, 0x04, 0x12, 0x1c, 0x0a, 0x18, 0x50, 0x4f, - 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, - 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x05, 0x12, 0x1b, 0x0a, 0x17, 0x57, 0x41, 0x49, 0x54, - 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x55, 0x4e, 0x44, 0x5f, - 0x45, 0x4e, 0x44, 0x10, 0x06, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x50, 0x52, - 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x43, 0x45, 0x49, 0x56, 0x45, 0x44, 0x10, 0x07, 0x12, 0x15, - 0x0a, 0x11, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x46, 0x41, 0x49, - 0x4c, 0x45, 0x44, 0x10, 0x08, 0x12, 0x19, 0x0a, 0x15, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, 0x54, - 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x10, 0x09, - 0x12, 0x14, 0x0a, 0x10, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, - 0x45, 0x41, 0x44, 0x59, 0x10, 0x0a, 0x12, 0x15, 0x0a, 0x11, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, - 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x0b, 0x12, 0x0f, 0x0a, - 0x0b, 0x41, 0x54, 0x58, 0x5f, 0x45, 0x58, 0x50, 0x49, 0x52, 0x45, 0x44, 0x10, 0x0c, 0x12, 0x0d, - 0x0a, 0x09, 0x41, 0x54, 0x58, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x0d, 0x12, 0x13, 0x0a, - 0x0f, 0x41, 0x54, 0x58, 0x5f, 0x42, 0x52, 0x4f, 0x41, 0x44, 0x43, 0x41, 0x53, 0x54, 0x45, 0x44, - 0x10, 0x0e, 0x32, 0x8a, 0x01, 0x0a, 0x19, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, - 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x12, 0x61, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x73, 0x70, 0x61, + 0x12, 0x3f, 0x0a, 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x25, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, + 0x79, 0x22, 0x56, 0x0a, 0x16, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x0a, 0x69, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x1c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x0a, 0x69, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2a, 0xfb, 0x02, 0x0a, 0x0d, 0x49, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, + 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x18, 0x0a, 0x14, + 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x41, 0x54, 0x58, 0x5f, 0x53, 0x59, 0x4e, + 0x43, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x28, 0x0a, 0x24, 0x57, 0x41, 0x49, 0x54, 0x49, 0x4e, + 0x47, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, + 0x54, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x57, 0x49, 0x4e, 0x44, 0x4f, 0x57, 0x10, 0x02, + 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, + 0x47, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x03, 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x4f, + 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x45, 0x52, 0x45, 0x44, 0x10, 0x04, 0x12, + 0x1c, 0x0a, 0x18, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x41, + 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x05, 0x12, 0x1b, 0x0a, + 0x17, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, + 0x4f, 0x55, 0x4e, 0x44, 0x5f, 0x45, 0x4e, 0x44, 0x10, 0x06, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x4f, + 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x43, 0x45, 0x49, 0x56, 0x45, + 0x44, 0x10, 0x07, 0x12, 0x15, 0x0a, 0x11, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, + 0x46, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x08, 0x12, 0x19, 0x0a, 0x15, 0x47, 0x45, + 0x4e, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, + 0x4f, 0x4f, 0x46, 0x10, 0x09, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, + 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x0a, 0x12, 0x15, 0x0a, 0x11, 0x50, + 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, + 0x10, 0x0b, 0x12, 0x0f, 0x0a, 0x0b, 0x41, 0x54, 0x58, 0x5f, 0x45, 0x58, 0x50, 0x49, 0x52, 0x45, + 0x44, 0x10, 0x0c, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x54, 0x58, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, + 0x10, 0x0d, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x54, 0x58, 0x5f, 0x42, 0x52, 0x4f, 0x41, 0x44, 0x43, + 0x41, 0x53, 0x54, 0x45, 0x44, 0x10, 0x0e, 0x32, 0x8a, 0x01, 0x0a, 0x19, 0x53, 0x6d, 0x65, 0x73, + 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x53, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x61, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, + 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, - 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, - 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x00, 0x1a, 0x0a, 0xfa, 0xd2, 0xe4, 0x93, 0x02, 0x04, 0x12, 0x02, 0x56, 0x32, 0x42, - 0xe6, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, - 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x17, 0x53, 0x6d, 0x65, 0x73, - 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x50, 0x72, - 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, - 0x6d, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, 0x70, - 0x69, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, - 0x65, 0x73, 0x68, 0x2e, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x12, 0x53, - 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0xe2, 0x02, 0x1e, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0xea, 0x02, 0x13, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x3a, 0x3a, - 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x1a, 0x0a, 0xfa, 0xd2, 0xe4, 0x93, 0x02, 0x04, + 0x12, 0x02, 0x56, 0x32, 0x42, 0xe6, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, + 0x17, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x69, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, + 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2f, 0x67, + 0x6f, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, 0x32, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x3b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x76, 0x32, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, 0x02, 0x12, 0x53, + 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0xca, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x1e, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, + 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x13, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, + 0x65, 0x73, 0x68, 0x3a, 0x3a, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -495,30 +421,27 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP() []byte { } var file_spacemesh_v2alpha1_smeshing_identities_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes = make([]protoimpl.MessageInfo, 5) +var file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes = make([]protoimpl.MessageInfo, 4) var file_spacemesh_v2alpha1_smeshing_identities_proto_goTypes = []interface{}{ - (IdentityStatus)(0), // 0: spacemesh.v2alpha1.IdentityStatus + (IdentityState)(0), // 0: spacemesh.v2alpha1.IdentityState (*IdentityStatesRequest)(nil), // 1: spacemesh.v2alpha1.IdentityStatesRequest - (*IdentityStateEpoch)(nil), // 2: spacemesh.v2alpha1.IdentityStateEpoch - (*IdentityState)(nil), // 3: spacemesh.v2alpha1.IdentityState - (*Identity)(nil), // 4: spacemesh.v2alpha1.Identity - (*IdentityStatesResponse)(nil), // 5: spacemesh.v2alpha1.IdentityStatesResponse - (*timestamppb.Timestamp)(nil), // 6: google.protobuf.Timestamp + (*IdentityStateInfo)(nil), // 2: spacemesh.v2alpha1.IdentityStateInfo + (*Identity)(nil), // 3: spacemesh.v2alpha1.Identity + (*IdentityStatesResponse)(nil), // 4: spacemesh.v2alpha1.IdentityStatesResponse + (*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp } var file_spacemesh_v2alpha1_smeshing_identities_proto_depIdxs = []int32{ - 3, // 0: spacemesh.v2alpha1.IdentityStateEpoch.states:type_name -> spacemesh.v2alpha1.IdentityState - 0, // 1: spacemesh.v2alpha1.IdentityState.state:type_name -> spacemesh.v2alpha1.IdentityStatus - 6, // 2: spacemesh.v2alpha1.IdentityState.time:type_name -> google.protobuf.Timestamp - 2, // 3: spacemesh.v2alpha1.Identity.epochs:type_name -> spacemesh.v2alpha1.IdentityStateEpoch - 3, // 4: spacemesh.v2alpha1.Identity.states:type_name -> spacemesh.v2alpha1.IdentityState - 4, // 5: spacemesh.v2alpha1.IdentityStatesResponse.identities:type_name -> spacemesh.v2alpha1.Identity - 1, // 6: spacemesh.v2alpha1.SmeshingIdentitiesService.States:input_type -> spacemesh.v2alpha1.IdentityStatesRequest - 5, // 7: spacemesh.v2alpha1.SmeshingIdentitiesService.States:output_type -> spacemesh.v2alpha1.IdentityStatesResponse - 7, // [7:8] is the sub-list for method output_type - 6, // [6:7] is the sub-list for method input_type - 6, // [6:6] is the sub-list for extension type_name - 6, // [6:6] is the sub-list for extension extendee - 0, // [0:6] is the sub-list for field type_name + 0, // 0: spacemesh.v2alpha1.IdentityStateInfo.state:type_name -> spacemesh.v2alpha1.IdentityState + 5, // 1: spacemesh.v2alpha1.IdentityStateInfo.time:type_name -> google.protobuf.Timestamp + 2, // 2: spacemesh.v2alpha1.Identity.history:type_name -> spacemesh.v2alpha1.IdentityStateInfo + 3, // 3: spacemesh.v2alpha1.IdentityStatesResponse.identities:type_name -> spacemesh.v2alpha1.Identity + 1, // 4: spacemesh.v2alpha1.SmeshingIdentitiesService.States:input_type -> spacemesh.v2alpha1.IdentityStatesRequest + 4, // 5: spacemesh.v2alpha1.SmeshingIdentitiesService.States:output_type -> spacemesh.v2alpha1.IdentityStatesResponse + 5, // [5:6] is the sub-list for method output_type + 4, // [4:5] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name } func init() { file_spacemesh_v2alpha1_smeshing_identities_proto_init() } @@ -540,7 +463,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IdentityStateEpoch); i { + switch v := v.(*IdentityStateInfo); i { case 0: return &v.state case 1: @@ -552,18 +475,6 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IdentityState); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Identity); i { case 0: return &v.state @@ -575,7 +486,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { return nil } } - file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*IdentityStatesResponse); i { case 0: return &v.state @@ -594,7 +505,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc, NumEnums: 1, - NumMessages: 5, + NumMessages: 4, NumExtensions: 0, NumServices: 1, }, diff --git a/release/openapi/swagger/src/api.swagger.json b/release/openapi/swagger/src/api.swagger.json index a1563ec5..c19ab1a9 100644 --- a/release/openapi/swagger/src/api.swagger.json +++ b/release/openapi/swagger/src/api.swagger.json @@ -1120,34 +1120,52 @@ "v2alpha1Identity": { "type": "object", "properties": { - "epochs": { + "history": { "type": "array", "items": { "type": "object", - "$ref": "#/definitions/v2alpha1IdentityStateEpoch" + "$ref": "#/definitions/v2alpha1IdentityStateInfo" } }, "smesherId": { "type": "string", "format": "byte" - }, - "states": { - "type": "array", - "items": { - "type": "object", - "$ref": "#/definitions/v2alpha1IdentityState" - } } } }, "v2alpha1IdentityState": { + "type": "string", + "default": "UNSPECIFIED", + "enum": [ + "UNSPECIFIED", + "WAIT_FOR_ATX_SYNCING", + "WAITING_FOR_POET_REGISTRATION_WINDOW", + "POET_CHALLENGE_READY", + "POET_REGISTERED", + "POET_REGISTRATION_FAILED", + "WAIT_FOR_POET_ROUND_END", + "POET_PROOF_RECEIVED", + "POET_PROOF_FAILED", + "GENERATING_POST_PROOF", + "POST_PROOF_READY", + "POST_PROOF_FAILED", + "ATX_EXPIRED", + "ATX_READY", + "ATX_BROADCASTED" + ] + }, + "v2alpha1IdentityStateInfo": { "type": "object", "properties": { "message": { "type": "string" }, + "publishEpoch": { + "type": "integer", + "format": "int64" + }, "state": { - "$ref": "#/definitions/v2alpha1IdentityStatus" + "$ref": "#/definitions/v2alpha1IdentityState" }, "time": { "type": "string", @@ -1155,24 +1173,6 @@ } } }, - "v2alpha1IdentityStateEpoch": { - "description": "type IdentityInfo struct {\n\tStates map[IdentityState]IdentityStateInfo\n}\n\ntype IdentityStateStorage struct {\n\tmu sync.RWMutex\n\tstates map[types.NodeID]*IdentityInfo\n}", - "type": "object", - "title": "type IdentityStateInfo struct {\n\tDate string\n}", - "properties": { - "epoch": { - "type": "integer", - "format": "int64" - }, - "states": { - "type": "array", - "items": { - "type": "object", - "$ref": "#/definitions/v2alpha1IdentityState" - } - } - } - }, "v2alpha1IdentityStatesRequest": { "type": "object" }, @@ -1188,27 +1188,6 @@ } } }, - "v2alpha1IdentityStatus": { - "type": "string", - "default": "UNSPECIFIED", - "enum": [ - "UNSPECIFIED", - "WAIT_FOR_ATX_SYNCING", - "WAITING_FOR_POET_REGISTRATION_WINDOW", - "POET_CHALLENGE_READY", - "POET_REGISTERED", - "POET_REGISTRATION_FAILED", - "WAIT_FOR_POET_ROUND_END", - "POET_PROOF_RECEIVED", - "POET_PROOF_FAILED", - "GENERATING_POST_PROOF", - "POST_PROOF_READY", - "POST_PROOF_FAILED", - "ATX_EXPIRED", - "ATX_READY", - "ATX_BROADCASTED" - ] - }, "v2alpha1LayerList": { "type": "object", "properties": { diff --git a/spacemesh/v2alpha1/smeshing_identities.proto b/spacemesh/v2alpha1/smeshing_identities.proto index ebaf4bca..de62f39d 100644 --- a/spacemesh/v2alpha1/smeshing_identities.proto +++ b/spacemesh/v2alpha1/smeshing_identities.proto @@ -8,7 +8,7 @@ package spacemesh.v2alpha1; message IdentityStatesRequest {} -enum IdentityStatus { +enum IdentityState { UNSPECIFIED = 0; WAIT_FOR_ATX_SYNCING = 1; @@ -30,42 +30,16 @@ enum IdentityStatus { ATX_BROADCASTED = 14; } - -//enum RegistrationStatus { -// UNKNOWN = 0; -// SUCCESS_REG = 1; -// FAILED_REG = 2; -// RESIDUAL_REG = 3; -// NO_REG = 4; -//} - -//type IdentityStateInfo struct { -// Date string -//} -// -//type IdentityInfo struct { -// States map[IdentityState]IdentityStateInfo -//} -// -//type IdentityStateStorage struct { -// mu sync.RWMutex -// states map[types.NodeID]*IdentityInfo -//} -message IdentityStateEpoch { - uint32 epoch = 1; - repeated IdentityState states = 2; -} - -message IdentityState { - IdentityStatus state = 1; - google.protobuf.Timestamp time = 2; +message IdentityStateInfo { + IdentityState state = 1; + uint32 publish_epoch = 2; string message = 3; + google.protobuf.Timestamp time = 4; } message Identity { bytes smesher_id = 1; - repeated IdentityStateEpoch epochs = 2; - repeated IdentityState states = 3; + repeated IdentityStateInfo history = 2; } message IdentityStatesResponse { From c80d0ab7008cb9ae52b6c2dc73276ed50521c294 Mon Sep 17 00:00:00 2001 From: Kacper Sawicki Date: Fri, 15 Nov 2024 15:03:38 +0100 Subject: [PATCH 18/41] Make publish_epoch optional --- .../v2alpha1/smeshing_identities.pb.go | 144 +++++++++--------- spacemesh/v2alpha1/smeshing_identities.proto | 2 +- 2 files changed, 74 insertions(+), 72 deletions(-) diff --git a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go index b941337c..24392e22 100644 --- a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go +++ b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go @@ -152,7 +152,7 @@ type IdentityStateInfo struct { unknownFields protoimpl.UnknownFields State IdentityState `protobuf:"varint,1,opt,name=state,proto3,enum=spacemesh.v2alpha1.IdentityState" json:"state,omitempty"` - PublishEpoch uint32 `protobuf:"varint,2,opt,name=publish_epoch,json=publishEpoch,proto3" json:"publish_epoch,omitempty"` + PublishEpoch *uint32 `protobuf:"varint,2,opt,name=publish_epoch,json=publishEpoch,proto3,oneof" json:"publish_epoch,omitempty"` Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` Time *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=time,proto3" json:"time,omitempty"` } @@ -197,8 +197,8 @@ func (x *IdentityStateInfo) GetState() IdentityState { } func (x *IdentityStateInfo) GetPublishEpoch() uint32 { - if x != nil { - return x.PublishEpoch + if x != nil && x.PublishEpoch != nil { + return *x.PublishEpoch } return 0 } @@ -333,79 +333,80 @@ var file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc = []byte{ 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x17, 0x0a, 0x15, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xbb, 0x01, 0x0a, 0x11, 0x49, 0x64, 0x65, 0x6e, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xd2, 0x01, 0x0a, 0x11, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x37, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, - 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, - 0x68, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x70, - 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x18, 0x0a, 0x07, 0x6d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, - 0x04, 0x74, 0x69, 0x6d, 0x65, 0x22, 0x6a, 0x0a, 0x08, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, - 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x49, 0x64, - 0x12, 0x3f, 0x0a, 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x02, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x25, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, + 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x28, 0x0a, 0x0d, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, + 0x68, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x00, 0x52, + 0x0c, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x88, 0x01, 0x01, + 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, + 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, + 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x70, + 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x22, 0x6a, 0x0a, 0x08, + 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x6d, 0x65, 0x73, + 0x68, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x6d, + 0x65, 0x73, 0x68, 0x65, 0x72, 0x49, 0x64, 0x12, 0x3f, 0x0a, 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, + 0x72, 0x79, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x56, 0x0a, 0x16, 0x49, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, + 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, + 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, + 0x2a, 0xfb, 0x02, 0x0a, 0x0d, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, + 0x44, 0x10, 0x00, 0x12, 0x18, 0x0a, 0x14, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, + 0x41, 0x54, 0x58, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x28, 0x0a, + 0x24, 0x57, 0x41, 0x49, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, + 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x57, + 0x49, 0x4e, 0x44, 0x4f, 0x57, 0x10, 0x02, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4f, 0x45, 0x54, 0x5f, + 0x43, 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, 0x47, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, + 0x03, 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, + 0x45, 0x52, 0x45, 0x44, 0x10, 0x04, 0x12, 0x1c, 0x0a, 0x18, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, + 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x46, 0x41, 0x49, 0x4c, + 0x45, 0x44, 0x10, 0x05, 0x12, 0x1b, 0x0a, 0x17, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, + 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x55, 0x4e, 0x44, 0x5f, 0x45, 0x4e, 0x44, 0x10, + 0x06, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, + 0x52, 0x45, 0x43, 0x45, 0x49, 0x56, 0x45, 0x44, 0x10, 0x07, 0x12, 0x15, 0x0a, 0x11, 0x50, 0x4f, + 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, + 0x08, 0x12, 0x19, 0x0a, 0x15, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x5f, + 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x10, 0x09, 0x12, 0x14, 0x0a, 0x10, + 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, + 0x10, 0x0a, 0x12, 0x15, 0x0a, 0x11, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, + 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x0b, 0x12, 0x0f, 0x0a, 0x0b, 0x41, 0x54, 0x58, + 0x5f, 0x45, 0x58, 0x50, 0x49, 0x52, 0x45, 0x44, 0x10, 0x0c, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x54, + 0x58, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x0d, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x54, 0x58, + 0x5f, 0x42, 0x52, 0x4f, 0x41, 0x44, 0x43, 0x41, 0x53, 0x54, 0x45, 0x44, 0x10, 0x0e, 0x32, 0x8a, + 0x01, 0x0a, 0x19, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x69, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x61, 0x0a, 0x06, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, + 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, - 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, - 0x79, 0x22, 0x56, 0x0a, 0x16, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, - 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x0a, 0x69, - 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x1c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x0a, 0x69, - 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2a, 0xfb, 0x02, 0x0a, 0x0d, 0x49, 0x64, - 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, - 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x18, 0x0a, 0x14, - 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x41, 0x54, 0x58, 0x5f, 0x53, 0x59, 0x4e, - 0x43, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x28, 0x0a, 0x24, 0x57, 0x41, 0x49, 0x54, 0x49, 0x4e, - 0x47, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, - 0x54, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x57, 0x49, 0x4e, 0x44, 0x4f, 0x57, 0x10, 0x02, - 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, - 0x47, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x03, 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x4f, - 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x45, 0x52, 0x45, 0x44, 0x10, 0x04, 0x12, - 0x1c, 0x0a, 0x18, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x41, - 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x05, 0x12, 0x1b, 0x0a, - 0x17, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, - 0x4f, 0x55, 0x4e, 0x44, 0x5f, 0x45, 0x4e, 0x44, 0x10, 0x06, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x4f, - 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x43, 0x45, 0x49, 0x56, 0x45, - 0x44, 0x10, 0x07, 0x12, 0x15, 0x0a, 0x11, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, - 0x46, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x08, 0x12, 0x19, 0x0a, 0x15, 0x47, 0x45, - 0x4e, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, - 0x4f, 0x4f, 0x46, 0x10, 0x09, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, - 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x0a, 0x12, 0x15, 0x0a, 0x11, 0x50, - 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, - 0x10, 0x0b, 0x12, 0x0f, 0x0a, 0x0b, 0x41, 0x54, 0x58, 0x5f, 0x45, 0x58, 0x50, 0x49, 0x52, 0x45, - 0x44, 0x10, 0x0c, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x54, 0x58, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, - 0x10, 0x0d, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x54, 0x58, 0x5f, 0x42, 0x52, 0x4f, 0x41, 0x44, 0x43, - 0x41, 0x53, 0x54, 0x45, 0x44, 0x10, 0x0e, 0x32, 0x8a, 0x01, 0x0a, 0x19, 0x53, 0x6d, 0x65, 0x73, - 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x53, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x61, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, - 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, - 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x1a, 0x0a, 0xfa, 0xd2, 0xe4, 0x93, 0x02, 0x04, - 0x12, 0x02, 0x56, 0x32, 0x42, 0xe6, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, - 0x17, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, - 0x69, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, - 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, - 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2f, 0x67, - 0x6f, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, 0x32, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x3b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x76, 0x32, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, 0x02, 0x12, 0x53, - 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0xca, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x1e, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, - 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x13, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, - 0x65, 0x73, 0x68, 0x3a, 0x3a, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x1a, + 0x0a, 0xfa, 0xd2, 0xe4, 0x93, 0x02, 0x04, 0x12, 0x02, 0x56, 0x32, 0x42, 0xe6, 0x01, 0x0a, 0x16, + 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x17, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, + 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, + 0x01, 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, + 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, + 0x73, 0x68, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x6d, 0x65, 0x73, 0x68, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, + 0x53, 0x58, 0x58, 0xaa, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, + 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, + 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x1e, + 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, + 0x13, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x3a, 0x3a, 0x56, 0x32, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -499,6 +500,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } } + file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[1].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/spacemesh/v2alpha1/smeshing_identities.proto b/spacemesh/v2alpha1/smeshing_identities.proto index de62f39d..80c855fd 100644 --- a/spacemesh/v2alpha1/smeshing_identities.proto +++ b/spacemesh/v2alpha1/smeshing_identities.proto @@ -32,7 +32,7 @@ enum IdentityState { message IdentityStateInfo { IdentityState state = 1; - uint32 publish_epoch = 2; + optional uint32 publish_epoch = 2; string message = 3; google.protobuf.Timestamp time = 4; } From d14c560b5d51414388f9bbabb2a7261c0426c80a Mon Sep 17 00:00:00 2001 From: Kacper Sawicki Date: Fri, 15 Nov 2024 16:08:49 +0100 Subject: [PATCH 19/41] Change WAIT_FOR_ATX_SYNCING to WAIT_FOR_ATX_SYNCED --- .../v2alpha1/smeshing_identities.pb.go | 100 +++++++++--------- release/openapi/swagger/src/api.swagger.json | 2 +- spacemesh/v2alpha1/smeshing_identities.proto | 2 +- 3 files changed, 52 insertions(+), 52 deletions(-) diff --git a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go index 24392e22..32f4e3e5 100644 --- a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go +++ b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go @@ -27,7 +27,7 @@ type IdentityState int32 const ( IdentityState_UNSPECIFIED IdentityState = 0 - IdentityState_WAIT_FOR_ATX_SYNCING IdentityState = 1 + IdentityState_WAIT_FOR_ATX_SYNCED IdentityState = 1 IdentityState_WAITING_FOR_POET_REGISTRATION_WINDOW IdentityState = 2 IdentityState_POET_CHALLENGE_READY IdentityState = 3 IdentityState_POET_REGISTERED IdentityState = 4 @@ -47,7 +47,7 @@ const ( var ( IdentityState_name = map[int32]string{ 0: "UNSPECIFIED", - 1: "WAIT_FOR_ATX_SYNCING", + 1: "WAIT_FOR_ATX_SYNCED", 2: "WAITING_FOR_POET_REGISTRATION_WINDOW", 3: "POET_CHALLENGE_READY", 4: "POET_REGISTERED", @@ -64,7 +64,7 @@ var ( } IdentityState_value = map[string]int32{ "UNSPECIFIED": 0, - "WAIT_FOR_ATX_SYNCING": 1, + "WAIT_FOR_ATX_SYNCED": 1, "WAITING_FOR_POET_REGISTRATION_WINDOW": 2, "POET_CHALLENGE_READY": 3, "POET_REGISTERED": 4, @@ -359,54 +359,54 @@ var file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc = []byte{ 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, - 0x2a, 0xfb, 0x02, 0x0a, 0x0d, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, + 0x2a, 0xfa, 0x02, 0x0a, 0x0d, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, - 0x44, 0x10, 0x00, 0x12, 0x18, 0x0a, 0x14, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, - 0x41, 0x54, 0x58, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x28, 0x0a, - 0x24, 0x57, 0x41, 0x49, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, - 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x57, - 0x49, 0x4e, 0x44, 0x4f, 0x57, 0x10, 0x02, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4f, 0x45, 0x54, 0x5f, - 0x43, 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, 0x47, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, - 0x03, 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, - 0x45, 0x52, 0x45, 0x44, 0x10, 0x04, 0x12, 0x1c, 0x0a, 0x18, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, - 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x46, 0x41, 0x49, 0x4c, - 0x45, 0x44, 0x10, 0x05, 0x12, 0x1b, 0x0a, 0x17, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, - 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x55, 0x4e, 0x44, 0x5f, 0x45, 0x4e, 0x44, 0x10, - 0x06, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, - 0x52, 0x45, 0x43, 0x45, 0x49, 0x56, 0x45, 0x44, 0x10, 0x07, 0x12, 0x15, 0x0a, 0x11, 0x50, 0x4f, - 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, - 0x08, 0x12, 0x19, 0x0a, 0x15, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x5f, - 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x10, 0x09, 0x12, 0x14, 0x0a, 0x10, - 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, - 0x10, 0x0a, 0x12, 0x15, 0x0a, 0x11, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, - 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x0b, 0x12, 0x0f, 0x0a, 0x0b, 0x41, 0x54, 0x58, - 0x5f, 0x45, 0x58, 0x50, 0x49, 0x52, 0x45, 0x44, 0x10, 0x0c, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x54, - 0x58, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x0d, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x54, 0x58, - 0x5f, 0x42, 0x52, 0x4f, 0x41, 0x44, 0x43, 0x41, 0x53, 0x54, 0x45, 0x44, 0x10, 0x0e, 0x32, 0x8a, - 0x01, 0x0a, 0x19, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, - 0x69, 0x74, 0x69, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x61, 0x0a, 0x06, - 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, - 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, - 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, - 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x1a, - 0x0a, 0xfa, 0xd2, 0xe4, 0x93, 0x02, 0x04, 0x12, 0x02, 0x56, 0x32, 0x42, 0xe6, 0x01, 0x0a, 0x16, - 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x17, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, - 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, - 0x01, 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, - 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, - 0x73, 0x68, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x6d, 0x65, 0x73, 0x68, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, - 0x53, 0x58, 0x58, 0xaa, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, - 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, - 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x1e, - 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, - 0x13, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x3a, 0x3a, 0x56, 0x32, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, + 0x41, 0x54, 0x58, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x45, 0x44, 0x10, 0x01, 0x12, 0x28, 0x0a, 0x24, + 0x57, 0x41, 0x49, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, + 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x57, 0x49, + 0x4e, 0x44, 0x4f, 0x57, 0x10, 0x02, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x43, + 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, 0x47, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x03, + 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x45, + 0x52, 0x45, 0x44, 0x10, 0x04, 0x12, 0x1c, 0x0a, 0x18, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, + 0x47, 0x49, 0x53, 0x54, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, + 0x44, 0x10, 0x05, 0x12, 0x1b, 0x0a, 0x17, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, + 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x55, 0x4e, 0x44, 0x5f, 0x45, 0x4e, 0x44, 0x10, 0x06, + 0x12, 0x17, 0x0a, 0x13, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, + 0x45, 0x43, 0x45, 0x49, 0x56, 0x45, 0x44, 0x10, 0x07, 0x12, 0x15, 0x0a, 0x11, 0x50, 0x4f, 0x45, + 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x08, + 0x12, 0x19, 0x0a, 0x15, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x50, + 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x10, 0x09, 0x12, 0x14, 0x0a, 0x10, 0x50, + 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, + 0x0a, 0x12, 0x15, 0x0a, 0x11, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, + 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x0b, 0x12, 0x0f, 0x0a, 0x0b, 0x41, 0x54, 0x58, 0x5f, + 0x45, 0x58, 0x50, 0x49, 0x52, 0x45, 0x44, 0x10, 0x0c, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x54, 0x58, + 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x0d, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x54, 0x58, 0x5f, + 0x42, 0x52, 0x4f, 0x41, 0x44, 0x43, 0x41, 0x53, 0x54, 0x45, 0x44, 0x10, 0x0e, 0x32, 0x8a, 0x01, + 0x0a, 0x19, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x69, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x61, 0x0a, 0x06, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, + 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x1a, 0x0a, + 0xfa, 0xd2, 0xe4, 0x93, 0x02, 0x04, 0x12, 0x02, 0x56, 0x32, 0x42, 0xe6, 0x01, 0x0a, 0x16, 0x63, + 0x6f, 0x6d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x17, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, + 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x6c, + 0x65, 0x61, 0x73, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, + 0x68, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x6d, 0x65, 0x73, 0x68, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x53, + 0x58, 0x58, 0xaa, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x56, + 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, + 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x1e, 0x53, + 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x13, + 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x3a, 0x3a, 0x56, 0x32, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/release/openapi/swagger/src/api.swagger.json b/release/openapi/swagger/src/api.swagger.json index c19ab1a9..e63bb634 100644 --- a/release/openapi/swagger/src/api.swagger.json +++ b/release/openapi/swagger/src/api.swagger.json @@ -1138,7 +1138,7 @@ "default": "UNSPECIFIED", "enum": [ "UNSPECIFIED", - "WAIT_FOR_ATX_SYNCING", + "WAIT_FOR_ATX_SYNCED", "WAITING_FOR_POET_REGISTRATION_WINDOW", "POET_CHALLENGE_READY", "POET_REGISTERED", diff --git a/spacemesh/v2alpha1/smeshing_identities.proto b/spacemesh/v2alpha1/smeshing_identities.proto index 80c855fd..7372f69d 100644 --- a/spacemesh/v2alpha1/smeshing_identities.proto +++ b/spacemesh/v2alpha1/smeshing_identities.proto @@ -11,7 +11,7 @@ message IdentityStatesRequest {} enum IdentityState { UNSPECIFIED = 0; - WAIT_FOR_ATX_SYNCING = 1; + WAIT_FOR_ATX_SYNCED = 1; WAITING_FOR_POET_REGISTRATION_WINDOW = 2; POET_CHALLENGE_READY = 3; From cc3dcef1a261b5f6f5fd6bce3cd7647923051a7e Mon Sep 17 00:00:00 2001 From: Kacper Sawicki Date: Mon, 18 Nov 2024 10:42:46 +0100 Subject: [PATCH 20/41] Remove failed states and replace them with retrying --- .../v2alpha1/smeshing_identities.pb.go | 146 ++++++++---------- release/openapi/swagger/src/api.swagger.json | 5 +- spacemesh/v2alpha1/smeshing_identities.proto | 31 ++-- 3 files changed, 81 insertions(+), 101 deletions(-) diff --git a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go index 32f4e3e5..c6335405 100644 --- a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go +++ b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go @@ -28,19 +28,16 @@ type IdentityState int32 const ( IdentityState_UNSPECIFIED IdentityState = 0 IdentityState_WAIT_FOR_ATX_SYNCED IdentityState = 1 - IdentityState_WAITING_FOR_POET_REGISTRATION_WINDOW IdentityState = 2 - IdentityState_POET_CHALLENGE_READY IdentityState = 3 - IdentityState_POET_REGISTERED IdentityState = 4 - IdentityState_POET_REGISTRATION_FAILED IdentityState = 5 + IdentityState_RETRYING IdentityState = 2 + IdentityState_WAITING_FOR_POET_REGISTRATION_WINDOW IdentityState = 3 + IdentityState_POET_CHALLENGE_READY IdentityState = 4 + IdentityState_POET_REGISTERED IdentityState = 5 IdentityState_WAIT_FOR_POET_ROUND_END IdentityState = 6 IdentityState_POET_PROOF_RECEIVED IdentityState = 7 - IdentityState_POET_PROOF_FAILED IdentityState = 8 - IdentityState_GENERATING_POST_PROOF IdentityState = 9 - IdentityState_POST_PROOF_READY IdentityState = 10 - IdentityState_POST_PROOF_FAILED IdentityState = 11 - IdentityState_ATX_EXPIRED IdentityState = 12 - IdentityState_ATX_READY IdentityState = 13 - IdentityState_ATX_BROADCASTED IdentityState = 14 + IdentityState_GENERATING_POST_PROOF IdentityState = 8 + IdentityState_POST_PROOF_READY IdentityState = 9 + IdentityState_ATX_READY IdentityState = 10 + IdentityState_ATX_BROADCASTED IdentityState = 11 ) // Enum value maps for IdentityState. @@ -48,36 +45,30 @@ var ( IdentityState_name = map[int32]string{ 0: "UNSPECIFIED", 1: "WAIT_FOR_ATX_SYNCED", - 2: "WAITING_FOR_POET_REGISTRATION_WINDOW", - 3: "POET_CHALLENGE_READY", - 4: "POET_REGISTERED", - 5: "POET_REGISTRATION_FAILED", + 2: "RETRYING", + 3: "WAITING_FOR_POET_REGISTRATION_WINDOW", + 4: "POET_CHALLENGE_READY", + 5: "POET_REGISTERED", 6: "WAIT_FOR_POET_ROUND_END", 7: "POET_PROOF_RECEIVED", - 8: "POET_PROOF_FAILED", - 9: "GENERATING_POST_PROOF", - 10: "POST_PROOF_READY", - 11: "POST_PROOF_FAILED", - 12: "ATX_EXPIRED", - 13: "ATX_READY", - 14: "ATX_BROADCASTED", + 8: "GENERATING_POST_PROOF", + 9: "POST_PROOF_READY", + 10: "ATX_READY", + 11: "ATX_BROADCASTED", } IdentityState_value = map[string]int32{ "UNSPECIFIED": 0, "WAIT_FOR_ATX_SYNCED": 1, - "WAITING_FOR_POET_REGISTRATION_WINDOW": 2, - "POET_CHALLENGE_READY": 3, - "POET_REGISTERED": 4, - "POET_REGISTRATION_FAILED": 5, + "RETRYING": 2, + "WAITING_FOR_POET_REGISTRATION_WINDOW": 3, + "POET_CHALLENGE_READY": 4, + "POET_REGISTERED": 5, "WAIT_FOR_POET_ROUND_END": 6, "POET_PROOF_RECEIVED": 7, - "POET_PROOF_FAILED": 8, - "GENERATING_POST_PROOF": 9, - "POST_PROOF_READY": 10, - "POST_PROOF_FAILED": 11, - "ATX_EXPIRED": 12, - "ATX_READY": 13, - "ATX_BROADCASTED": 14, + "GENERATING_POST_PROOF": 8, + "POST_PROOF_READY": 9, + "ATX_READY": 10, + "ATX_BROADCASTED": 11, } ) @@ -326,10 +317,10 @@ var file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc = []byte{ 0x70, 0x68, 0x61, 0x31, 0x2f, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, - 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, - 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, - 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, + 0x61, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, + 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x69, 0x73, + 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x17, 0x0a, 0x15, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, @@ -359,54 +350,49 @@ var file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc = []byte{ 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, - 0x2a, 0xfa, 0x02, 0x0a, 0x0d, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, + 0x2a, 0xab, 0x02, 0x0a, 0x0d, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, - 0x41, 0x54, 0x58, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x45, 0x44, 0x10, 0x01, 0x12, 0x28, 0x0a, 0x24, - 0x57, 0x41, 0x49, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, - 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x57, 0x49, - 0x4e, 0x44, 0x4f, 0x57, 0x10, 0x02, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x43, - 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, 0x47, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x03, - 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x45, - 0x52, 0x45, 0x44, 0x10, 0x04, 0x12, 0x1c, 0x0a, 0x18, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, - 0x47, 0x49, 0x53, 0x54, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, + 0x41, 0x54, 0x58, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, + 0x52, 0x45, 0x54, 0x52, 0x59, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x28, 0x0a, 0x24, 0x57, 0x41, + 0x49, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, + 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x57, 0x49, 0x4e, 0x44, + 0x4f, 0x57, 0x10, 0x03, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x43, 0x48, 0x41, + 0x4c, 0x4c, 0x45, 0x4e, 0x47, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x04, 0x12, 0x13, + 0x0a, 0x0f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x45, 0x52, 0x45, 0x44, 0x10, 0x05, 0x12, 0x1b, 0x0a, 0x17, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x55, 0x4e, 0x44, 0x5f, 0x45, 0x4e, 0x44, 0x10, 0x06, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, - 0x45, 0x43, 0x45, 0x49, 0x56, 0x45, 0x44, 0x10, 0x07, 0x12, 0x15, 0x0a, 0x11, 0x50, 0x4f, 0x45, - 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x08, - 0x12, 0x19, 0x0a, 0x15, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x50, - 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x10, 0x09, 0x12, 0x14, 0x0a, 0x10, 0x50, - 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, - 0x0a, 0x12, 0x15, 0x0a, 0x11, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, - 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x0b, 0x12, 0x0f, 0x0a, 0x0b, 0x41, 0x54, 0x58, 0x5f, - 0x45, 0x58, 0x50, 0x49, 0x52, 0x45, 0x44, 0x10, 0x0c, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x54, 0x58, - 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x0d, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x54, 0x58, 0x5f, - 0x42, 0x52, 0x4f, 0x41, 0x44, 0x43, 0x41, 0x53, 0x54, 0x45, 0x44, 0x10, 0x0e, 0x32, 0x8a, 0x01, - 0x0a, 0x19, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, - 0x74, 0x69, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x61, 0x0a, 0x06, 0x53, - 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, - 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, - 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, - 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x1a, 0x0a, - 0xfa, 0xd2, 0xe4, 0x93, 0x02, 0x04, 0x12, 0x02, 0x56, 0x32, 0x42, 0xe6, 0x01, 0x0a, 0x16, 0x63, - 0x6f, 0x6d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x17, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, - 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, - 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x6c, - 0x65, 0x61, 0x73, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, - 0x68, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x6d, 0x65, 0x73, 0x68, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x53, - 0x58, 0x58, 0xaa, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x56, - 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, - 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x1e, 0x53, - 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x13, - 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x3a, 0x3a, 0x56, 0x32, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x45, 0x43, 0x45, 0x49, 0x56, 0x45, 0x44, 0x10, 0x07, 0x12, 0x19, 0x0a, 0x15, 0x47, 0x45, 0x4e, + 0x45, 0x52, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, + 0x4f, 0x46, 0x10, 0x08, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, + 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x09, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x54, + 0x58, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x0a, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x54, 0x58, + 0x5f, 0x42, 0x52, 0x4f, 0x41, 0x44, 0x43, 0x41, 0x53, 0x54, 0x45, 0x44, 0x10, 0x0b, 0x32, 0x8a, + 0x01, 0x0a, 0x19, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x69, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x61, 0x0a, 0x06, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, + 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x1a, + 0x0a, 0xfa, 0xd2, 0xe4, 0x93, 0x02, 0x04, 0x12, 0x02, 0x56, 0x32, 0x42, 0xe6, 0x01, 0x0a, 0x16, + 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x17, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, + 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, + 0x01, 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, + 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, + 0x73, 0x68, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x6d, 0x65, 0x73, 0x68, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, + 0x53, 0x58, 0x58, 0xaa, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, + 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, + 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x1e, + 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, + 0x13, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x3a, 0x3a, 0x56, 0x32, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/release/openapi/swagger/src/api.swagger.json b/release/openapi/swagger/src/api.swagger.json index e63bb634..6d3cf3af 100644 --- a/release/openapi/swagger/src/api.swagger.json +++ b/release/openapi/swagger/src/api.swagger.json @@ -1139,17 +1139,14 @@ "enum": [ "UNSPECIFIED", "WAIT_FOR_ATX_SYNCED", + "RETRYING", "WAITING_FOR_POET_REGISTRATION_WINDOW", "POET_CHALLENGE_READY", "POET_REGISTERED", - "POET_REGISTRATION_FAILED", "WAIT_FOR_POET_ROUND_END", "POET_PROOF_RECEIVED", - "POET_PROOF_FAILED", "GENERATING_POST_PROOF", "POST_PROOF_READY", - "POST_PROOF_FAILED", - "ATX_EXPIRED", "ATX_READY", "ATX_BROADCASTED" ] diff --git a/spacemesh/v2alpha1/smeshing_identities.proto b/spacemesh/v2alpha1/smeshing_identities.proto index 7372f69d..7da5909a 100644 --- a/spacemesh/v2alpha1/smeshing_identities.proto +++ b/spacemesh/v2alpha1/smeshing_identities.proto @@ -1,33 +1,30 @@ syntax = "proto3"; -import "google/api/visibility.proto"; +package spacemesh.v2alpha1; + import "google/api/annotations.proto"; +import "google/api/visibility.proto"; import "google/protobuf/timestamp.proto"; -package spacemesh.v2alpha1; - message IdentityStatesRequest {} enum IdentityState { UNSPECIFIED = 0; WAIT_FOR_ATX_SYNCED = 1; + RETRYING = 2; - WAITING_FOR_POET_REGISTRATION_WINDOW = 2; - POET_CHALLENGE_READY = 3; - POET_REGISTERED = 4; - POET_REGISTRATION_FAILED = 5; + WAITING_FOR_POET_REGISTRATION_WINDOW = 3; + POET_CHALLENGE_READY = 4; + POET_REGISTERED = 5; WAIT_FOR_POET_ROUND_END = 6; POET_PROOF_RECEIVED = 7; - POET_PROOF_FAILED = 8; - GENERATING_POST_PROOF = 9; - POST_PROOF_READY = 10; - POST_PROOF_FAILED = 11; + GENERATING_POST_PROOF = 8; + POST_PROOF_READY = 9; - ATX_EXPIRED = 12; - ATX_READY = 13; - ATX_BROADCASTED = 14; + ATX_READY = 10; + ATX_BROADCASTED = 11; } message IdentityStateInfo { @@ -43,7 +40,7 @@ message Identity { } message IdentityStatesResponse { - repeated Identity identities = 3; + repeated Identity identities = 3; } service SmeshingIdentitiesService { @@ -51,5 +48,5 @@ service SmeshingIdentitiesService { // Returns set of configured poet addresses and poets addresses from registrations, if given, // and warning in case, if there are registrations with poets, which are not in configured poets set. - rpc States (IdentityStatesRequest) returns (IdentityStatesResponse){} -} \ No newline at end of file + rpc States(IdentityStatesRequest) returns (IdentityStatesResponse) {} +} From 65b5ada94cfe241ebf2f8d682fba39b77796fb3b Mon Sep 17 00:00:00 2001 From: Kacper Sawicki Date: Mon, 18 Nov 2024 13:17:00 +0100 Subject: [PATCH 21/41] Remove comments --- release/go/spacemesh/v1/smesher_grpc.pb.go | 4 ++-- release/go/spacemesh/v2alpha1/smeshing_identities_grpc.pb.go | 4 ---- release/openapi/swagger/src/api.swagger.json | 1 - spacemesh/v1/smesher.proto | 2 +- spacemesh/v2alpha1/smeshing_identities.proto | 2 -- 5 files changed, 3 insertions(+), 10 deletions(-) diff --git a/release/go/spacemesh/v1/smesher_grpc.pb.go b/release/go/spacemesh/v1/smesher_grpc.pb.go index 5cac3cc5..96934059 100644 --- a/release/go/spacemesh/v1/smesher_grpc.pb.go +++ b/release/go/spacemesh/v1/smesher_grpc.pb.go @@ -40,7 +40,7 @@ const ( // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. type SmesherServiceClient interface { - // Returns true if node is currently smeshing + // Returns true iff node is currently smeshing IsSmeshing(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*IsSmeshingResponse, error) // Starts smeshing, after completing the post setup. // Changing of the post setup options (e.g., number of units), after initial setup, is supported. @@ -239,7 +239,7 @@ func (c *smesherServiceClient) PostConfig(ctx context.Context, in *emptypb.Empty // All implementations should embed UnimplementedSmesherServiceServer // for forward compatibility type SmesherServiceServer interface { - // Returns true if node is currently smeshing + // Returns true iff node is currently smeshing IsSmeshing(context.Context, *emptypb.Empty) (*IsSmeshingResponse, error) // Starts smeshing, after completing the post setup. // Changing of the post setup options (e.g., number of units), after initial setup, is supported. diff --git a/release/go/spacemesh/v2alpha1/smeshing_identities_grpc.pb.go b/release/go/spacemesh/v2alpha1/smeshing_identities_grpc.pb.go index 1b4156bb..2b48dd07 100644 --- a/release/go/spacemesh/v2alpha1/smeshing_identities_grpc.pb.go +++ b/release/go/spacemesh/v2alpha1/smeshing_identities_grpc.pb.go @@ -26,8 +26,6 @@ const ( // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. type SmeshingIdentitiesServiceClient interface { - // Returns set of configured poet addresses and poets addresses from registrations, if given, - // and warning in case, if there are registrations with poets, which are not in configured poets set. States(ctx context.Context, in *IdentityStatesRequest, opts ...grpc.CallOption) (*IdentityStatesResponse, error) } @@ -52,8 +50,6 @@ func (c *smeshingIdentitiesServiceClient) States(ctx context.Context, in *Identi // All implementations should embed UnimplementedSmeshingIdentitiesServiceServer // for forward compatibility type SmeshingIdentitiesServiceServer interface { - // Returns set of configured poet addresses and poets addresses from registrations, if given, - // and warning in case, if there are registrations with poets, which are not in configured poets set. States(context.Context, *IdentityStatesRequest) (*IdentityStatesResponse, error) } diff --git a/release/openapi/swagger/src/api.swagger.json b/release/openapi/swagger/src/api.swagger.json index 6d3cf3af..fefcdf60 100644 --- a/release/openapi/swagger/src/api.swagger.json +++ b/release/openapi/swagger/src/api.swagger.json @@ -284,7 +284,6 @@ "tags": [ "SmeshingIdentitiesService" ], - "summary": "Returns set of configured poet addresses and poets addresses from registrations, if given,\nand warning in case, if there are registrations with poets, which are not in configured poets set.", "operationId": "SmeshingIdentitiesService_States", "parameters": [ { diff --git a/spacemesh/v1/smesher.proto b/spacemesh/v1/smesher.proto index 3fd5e18a..bd329daf 100644 --- a/spacemesh/v1/smesher.proto +++ b/spacemesh/v1/smesher.proto @@ -10,7 +10,7 @@ package spacemesh.v1; service SmesherService { option (google.api.api_visibility).restriction = "V1"; - // Returns true if node is currently smeshing + // Returns true iff node is currently smeshing rpc IsSmeshing (google.protobuf.Empty) returns (IsSmeshingResponse) { option (google.api.http) = { post: "/v1/smesher/issmeshing" diff --git a/spacemesh/v2alpha1/smeshing_identities.proto b/spacemesh/v2alpha1/smeshing_identities.proto index 7da5909a..1e7eeff2 100644 --- a/spacemesh/v2alpha1/smeshing_identities.proto +++ b/spacemesh/v2alpha1/smeshing_identities.proto @@ -46,7 +46,5 @@ message IdentityStatesResponse { service SmeshingIdentitiesService { option (google.api.api_visibility).restriction = "V2"; - // Returns set of configured poet addresses and poets addresses from registrations, if given, - // and warning in case, if there are registrations with poets, which are not in configured poets set. rpc States(IdentityStatesRequest) returns (IdentityStatesResponse) {} } From 2994272a1a59f827f0b7aad4910532695fb81f43 Mon Sep 17 00:00:00 2001 From: Kacper Sawicki Date: Mon, 18 Nov 2024 13:19:30 +0100 Subject: [PATCH 22/41] Fix swagger --- release/openapi/swagger/src/api.swagger.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/release/openapi/swagger/src/api.swagger.json b/release/openapi/swagger/src/api.swagger.json index fefcdf60..3feced4e 100644 --- a/release/openapi/swagger/src/api.swagger.json +++ b/release/openapi/swagger/src/api.swagger.json @@ -499,11 +499,11 @@ } }, "protobufAny": { - "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\nExample 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\nExample 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }", + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }", "type": "object", "properties": { "@type": { - "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics.", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics.", "type": "string" } }, From dcf5b90f1158459f8ffdd2913d95def39ce28f78 Mon Sep 17 00:00:00 2001 From: Kacper Sawicki Date: Mon, 18 Nov 2024 13:27:25 +0100 Subject: [PATCH 23/41] Apply review suggestions --- .../v2alpha1/smeshing_identities.pb.go | 156 +++++++++--------- release/openapi/swagger/src/api.swagger.json | 9 +- spacemesh/v2alpha1/smeshing_identities.proto | 5 +- 3 files changed, 82 insertions(+), 88 deletions(-) diff --git a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go index c6335405..5f47e85f 100644 --- a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go +++ b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go @@ -213,8 +213,7 @@ type Identity struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - SmesherId []byte `protobuf:"bytes,1,opt,name=smesher_id,json=smesherId,proto3" json:"smesher_id,omitempty"` - History []*IdentityStateInfo `protobuf:"bytes,2,rep,name=history,proto3" json:"history,omitempty"` + History []*IdentityStateInfo `protobuf:"bytes,1,rep,name=history,proto3" json:"history,omitempty"` } func (x *Identity) Reset() { @@ -249,13 +248,6 @@ func (*Identity) Descriptor() ([]byte, []int) { return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{2} } -func (x *Identity) GetSmesherId() []byte { - if x != nil { - return x.SmesherId - } - return nil -} - func (x *Identity) GetHistory() []*IdentityStateInfo { if x != nil { return x.History @@ -268,7 +260,7 @@ type IdentityStatesResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Identities []*Identity `protobuf:"bytes,3,rep,name=identities,proto3" json:"identities,omitempty"` + Identities map[string]*Identity `protobuf:"bytes,1,rep,name=identities,proto3" json:"identities,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } func (x *IdentityStatesResponse) Reset() { @@ -303,7 +295,7 @@ func (*IdentityStatesResponse) Descriptor() ([]byte, []int) { return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{3} } -func (x *IdentityStatesResponse) GetIdentities() []*Identity { +func (x *IdentityStatesResponse) GetIdentities() map[string]*Identity { if x != nil { return x.Identities } @@ -337,62 +329,68 @@ var file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc = []byte{ 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x70, - 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x22, 0x6a, 0x0a, 0x08, - 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x6d, 0x65, 0x73, - 0x68, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x6d, - 0x65, 0x73, 0x68, 0x65, 0x72, 0x49, 0x64, 0x12, 0x3f, 0x0a, 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, - 0x72, 0x79, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x22, 0x4b, 0x0a, 0x08, + 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x3f, 0x0a, 0x07, 0x68, 0x69, 0x73, 0x74, + 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x22, 0xd1, 0x01, 0x0a, 0x16, 0x49, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5a, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, + 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, - 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, - 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x56, 0x0a, 0x16, 0x49, 0x64, 0x65, 0x6e, - 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, - 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, - 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, - 0x74, 0x69, 0x74, 0x79, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, - 0x2a, 0xab, 0x02, 0x0a, 0x0d, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, - 0x74, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, - 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, - 0x41, 0x54, 0x58, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, - 0x52, 0x45, 0x54, 0x52, 0x59, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x28, 0x0a, 0x24, 0x57, 0x41, - 0x49, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, - 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x57, 0x49, 0x4e, 0x44, - 0x4f, 0x57, 0x10, 0x03, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x43, 0x48, 0x41, - 0x4c, 0x4c, 0x45, 0x4e, 0x47, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x04, 0x12, 0x13, - 0x0a, 0x0f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x45, 0x52, 0x45, - 0x44, 0x10, 0x05, 0x12, 0x1b, 0x0a, 0x17, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, - 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x55, 0x4e, 0x44, 0x5f, 0x45, 0x4e, 0x44, 0x10, 0x06, - 0x12, 0x17, 0x0a, 0x13, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, - 0x45, 0x43, 0x45, 0x49, 0x56, 0x45, 0x44, 0x10, 0x07, 0x12, 0x19, 0x0a, 0x15, 0x47, 0x45, 0x4e, - 0x45, 0x52, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, - 0x4f, 0x46, 0x10, 0x08, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, - 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x09, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x54, - 0x58, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x0a, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x54, 0x58, - 0x5f, 0x42, 0x52, 0x4f, 0x41, 0x44, 0x43, 0x41, 0x53, 0x54, 0x45, 0x44, 0x10, 0x0b, 0x32, 0x8a, - 0x01, 0x0a, 0x19, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, - 0x69, 0x74, 0x69, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x61, 0x0a, 0x06, - 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, - 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, - 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, - 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x1a, - 0x0a, 0xfa, 0xd2, 0xe4, 0x93, 0x02, 0x04, 0x12, 0x02, 0x56, 0x32, 0x42, 0xe6, 0x01, 0x0a, 0x16, - 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x17, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, - 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, - 0x01, 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, - 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, - 0x73, 0x68, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x6d, 0x65, 0x73, 0x68, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, - 0x53, 0x58, 0x58, 0xaa, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, - 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, - 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x1e, - 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, - 0x13, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x3a, 0x3a, 0x56, 0x32, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, + 0x1a, 0x5b, 0x0a, 0x0f, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x32, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, + 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x2a, 0xab, 0x02, + 0x0a, 0x0d, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, + 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, + 0x12, 0x17, 0x0a, 0x13, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x41, 0x54, 0x58, + 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x45, 0x54, + 0x52, 0x59, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x28, 0x0a, 0x24, 0x57, 0x41, 0x49, 0x54, 0x49, + 0x4e, 0x47, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, + 0x53, 0x54, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x57, 0x49, 0x4e, 0x44, 0x4f, 0x57, 0x10, + 0x03, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4c, 0x4c, 0x45, + 0x4e, 0x47, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f, 0x50, + 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x45, 0x52, 0x45, 0x44, 0x10, 0x05, + 0x12, 0x1b, 0x0a, 0x17, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, + 0x54, 0x5f, 0x52, 0x4f, 0x55, 0x4e, 0x44, 0x5f, 0x45, 0x4e, 0x44, 0x10, 0x06, 0x12, 0x17, 0x0a, + 0x13, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x43, 0x45, + 0x49, 0x56, 0x45, 0x44, 0x10, 0x07, 0x12, 0x19, 0x0a, 0x15, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, + 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x10, + 0x08, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, + 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x09, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x54, 0x58, 0x5f, 0x52, + 0x45, 0x41, 0x44, 0x59, 0x10, 0x0a, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x54, 0x58, 0x5f, 0x42, 0x52, + 0x4f, 0x41, 0x44, 0x43, 0x41, 0x53, 0x54, 0x45, 0x44, 0x10, 0x0b, 0x32, 0x8a, 0x01, 0x0a, 0x19, + 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, + 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x61, 0x0a, 0x06, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, + 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, + 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x1a, 0x0a, 0xfa, 0xd2, + 0xe4, 0x93, 0x02, 0x04, 0x12, 0x02, 0x56, 0x32, 0x42, 0xe6, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, + 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x42, 0x17, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, + 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x6d, 0x65, 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, + 0x73, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, + 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, + 0x73, 0x68, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, + 0xaa, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x56, 0x32, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, + 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x1e, 0x53, 0x70, 0x61, + 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, + 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x13, 0x53, 0x70, + 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x3a, 0x3a, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -408,27 +406,29 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP() []byte { } var file_spacemesh_v2alpha1_smeshing_identities_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes = make([]protoimpl.MessageInfo, 5) var file_spacemesh_v2alpha1_smeshing_identities_proto_goTypes = []interface{}{ (IdentityState)(0), // 0: spacemesh.v2alpha1.IdentityState (*IdentityStatesRequest)(nil), // 1: spacemesh.v2alpha1.IdentityStatesRequest (*IdentityStateInfo)(nil), // 2: spacemesh.v2alpha1.IdentityStateInfo (*Identity)(nil), // 3: spacemesh.v2alpha1.Identity (*IdentityStatesResponse)(nil), // 4: spacemesh.v2alpha1.IdentityStatesResponse - (*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp + nil, // 5: spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry + (*timestamppb.Timestamp)(nil), // 6: google.protobuf.Timestamp } var file_spacemesh_v2alpha1_smeshing_identities_proto_depIdxs = []int32{ 0, // 0: spacemesh.v2alpha1.IdentityStateInfo.state:type_name -> spacemesh.v2alpha1.IdentityState - 5, // 1: spacemesh.v2alpha1.IdentityStateInfo.time:type_name -> google.protobuf.Timestamp + 6, // 1: spacemesh.v2alpha1.IdentityStateInfo.time:type_name -> google.protobuf.Timestamp 2, // 2: spacemesh.v2alpha1.Identity.history:type_name -> spacemesh.v2alpha1.IdentityStateInfo - 3, // 3: spacemesh.v2alpha1.IdentityStatesResponse.identities:type_name -> spacemesh.v2alpha1.Identity - 1, // 4: spacemesh.v2alpha1.SmeshingIdentitiesService.States:input_type -> spacemesh.v2alpha1.IdentityStatesRequest - 4, // 5: spacemesh.v2alpha1.SmeshingIdentitiesService.States:output_type -> spacemesh.v2alpha1.IdentityStatesResponse - 5, // [5:6] is the sub-list for method output_type - 4, // [4:5] is the sub-list for method input_type - 4, // [4:4] is the sub-list for extension type_name - 4, // [4:4] is the sub-list for extension extendee - 0, // [0:4] is the sub-list for field type_name + 5, // 3: spacemesh.v2alpha1.IdentityStatesResponse.identities:type_name -> spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry + 3, // 4: spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry.value:type_name -> spacemesh.v2alpha1.Identity + 1, // 5: spacemesh.v2alpha1.SmeshingIdentitiesService.States:input_type -> spacemesh.v2alpha1.IdentityStatesRequest + 4, // 6: spacemesh.v2alpha1.SmeshingIdentitiesService.States:output_type -> spacemesh.v2alpha1.IdentityStatesResponse + 6, // [6:7] is the sub-list for method output_type + 5, // [5:6] is the sub-list for method input_type + 5, // [5:5] is the sub-list for extension type_name + 5, // [5:5] is the sub-list for extension extendee + 0, // [0:5] is the sub-list for field type_name } func init() { file_spacemesh_v2alpha1_smeshing_identities_proto_init() } @@ -493,7 +493,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc, NumEnums: 1, - NumMessages: 4, + NumMessages: 5, NumExtensions: 0, NumServices: 1, }, diff --git a/release/openapi/swagger/src/api.swagger.json b/release/openapi/swagger/src/api.swagger.json index 3feced4e..682bd050 100644 --- a/release/openapi/swagger/src/api.swagger.json +++ b/release/openapi/swagger/src/api.swagger.json @@ -1125,10 +1125,6 @@ "type": "object", "$ref": "#/definitions/v2alpha1IdentityStateInfo" } - }, - "smesherId": { - "type": "string", - "format": "byte" } } }, @@ -1176,9 +1172,8 @@ "type": "object", "properties": { "identities": { - "type": "array", - "items": { - "type": "object", + "type": "object", + "additionalProperties": { "$ref": "#/definitions/v2alpha1Identity" } } diff --git a/spacemesh/v2alpha1/smeshing_identities.proto b/spacemesh/v2alpha1/smeshing_identities.proto index 1e7eeff2..0e9282df 100644 --- a/spacemesh/v2alpha1/smeshing_identities.proto +++ b/spacemesh/v2alpha1/smeshing_identities.proto @@ -35,12 +35,11 @@ message IdentityStateInfo { } message Identity { - bytes smesher_id = 1; - repeated IdentityStateInfo history = 2; + repeated IdentityStateInfo history = 1; } message IdentityStatesResponse { - repeated Identity identities = 3; + map identities = 1; } service SmeshingIdentitiesService { From 25eeb8b718862c20133d502ea6a120ff47f9914f Mon Sep 17 00:00:00 2001 From: Kacper Sawicki Date: Thu, 21 Nov 2024 11:30:26 +0100 Subject: [PATCH 24/41] Add PoetInfo rpc --- .../v2alpha1/smeshing_identities.pb.go | 260 ++++++++++++++---- .../v2alpha1/smeshing_identities.pb.gw.go | 77 ++++++ .../v2alpha1/smeshing_identities_grpc.pb.go | 39 ++- release/openapi/swagger/src/api.swagger.json | 50 +++- spacemesh/v2alpha1/smeshing_identities.proto | 9 + 5 files changed, 373 insertions(+), 62 deletions(-) diff --git a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go index 5f47e85f..412ef33e 100644 --- a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go +++ b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go @@ -11,6 +11,7 @@ import ( _ "google.golang.org/genproto/googleapis/api/visibility" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" sync "sync" @@ -302,6 +303,99 @@ func (x *IdentityStatesResponse) GetIdentities() map[string]*Identity { return nil } +type PoetInfoRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *PoetInfoRequest) Reset() { + *x = PoetInfoRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PoetInfoRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PoetInfoRequest) ProtoMessage() {} + +func (x *PoetInfoRequest) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PoetInfoRequest.ProtoReflect.Descriptor instead. +func (*PoetInfoRequest) Descriptor() ([]byte, []int) { + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{4} +} + +type PoetInfoResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PhaseShift *durationpb.Duration `protobuf:"bytes,4,opt,name=phase_shift,json=phaseShift,proto3" json:"phase_shift,omitempty"` + CycleGap *durationpb.Duration `protobuf:"bytes,5,opt,name=cycle_gap,json=cycleGap,proto3" json:"cycle_gap,omitempty"` +} + +func (x *PoetInfoResponse) Reset() { + *x = PoetInfoResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PoetInfoResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PoetInfoResponse) ProtoMessage() {} + +func (x *PoetInfoResponse) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PoetInfoResponse.ProtoReflect.Descriptor instead. +func (*PoetInfoResponse) Descriptor() ([]byte, []int) { + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{5} +} + +func (x *PoetInfoResponse) GetPhaseShift() *durationpb.Duration { + if x != nil { + return x.PhaseShift + } + return nil +} + +func (x *PoetInfoResponse) GetCycleGap() *durationpb.Duration { + if x != nil { + return x.CycleGap + } + return nil +} + var File_spacemesh_v2alpha1_smeshing_identities_proto protoreflect.FileDescriptor var file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc = []byte{ @@ -314,7 +408,9 @@ var file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc = []byte{ 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, - 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x17, + 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, + 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x17, 0x0a, 0x15, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xd2, 0x01, 0x0a, 0x11, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x37, 0x0a, @@ -347,50 +443,65 @@ var file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc = []byte{ 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x32, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, - 0x74, 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x2a, 0xab, 0x02, - 0x0a, 0x0d, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, - 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, - 0x12, 0x17, 0x0a, 0x13, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x41, 0x54, 0x58, - 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x45, 0x54, - 0x52, 0x59, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x28, 0x0a, 0x24, 0x57, 0x41, 0x49, 0x54, 0x49, - 0x4e, 0x47, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, - 0x53, 0x54, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x57, 0x49, 0x4e, 0x44, 0x4f, 0x57, 0x10, - 0x03, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4c, 0x4c, 0x45, - 0x4e, 0x47, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f, 0x50, - 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x45, 0x52, 0x45, 0x44, 0x10, 0x05, - 0x12, 0x1b, 0x0a, 0x17, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, - 0x54, 0x5f, 0x52, 0x4f, 0x55, 0x4e, 0x44, 0x5f, 0x45, 0x4e, 0x44, 0x10, 0x06, 0x12, 0x17, 0x0a, - 0x13, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x43, 0x45, - 0x49, 0x56, 0x45, 0x44, 0x10, 0x07, 0x12, 0x19, 0x0a, 0x15, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, - 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x10, - 0x08, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, - 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x09, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x54, 0x58, 0x5f, 0x52, - 0x45, 0x41, 0x44, 0x59, 0x10, 0x0a, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x54, 0x58, 0x5f, 0x42, 0x52, - 0x4f, 0x41, 0x44, 0x43, 0x41, 0x53, 0x54, 0x45, 0x44, 0x10, 0x0b, 0x32, 0x8a, 0x01, 0x0a, 0x19, - 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, - 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x61, 0x0a, 0x06, 0x53, 0x74, 0x61, - 0x74, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, - 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, - 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, - 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, - 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x1a, 0x0a, 0xfa, 0xd2, - 0xe4, 0x93, 0x02, 0x04, 0x12, 0x02, 0x56, 0x32, 0x42, 0xe6, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, - 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x42, 0x17, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, - 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, - 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x6d, 0x65, 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, - 0x73, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, - 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, - 0x73, 0x68, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, - 0xaa, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x56, 0x32, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, - 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x1e, 0x53, 0x70, 0x61, - 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, - 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x13, 0x53, 0x70, - 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x3a, 0x3a, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x74, 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x11, 0x0a, + 0x0f, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x22, 0x86, 0x01, 0x0a, 0x10, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3a, 0x0a, 0x0b, 0x70, 0x68, 0x61, 0x73, 0x65, 0x5f, 0x73, + 0x68, 0x69, 0x66, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x70, 0x68, 0x61, 0x73, 0x65, 0x53, 0x68, 0x69, 0x66, + 0x74, 0x12, 0x36, 0x0a, 0x09, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x5f, 0x67, 0x61, 0x70, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x08, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x47, 0x61, 0x70, 0x2a, 0xab, 0x02, 0x0a, 0x0d, 0x49, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, + 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, + 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x41, 0x54, 0x58, 0x5f, 0x53, 0x59, 0x4e, + 0x43, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x45, 0x54, 0x52, 0x59, 0x49, 0x4e, + 0x47, 0x10, 0x02, 0x12, 0x28, 0x0a, 0x24, 0x57, 0x41, 0x49, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x46, + 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x41, + 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x57, 0x49, 0x4e, 0x44, 0x4f, 0x57, 0x10, 0x03, 0x12, 0x18, 0x0a, + 0x14, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, 0x47, 0x45, 0x5f, + 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x4f, 0x45, 0x54, 0x5f, + 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x45, 0x52, 0x45, 0x44, 0x10, 0x05, 0x12, 0x1b, 0x0a, 0x17, + 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x4f, + 0x55, 0x4e, 0x44, 0x5f, 0x45, 0x4e, 0x44, 0x10, 0x06, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x4f, 0x45, + 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x43, 0x45, 0x49, 0x56, 0x45, 0x44, + 0x10, 0x07, 0x12, 0x19, 0x0a, 0x15, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4e, 0x47, + 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x10, 0x08, 0x12, 0x14, 0x0a, + 0x10, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x41, 0x44, + 0x59, 0x10, 0x09, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x54, 0x58, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, + 0x10, 0x0a, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x54, 0x58, 0x5f, 0x42, 0x52, 0x4f, 0x41, 0x44, 0x43, + 0x41, 0x53, 0x54, 0x45, 0x44, 0x10, 0x0b, 0x32, 0xe3, 0x01, 0x0a, 0x19, 0x53, 0x6d, 0x65, 0x73, + 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x53, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x61, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, + 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, + 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x57, 0x0a, 0x08, 0x50, 0x6f, 0x65, 0x74, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x23, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, + 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, + 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x1a, 0x0a, 0xfa, 0xd2, 0xe4, 0x93, 0x02, 0x04, 0x12, 0x02, 0x56, 0x32, 0x42, 0xe6, 0x01, + 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, + 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x17, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, + 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, + 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, + 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, + 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, + 0x68, 0x2e, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x12, 0x53, 0x70, 0x61, + 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, + 0x02, 0x1e, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0xea, 0x02, 0x13, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x3a, 0x3a, 0x56, 0x32, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -406,29 +517,36 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP() []byte { } var file_spacemesh_v2alpha1_smeshing_identities_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes = make([]protoimpl.MessageInfo, 5) +var file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes = make([]protoimpl.MessageInfo, 7) var file_spacemesh_v2alpha1_smeshing_identities_proto_goTypes = []interface{}{ (IdentityState)(0), // 0: spacemesh.v2alpha1.IdentityState (*IdentityStatesRequest)(nil), // 1: spacemesh.v2alpha1.IdentityStatesRequest (*IdentityStateInfo)(nil), // 2: spacemesh.v2alpha1.IdentityStateInfo (*Identity)(nil), // 3: spacemesh.v2alpha1.Identity (*IdentityStatesResponse)(nil), // 4: spacemesh.v2alpha1.IdentityStatesResponse - nil, // 5: spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry - (*timestamppb.Timestamp)(nil), // 6: google.protobuf.Timestamp + (*PoetInfoRequest)(nil), // 5: spacemesh.v2alpha1.PoetInfoRequest + (*PoetInfoResponse)(nil), // 6: spacemesh.v2alpha1.PoetInfoResponse + nil, // 7: spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry + (*timestamppb.Timestamp)(nil), // 8: google.protobuf.Timestamp + (*durationpb.Duration)(nil), // 9: google.protobuf.Duration } var file_spacemesh_v2alpha1_smeshing_identities_proto_depIdxs = []int32{ 0, // 0: spacemesh.v2alpha1.IdentityStateInfo.state:type_name -> spacemesh.v2alpha1.IdentityState - 6, // 1: spacemesh.v2alpha1.IdentityStateInfo.time:type_name -> google.protobuf.Timestamp + 8, // 1: spacemesh.v2alpha1.IdentityStateInfo.time:type_name -> google.protobuf.Timestamp 2, // 2: spacemesh.v2alpha1.Identity.history:type_name -> spacemesh.v2alpha1.IdentityStateInfo - 5, // 3: spacemesh.v2alpha1.IdentityStatesResponse.identities:type_name -> spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry - 3, // 4: spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry.value:type_name -> spacemesh.v2alpha1.Identity - 1, // 5: spacemesh.v2alpha1.SmeshingIdentitiesService.States:input_type -> spacemesh.v2alpha1.IdentityStatesRequest - 4, // 6: spacemesh.v2alpha1.SmeshingIdentitiesService.States:output_type -> spacemesh.v2alpha1.IdentityStatesResponse - 6, // [6:7] is the sub-list for method output_type - 5, // [5:6] is the sub-list for method input_type - 5, // [5:5] is the sub-list for extension type_name - 5, // [5:5] is the sub-list for extension extendee - 0, // [0:5] is the sub-list for field type_name + 7, // 3: spacemesh.v2alpha1.IdentityStatesResponse.identities:type_name -> spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry + 9, // 4: spacemesh.v2alpha1.PoetInfoResponse.phase_shift:type_name -> google.protobuf.Duration + 9, // 5: spacemesh.v2alpha1.PoetInfoResponse.cycle_gap:type_name -> google.protobuf.Duration + 3, // 6: spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry.value:type_name -> spacemesh.v2alpha1.Identity + 1, // 7: spacemesh.v2alpha1.SmeshingIdentitiesService.States:input_type -> spacemesh.v2alpha1.IdentityStatesRequest + 5, // 8: spacemesh.v2alpha1.SmeshingIdentitiesService.PoetInfo:input_type -> spacemesh.v2alpha1.PoetInfoRequest + 4, // 9: spacemesh.v2alpha1.SmeshingIdentitiesService.States:output_type -> spacemesh.v2alpha1.IdentityStatesResponse + 6, // 10: spacemesh.v2alpha1.SmeshingIdentitiesService.PoetInfo:output_type -> spacemesh.v2alpha1.PoetInfoResponse + 9, // [9:11] is the sub-list for method output_type + 7, // [7:9] is the sub-list for method input_type + 7, // [7:7] is the sub-list for extension type_name + 7, // [7:7] is the sub-list for extension extendee + 0, // [0:7] is the sub-list for field type_name } func init() { file_spacemesh_v2alpha1_smeshing_identities_proto_init() } @@ -485,6 +603,30 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { return nil } } + file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PoetInfoRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PoetInfoResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[1].OneofWrappers = []interface{}{} type x struct{} @@ -493,7 +635,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc, NumEnums: 1, - NumMessages: 5, + NumMessages: 7, NumExtensions: 0, NumServices: 1, }, diff --git a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.gw.go b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.gw.go index 9c44617a..46b2d794 100644 --- a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.gw.go +++ b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.gw.go @@ -57,6 +57,32 @@ func local_request_SmeshingIdentitiesService_States_0(ctx context.Context, marsh } +func request_SmeshingIdentitiesService_PoetInfo_0(ctx context.Context, marshaler runtime.Marshaler, client SmeshingIdentitiesServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq PoetInfoRequest + var metadata runtime.ServerMetadata + + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.PoetInfo(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_SmeshingIdentitiesService_PoetInfo_0(ctx context.Context, marshaler runtime.Marshaler, server SmeshingIdentitiesServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq PoetInfoRequest + var metadata runtime.ServerMetadata + + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.PoetInfo(ctx, &protoReq) + return msg, metadata, err + +} + // RegisterSmeshingIdentitiesServiceHandlerServer registers the http handlers for service SmeshingIdentitiesService to "mux". // UnaryRPC :call SmeshingIdentitiesServiceServer directly. // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. @@ -88,6 +114,31 @@ func RegisterSmeshingIdentitiesServiceHandlerServer(ctx context.Context, mux *ru }) + mux.Handle("POST", pattern_SmeshingIdentitiesService_PoetInfo_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/spacemesh.v2alpha1.SmeshingIdentitiesService/PoetInfo", runtime.WithHTTPPathPattern("/spacemesh.v2alpha1.SmeshingIdentitiesService/PoetInfo")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_SmeshingIdentitiesService_PoetInfo_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_SmeshingIdentitiesService_PoetInfo_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + return nil } @@ -151,13 +202,39 @@ func RegisterSmeshingIdentitiesServiceHandlerClient(ctx context.Context, mux *ru }) + mux.Handle("POST", pattern_SmeshingIdentitiesService_PoetInfo_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/spacemesh.v2alpha1.SmeshingIdentitiesService/PoetInfo", runtime.WithHTTPPathPattern("/spacemesh.v2alpha1.SmeshingIdentitiesService/PoetInfo")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_SmeshingIdentitiesService_PoetInfo_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_SmeshingIdentitiesService_PoetInfo_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + return nil } var ( pattern_SmeshingIdentitiesService_States_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"spacemesh.v2alpha1.SmeshingIdentitiesService", "States"}, "")) + + pattern_SmeshingIdentitiesService_PoetInfo_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"spacemesh.v2alpha1.SmeshingIdentitiesService", "PoetInfo"}, "")) ) var ( forward_SmeshingIdentitiesService_States_0 = runtime.ForwardResponseMessage + + forward_SmeshingIdentitiesService_PoetInfo_0 = runtime.ForwardResponseMessage ) diff --git a/release/go/spacemesh/v2alpha1/smeshing_identities_grpc.pb.go b/release/go/spacemesh/v2alpha1/smeshing_identities_grpc.pb.go index 2b48dd07..d174b161 100644 --- a/release/go/spacemesh/v2alpha1/smeshing_identities_grpc.pb.go +++ b/release/go/spacemesh/v2alpha1/smeshing_identities_grpc.pb.go @@ -19,7 +19,8 @@ import ( const _ = grpc.SupportPackageIsVersion7 const ( - SmeshingIdentitiesService_States_FullMethodName = "/spacemesh.v2alpha1.SmeshingIdentitiesService/States" + SmeshingIdentitiesService_States_FullMethodName = "/spacemesh.v2alpha1.SmeshingIdentitiesService/States" + SmeshingIdentitiesService_PoetInfo_FullMethodName = "/spacemesh.v2alpha1.SmeshingIdentitiesService/PoetInfo" ) // SmeshingIdentitiesServiceClient is the client API for SmeshingIdentitiesService service. @@ -27,6 +28,7 @@ const ( // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. type SmeshingIdentitiesServiceClient interface { States(ctx context.Context, in *IdentityStatesRequest, opts ...grpc.CallOption) (*IdentityStatesResponse, error) + PoetInfo(ctx context.Context, in *PoetInfoRequest, opts ...grpc.CallOption) (*PoetInfoResponse, error) } type smeshingIdentitiesServiceClient struct { @@ -46,11 +48,21 @@ func (c *smeshingIdentitiesServiceClient) States(ctx context.Context, in *Identi return out, nil } +func (c *smeshingIdentitiesServiceClient) PoetInfo(ctx context.Context, in *PoetInfoRequest, opts ...grpc.CallOption) (*PoetInfoResponse, error) { + out := new(PoetInfoResponse) + err := c.cc.Invoke(ctx, SmeshingIdentitiesService_PoetInfo_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // SmeshingIdentitiesServiceServer is the server API for SmeshingIdentitiesService service. // All implementations should embed UnimplementedSmeshingIdentitiesServiceServer // for forward compatibility type SmeshingIdentitiesServiceServer interface { States(context.Context, *IdentityStatesRequest) (*IdentityStatesResponse, error) + PoetInfo(context.Context, *PoetInfoRequest) (*PoetInfoResponse, error) } // UnimplementedSmeshingIdentitiesServiceServer should be embedded to have forward compatible implementations. @@ -60,6 +72,9 @@ type UnimplementedSmeshingIdentitiesServiceServer struct { func (UnimplementedSmeshingIdentitiesServiceServer) States(context.Context, *IdentityStatesRequest) (*IdentityStatesResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method States not implemented") } +func (UnimplementedSmeshingIdentitiesServiceServer) PoetInfo(context.Context, *PoetInfoRequest) (*PoetInfoResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method PoetInfo not implemented") +} // UnsafeSmeshingIdentitiesServiceServer may be embedded to opt out of forward compatibility for this service. // Use of this interface is not recommended, as added methods to SmeshingIdentitiesServiceServer will @@ -90,6 +105,24 @@ func _SmeshingIdentitiesService_States_Handler(srv interface{}, ctx context.Cont return interceptor(ctx, in, info, handler) } +func _SmeshingIdentitiesService_PoetInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(PoetInfoRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(SmeshingIdentitiesServiceServer).PoetInfo(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: SmeshingIdentitiesService_PoetInfo_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(SmeshingIdentitiesServiceServer).PoetInfo(ctx, req.(*PoetInfoRequest)) + } + return interceptor(ctx, in, info, handler) +} + // SmeshingIdentitiesService_ServiceDesc is the grpc.ServiceDesc for SmeshingIdentitiesService service. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) @@ -101,6 +134,10 @@ var SmeshingIdentitiesService_ServiceDesc = grpc.ServiceDesc{ MethodName: "States", Handler: _SmeshingIdentitiesService_States_Handler, }, + { + MethodName: "PoetInfo", + Handler: _SmeshingIdentitiesService_PoetInfo_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "spacemesh/v2alpha1/smeshing_identities.proto", diff --git a/release/openapi/swagger/src/api.swagger.json b/release/openapi/swagger/src/api.swagger.json index c9f01e2f..97051c96 100644 --- a/release/openapi/swagger/src/api.swagger.json +++ b/release/openapi/swagger/src/api.swagger.json @@ -295,6 +295,38 @@ } } }, + "/spacemesh.v2alpha1.SmeshingIdentitiesService/PoetInfo": { + "post": { + "tags": [ + "SmeshingIdentitiesService" + ], + "operationId": "SmeshingIdentitiesService_PoetInfo", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v2alpha1PoetInfoRequest" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/v2alpha1PoetInfoResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + } + } + }, "/spacemesh.v2alpha1.SmeshingIdentitiesService/States": { "post": { "tags": [ @@ -523,11 +555,11 @@ } }, "protobufAny": { - "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }", + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\nExample 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\nExample 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }", "type": "object", "properties": { "@type": { - "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics.", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics.", "type": "string" } }, @@ -1317,6 +1349,20 @@ } } }, + "v2alpha1PoetInfoRequest": { + "type": "object" + }, + "v2alpha1PoetInfoResponse": { + "type": "object", + "properties": { + "cycleGap": { + "type": "string" + }, + "phaseShift": { + "type": "string" + } + } + }, "v2alpha1RewardList": { "type": "object", "properties": { diff --git a/spacemesh/v2alpha1/smeshing_identities.proto b/spacemesh/v2alpha1/smeshing_identities.proto index 0e9282df..1605d0bd 100644 --- a/spacemesh/v2alpha1/smeshing_identities.proto +++ b/spacemesh/v2alpha1/smeshing_identities.proto @@ -5,6 +5,7 @@ package spacemesh.v2alpha1; import "google/api/annotations.proto"; import "google/api/visibility.proto"; import "google/protobuf/timestamp.proto"; +import "google/protobuf/duration.proto"; message IdentityStatesRequest {} @@ -42,8 +43,16 @@ message IdentityStatesResponse { map identities = 1; } +message PoetInfoRequest {} +message PoetInfoResponse { + google.protobuf.Duration phase_shift = 4; + google.protobuf.Duration cycle_gap = 5; +} + service SmeshingIdentitiesService { option (google.api.api_visibility).restriction = "V2"; rpc States(IdentityStatesRequest) returns (IdentityStatesResponse) {} + + rpc PoetInfo(PoetInfoRequest) returns (PoetInfoResponse) {} } From 1e8ac2105be2fb8568ce084c68be70763f91fc33 Mon Sep 17 00:00:00 2001 From: Kacper Sawicki Date: Thu, 21 Nov 2024 12:13:51 +0100 Subject: [PATCH 25/41] Update PoetInfoResponse --- .../v2alpha1/smeshing_identities.pb.go | 251 ++++++++++++------ release/openapi/swagger/src/api.swagger.json | 24 +- spacemesh/v2alpha1/smeshing_identities.proto | 10 +- 3 files changed, 189 insertions(+), 96 deletions(-) diff --git a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go index 412ef33e..6a2975c5 100644 --- a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go +++ b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go @@ -303,6 +303,7 @@ func (x *IdentityStatesResponse) GetIdentities() map[string]*Identity { return nil } +// PoetInfo rpc type PoetInfoRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -341,17 +342,17 @@ func (*PoetInfoRequest) Descriptor() ([]byte, []int) { return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{4} } -type PoetInfoResponse struct { +type PoetInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - PhaseShift *durationpb.Duration `protobuf:"bytes,4,opt,name=phase_shift,json=phaseShift,proto3" json:"phase_shift,omitempty"` - CycleGap *durationpb.Duration `protobuf:"bytes,5,opt,name=cycle_gap,json=cycleGap,proto3" json:"cycle_gap,omitempty"` + PhaseShift *durationpb.Duration `protobuf:"bytes,1,opt,name=phase_shift,json=phaseShift,proto3" json:"phase_shift,omitempty"` + CycleGap *durationpb.Duration `protobuf:"bytes,2,opt,name=cycle_gap,json=cycleGap,proto3" json:"cycle_gap,omitempty"` } -func (x *PoetInfoResponse) Reset() { - *x = PoetInfoResponse{} +func (x *PoetInfo) Reset() { + *x = PoetInfo{} if protoimpl.UnsafeEnabled { mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -359,13 +360,13 @@ func (x *PoetInfoResponse) Reset() { } } -func (x *PoetInfoResponse) String() string { +func (x *PoetInfo) String() string { return protoimpl.X.MessageStringOf(x) } -func (*PoetInfoResponse) ProtoMessage() {} +func (*PoetInfo) ProtoMessage() {} -func (x *PoetInfoResponse) ProtoReflect() protoreflect.Message { +func (x *PoetInfo) ProtoReflect() protoreflect.Message { mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -377,25 +378,72 @@ func (x *PoetInfoResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use PoetInfoResponse.ProtoReflect.Descriptor instead. -func (*PoetInfoResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use PoetInfo.ProtoReflect.Descriptor instead. +func (*PoetInfo) Descriptor() ([]byte, []int) { return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{5} } -func (x *PoetInfoResponse) GetPhaseShift() *durationpb.Duration { +func (x *PoetInfo) GetPhaseShift() *durationpb.Duration { if x != nil { return x.PhaseShift } return nil } -func (x *PoetInfoResponse) GetCycleGap() *durationpb.Duration { +func (x *PoetInfo) GetCycleGap() *durationpb.Duration { if x != nil { return x.CycleGap } return nil } +type PoetInfoResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Poets map[string]*PoetInfo `protobuf:"bytes,1,rep,name=poets,proto3" json:"poets,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *PoetInfoResponse) Reset() { + *x = PoetInfoResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PoetInfoResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PoetInfoResponse) ProtoMessage() {} + +func (x *PoetInfoResponse) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PoetInfoResponse.ProtoReflect.Descriptor instead. +func (*PoetInfoResponse) Descriptor() ([]byte, []int) { + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{6} +} + +func (x *PoetInfoResponse) GetPoets() map[string]*PoetInfo { + if x != nil { + return x.Poets + } + return nil +} + var File_spacemesh_v2alpha1_smeshing_identities_proto protoreflect.FileDescriptor var file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc = []byte{ @@ -445,63 +493,74 @@ var file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc = []byte{ 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x11, 0x0a, 0x0f, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x22, 0x86, 0x01, 0x0a, 0x10, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3a, 0x0a, 0x0b, 0x70, 0x68, 0x61, 0x73, 0x65, 0x5f, 0x73, - 0x68, 0x69, 0x66, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x70, 0x68, 0x61, 0x73, 0x65, 0x53, 0x68, 0x69, 0x66, - 0x74, 0x12, 0x36, 0x0a, 0x09, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x5f, 0x67, 0x61, 0x70, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x08, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x47, 0x61, 0x70, 0x2a, 0xab, 0x02, 0x0a, 0x0d, 0x49, 0x64, - 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, - 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, - 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x41, 0x54, 0x58, 0x5f, 0x53, 0x59, 0x4e, - 0x43, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x45, 0x54, 0x52, 0x59, 0x49, 0x4e, - 0x47, 0x10, 0x02, 0x12, 0x28, 0x0a, 0x24, 0x57, 0x41, 0x49, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x46, - 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x41, - 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x57, 0x49, 0x4e, 0x44, 0x4f, 0x57, 0x10, 0x03, 0x12, 0x18, 0x0a, - 0x14, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, 0x47, 0x45, 0x5f, - 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x4f, 0x45, 0x54, 0x5f, - 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x45, 0x52, 0x45, 0x44, 0x10, 0x05, 0x12, 0x1b, 0x0a, 0x17, - 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x4f, - 0x55, 0x4e, 0x44, 0x5f, 0x45, 0x4e, 0x44, 0x10, 0x06, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x4f, 0x45, - 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x43, 0x45, 0x49, 0x56, 0x45, 0x44, - 0x10, 0x07, 0x12, 0x19, 0x0a, 0x15, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4e, 0x47, - 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x10, 0x08, 0x12, 0x14, 0x0a, - 0x10, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x41, 0x44, - 0x59, 0x10, 0x09, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x54, 0x58, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, - 0x10, 0x0a, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x54, 0x58, 0x5f, 0x42, 0x52, 0x4f, 0x41, 0x44, 0x43, - 0x41, 0x53, 0x54, 0x45, 0x44, 0x10, 0x0b, 0x32, 0xe3, 0x01, 0x0a, 0x19, 0x53, 0x6d, 0x65, 0x73, - 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x53, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x61, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, - 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, - 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x73, 0x70, 0x61, + 0x22, 0x7e, 0x0a, 0x08, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3a, 0x0a, 0x0b, + 0x70, 0x68, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68, 0x69, 0x66, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x70, 0x68, + 0x61, 0x73, 0x65, 0x53, 0x68, 0x69, 0x66, 0x74, 0x12, 0x36, 0x0a, 0x09, 0x63, 0x79, 0x63, 0x6c, + 0x65, 0x5f, 0x67, 0x61, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x47, 0x61, 0x70, + 0x22, 0xb1, 0x01, 0x0a, 0x10, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x45, 0x0a, 0x05, 0x70, 0x6f, 0x65, 0x74, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, + 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x73, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x70, 0x6f, 0x65, 0x74, 0x73, 0x1a, 0x56, 0x0a, 0x0a, + 0x50, 0x6f, 0x65, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x32, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x3a, 0x02, 0x38, 0x01, 0x2a, 0xab, 0x02, 0x0a, 0x0d, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, + 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x57, 0x41, 0x49, 0x54, 0x5f, + 0x46, 0x4f, 0x52, 0x5f, 0x41, 0x54, 0x58, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x45, 0x44, 0x10, 0x01, + 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x45, 0x54, 0x52, 0x59, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x28, + 0x0a, 0x24, 0x57, 0x41, 0x49, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, + 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, + 0x57, 0x49, 0x4e, 0x44, 0x4f, 0x57, 0x10, 0x03, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4f, 0x45, 0x54, + 0x5f, 0x43, 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, 0x47, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, + 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, + 0x54, 0x45, 0x52, 0x45, 0x44, 0x10, 0x05, 0x12, 0x1b, 0x0a, 0x17, 0x57, 0x41, 0x49, 0x54, 0x5f, + 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x55, 0x4e, 0x44, 0x5f, 0x45, + 0x4e, 0x44, 0x10, 0x06, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, + 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x43, 0x45, 0x49, 0x56, 0x45, 0x44, 0x10, 0x07, 0x12, 0x19, 0x0a, + 0x15, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x4f, 0x53, 0x54, + 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x10, 0x08, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x4f, 0x53, 0x54, + 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x09, 0x12, 0x0d, + 0x0a, 0x09, 0x41, 0x54, 0x58, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x0a, 0x12, 0x13, 0x0a, + 0x0f, 0x41, 0x54, 0x58, 0x5f, 0x42, 0x52, 0x4f, 0x41, 0x44, 0x43, 0x41, 0x53, 0x54, 0x45, 0x44, + 0x10, 0x0b, 0x32, 0xe3, 0x01, 0x0a, 0x19, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x12, 0x61, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x57, 0x0a, 0x08, 0x50, 0x6f, 0x65, 0x74, - 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x23, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, + 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x12, 0x57, 0x0a, 0x08, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x23, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, - 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, - 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x1a, 0x0a, 0xfa, 0xd2, 0xe4, 0x93, 0x02, 0x04, 0x12, 0x02, 0x56, 0x32, 0x42, 0xe6, 0x01, - 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, - 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x17, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, - 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, - 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, - 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, - 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, - 0x68, 0x2e, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x12, 0x53, 0x70, 0x61, - 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, - 0x02, 0x1e, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, - 0xea, 0x02, 0x13, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x3a, 0x3a, 0x56, 0x32, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x1a, 0x0a, 0xfa, 0xd2, + 0xe4, 0x93, 0x02, 0x04, 0x12, 0x02, 0x56, 0x32, 0x42, 0xe6, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, + 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x42, 0x17, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, + 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x6d, 0x65, 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, + 0x73, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, + 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, + 0x73, 0x68, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, + 0xaa, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x56, 0x32, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, + 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x1e, 0x53, 0x70, 0x61, + 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, + 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x13, 0x53, 0x70, + 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x3a, 0x3a, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -517,7 +576,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP() []byte { } var file_spacemesh_v2alpha1_smeshing_identities_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes = make([]protoimpl.MessageInfo, 7) +var file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes = make([]protoimpl.MessageInfo, 9) var file_spacemesh_v2alpha1_smeshing_identities_proto_goTypes = []interface{}{ (IdentityState)(0), // 0: spacemesh.v2alpha1.IdentityState (*IdentityStatesRequest)(nil), // 1: spacemesh.v2alpha1.IdentityStatesRequest @@ -525,28 +584,32 @@ var file_spacemesh_v2alpha1_smeshing_identities_proto_goTypes = []interface{}{ (*Identity)(nil), // 3: spacemesh.v2alpha1.Identity (*IdentityStatesResponse)(nil), // 4: spacemesh.v2alpha1.IdentityStatesResponse (*PoetInfoRequest)(nil), // 5: spacemesh.v2alpha1.PoetInfoRequest - (*PoetInfoResponse)(nil), // 6: spacemesh.v2alpha1.PoetInfoResponse - nil, // 7: spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry - (*timestamppb.Timestamp)(nil), // 8: google.protobuf.Timestamp - (*durationpb.Duration)(nil), // 9: google.protobuf.Duration + (*PoetInfo)(nil), // 6: spacemesh.v2alpha1.PoetInfo + (*PoetInfoResponse)(nil), // 7: spacemesh.v2alpha1.PoetInfoResponse + nil, // 8: spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry + nil, // 9: spacemesh.v2alpha1.PoetInfoResponse.PoetsEntry + (*timestamppb.Timestamp)(nil), // 10: google.protobuf.Timestamp + (*durationpb.Duration)(nil), // 11: google.protobuf.Duration } var file_spacemesh_v2alpha1_smeshing_identities_proto_depIdxs = []int32{ - 0, // 0: spacemesh.v2alpha1.IdentityStateInfo.state:type_name -> spacemesh.v2alpha1.IdentityState - 8, // 1: spacemesh.v2alpha1.IdentityStateInfo.time:type_name -> google.protobuf.Timestamp - 2, // 2: spacemesh.v2alpha1.Identity.history:type_name -> spacemesh.v2alpha1.IdentityStateInfo - 7, // 3: spacemesh.v2alpha1.IdentityStatesResponse.identities:type_name -> spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry - 9, // 4: spacemesh.v2alpha1.PoetInfoResponse.phase_shift:type_name -> google.protobuf.Duration - 9, // 5: spacemesh.v2alpha1.PoetInfoResponse.cycle_gap:type_name -> google.protobuf.Duration - 3, // 6: spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry.value:type_name -> spacemesh.v2alpha1.Identity - 1, // 7: spacemesh.v2alpha1.SmeshingIdentitiesService.States:input_type -> spacemesh.v2alpha1.IdentityStatesRequest - 5, // 8: spacemesh.v2alpha1.SmeshingIdentitiesService.PoetInfo:input_type -> spacemesh.v2alpha1.PoetInfoRequest - 4, // 9: spacemesh.v2alpha1.SmeshingIdentitiesService.States:output_type -> spacemesh.v2alpha1.IdentityStatesResponse - 6, // 10: spacemesh.v2alpha1.SmeshingIdentitiesService.PoetInfo:output_type -> spacemesh.v2alpha1.PoetInfoResponse - 9, // [9:11] is the sub-list for method output_type - 7, // [7:9] is the sub-list for method input_type - 7, // [7:7] is the sub-list for extension type_name - 7, // [7:7] is the sub-list for extension extendee - 0, // [0:7] is the sub-list for field type_name + 0, // 0: spacemesh.v2alpha1.IdentityStateInfo.state:type_name -> spacemesh.v2alpha1.IdentityState + 10, // 1: spacemesh.v2alpha1.IdentityStateInfo.time:type_name -> google.protobuf.Timestamp + 2, // 2: spacemesh.v2alpha1.Identity.history:type_name -> spacemesh.v2alpha1.IdentityStateInfo + 8, // 3: spacemesh.v2alpha1.IdentityStatesResponse.identities:type_name -> spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry + 11, // 4: spacemesh.v2alpha1.PoetInfo.phase_shift:type_name -> google.protobuf.Duration + 11, // 5: spacemesh.v2alpha1.PoetInfo.cycle_gap:type_name -> google.protobuf.Duration + 9, // 6: spacemesh.v2alpha1.PoetInfoResponse.poets:type_name -> spacemesh.v2alpha1.PoetInfoResponse.PoetsEntry + 3, // 7: spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry.value:type_name -> spacemesh.v2alpha1.Identity + 6, // 8: spacemesh.v2alpha1.PoetInfoResponse.PoetsEntry.value:type_name -> spacemesh.v2alpha1.PoetInfo + 1, // 9: spacemesh.v2alpha1.SmeshingIdentitiesService.States:input_type -> spacemesh.v2alpha1.IdentityStatesRequest + 5, // 10: spacemesh.v2alpha1.SmeshingIdentitiesService.PoetInfo:input_type -> spacemesh.v2alpha1.PoetInfoRequest + 4, // 11: spacemesh.v2alpha1.SmeshingIdentitiesService.States:output_type -> spacemesh.v2alpha1.IdentityStatesResponse + 7, // 12: spacemesh.v2alpha1.SmeshingIdentitiesService.PoetInfo:output_type -> spacemesh.v2alpha1.PoetInfoResponse + 11, // [11:13] is the sub-list for method output_type + 9, // [9:11] is the sub-list for method input_type + 9, // [9:9] is the sub-list for extension type_name + 9, // [9:9] is the sub-list for extension extendee + 0, // [0:9] is the sub-list for field type_name } func init() { file_spacemesh_v2alpha1_smeshing_identities_proto_init() } @@ -616,6 +679,18 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PoetInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PoetInfoResponse); i { case 0: return &v.state @@ -635,7 +710,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc, NumEnums: 1, - NumMessages: 7, + NumMessages: 9, NumExtensions: 0, NumServices: 1, }, diff --git a/release/openapi/swagger/src/api.swagger.json b/release/openapi/swagger/src/api.swagger.json index 97051c96..662574c8 100644 --- a/release/openapi/swagger/src/api.swagger.json +++ b/release/openapi/swagger/src/api.swagger.json @@ -830,6 +830,17 @@ } } }, + "spacemeshv2alpha1PoetInfo": { + "type": "object", + "properties": { + "cycleGap": { + "type": "string" + }, + "phaseShift": { + "type": "string" + } + } + }, "spacemeshv2alpha1Reward": { "type": "object", "properties": { @@ -1350,16 +1361,17 @@ } }, "v2alpha1PoetInfoRequest": { - "type": "object" + "type": "object", + "title": "PoetInfo rpc" }, "v2alpha1PoetInfoResponse": { "type": "object", "properties": { - "cycleGap": { - "type": "string" - }, - "phaseShift": { - "type": "string" + "poets": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/spacemeshv2alpha1PoetInfo" + } } } }, diff --git a/spacemesh/v2alpha1/smeshing_identities.proto b/spacemesh/v2alpha1/smeshing_identities.proto index 1605d0bd..070aac12 100644 --- a/spacemesh/v2alpha1/smeshing_identities.proto +++ b/spacemesh/v2alpha1/smeshing_identities.proto @@ -43,10 +43,16 @@ message IdentityStatesResponse { map identities = 1; } +// PoetInfo rpc message PoetInfoRequest {} + +message PoetInfo { + google.protobuf.Duration phase_shift = 1; + google.protobuf.Duration cycle_gap = 2; +} + message PoetInfoResponse { - google.protobuf.Duration phase_shift = 4; - google.protobuf.Duration cycle_gap = 5; + map poets = 1; } service SmeshingIdentitiesService { From 7aceec7049a8649b74287a6310e9e3d153bd78cf Mon Sep 17 00:00:00 2001 From: Kacper Sawicki Date: Mon, 25 Nov 2024 13:21:14 +0100 Subject: [PATCH 26/41] Fix lint --- release/openapi/swagger/src/api.swagger.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/release/openapi/swagger/src/api.swagger.json b/release/openapi/swagger/src/api.swagger.json index 662574c8..6787b8c1 100644 --- a/release/openapi/swagger/src/api.swagger.json +++ b/release/openapi/swagger/src/api.swagger.json @@ -555,11 +555,11 @@ } }, "protobufAny": { - "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\nExample 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\nExample 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }", + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }", "type": "object", "properties": { "@type": { - "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics.", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics.", "type": "string" } }, From 251e56805781ec36ccb20e2dc926c8ffa50b1b0a Mon Sep 17 00:00:00 2001 From: Kacper Sawicki Date: Tue, 26 Nov 2024 14:16:56 +0100 Subject: [PATCH 27/41] Add proposals and eligibilities --- .../v2alpha1/smeshing_identities.pb.go | 739 ++++++++++++++++-- .../v2alpha1/smeshing_identities.pb.gw.go | 154 ++++ .../v2alpha1/smeshing_identities_grpc.pb.go | 78 +- release/openapi/swagger/src/api.swagger.json | 152 +++- spacemesh/v2alpha1/smeshing_identities.proto | 42 +- 5 files changed, 1085 insertions(+), 80 deletions(-) diff --git a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go index 6a2975c5..d14b7c82 100644 --- a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go +++ b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go @@ -39,6 +39,7 @@ const ( IdentityState_POST_PROOF_READY IdentityState = 9 IdentityState_ATX_READY IdentityState = 10 IdentityState_ATX_BROADCASTED IdentityState = 11 + IdentityState_PROPOSAL_PUBLISHED IdentityState = 12 ) // Enum value maps for IdentityState. @@ -56,6 +57,7 @@ var ( 9: "POST_PROOF_READY", 10: "ATX_READY", 11: "ATX_BROADCASTED", + 12: "PROPOSAL_PUBLISHED", } IdentityState_value = map[string]int32{ "UNSPECIFIED": 0, @@ -70,6 +72,7 @@ var ( "POST_PROOF_READY": 9, "ATX_READY": 10, "ATX_BROADCASTED": 11, + "PROPOSAL_PUBLISHED": 12, } ) @@ -444,6 +447,413 @@ func (x *PoetInfoResponse) GetPoets() map[string]*PoetInfo { return nil } +// Proposals and eligibilities +type Eligibilities struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Epoch uint32 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"` + Beacon []byte `protobuf:"bytes,2,opt,name=beacon,proto3" json:"beacon,omitempty"` + Atx []byte `protobuf:"bytes,3,opt,name=atx,proto3" json:"atx,omitempty"` + ActiveSetSize uint32 `protobuf:"varint,4,opt,name=active_set_size,json=activeSetSize,proto3" json:"active_set_size,omitempty"` + Eligibilities []*ProposalEligibility `protobuf:"bytes,5,rep,name=eligibilities,proto3" json:"eligibilities,omitempty"` +} + +func (x *Eligibilities) Reset() { + *x = Eligibilities{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Eligibilities) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Eligibilities) ProtoMessage() {} + +func (x *Eligibilities) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Eligibilities.ProtoReflect.Descriptor instead. +func (*Eligibilities) Descriptor() ([]byte, []int) { + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{7} +} + +func (x *Eligibilities) GetEpoch() uint32 { + if x != nil { + return x.Epoch + } + return 0 +} + +func (x *Eligibilities) GetBeacon() []byte { + if x != nil { + return x.Beacon + } + return nil +} + +func (x *Eligibilities) GetAtx() []byte { + if x != nil { + return x.Atx + } + return nil +} + +func (x *Eligibilities) GetActiveSetSize() uint32 { + if x != nil { + return x.ActiveSetSize + } + return 0 +} + +func (x *Eligibilities) GetEligibilities() []*ProposalEligibility { + if x != nil { + return x.Eligibilities + } + return nil +} + +type ProposalEligibility struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Layer uint32 `protobuf:"varint,1,opt,name=layer,proto3" json:"layer,omitempty"` + Count uint32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` +} + +func (x *ProposalEligibility) Reset() { + *x = ProposalEligibility{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProposalEligibility) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProposalEligibility) ProtoMessage() {} + +func (x *ProposalEligibility) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ProposalEligibility.ProtoReflect.Descriptor instead. +func (*ProposalEligibility) Descriptor() ([]byte, []int) { + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{8} +} + +func (x *ProposalEligibility) GetLayer() uint32 { + if x != nil { + return x.Layer + } + return 0 +} + +func (x *ProposalEligibility) GetCount() uint32 { + if x != nil { + return x.Count + } + return 0 +} + +type EligibilitiesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *EligibilitiesRequest) Reset() { + *x = EligibilitiesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EligibilitiesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EligibilitiesRequest) ProtoMessage() {} + +func (x *EligibilitiesRequest) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EligibilitiesRequest.ProtoReflect.Descriptor instead. +func (*EligibilitiesRequest) Descriptor() ([]byte, []int) { + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{9} +} + +type EligibilitiesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Eligibilities map[string]*Eligibilities `protobuf:"bytes,1,rep,name=eligibilities,proto3" json:"eligibilities,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *EligibilitiesResponse) Reset() { + *x = EligibilitiesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EligibilitiesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EligibilitiesResponse) ProtoMessage() {} + +func (x *EligibilitiesResponse) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EligibilitiesResponse.ProtoReflect.Descriptor instead. +func (*EligibilitiesResponse) Descriptor() ([]byte, []int) { + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{10} +} + +func (x *EligibilitiesResponse) GetEligibilities() map[string]*Eligibilities { + if x != nil { + return x.Eligibilities + } + return nil +} + +type ProposalsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ProposalsRequest) Reset() { + *x = ProposalsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProposalsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProposalsRequest) ProtoMessage() {} + +func (x *ProposalsRequest) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ProposalsRequest.ProtoReflect.Descriptor instead. +func (*ProposalsRequest) Descriptor() ([]byte, []int) { + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{11} +} + +type Proposal struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Layer uint32 `protobuf:"varint,1,opt,name=layer,proto3" json:"layer,omitempty"` + Proposal []byte `protobuf:"bytes,2,opt,name=proposal,proto3" json:"proposal,omitempty"` +} + +func (x *Proposal) Reset() { + *x = Proposal{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Proposal) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proposal) ProtoMessage() {} + +func (x *Proposal) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proposal.ProtoReflect.Descriptor instead. +func (*Proposal) Descriptor() ([]byte, []int) { + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{12} +} + +func (x *Proposal) GetLayer() uint32 { + if x != nil { + return x.Layer + } + return 0 +} + +func (x *Proposal) GetProposal() []byte { + if x != nil { + return x.Proposal + } + return nil +} + +type Proposals struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Proposals []string `protobuf:"bytes,1,rep,name=proposals,proto3" json:"proposals,omitempty"` +} + +func (x *Proposals) Reset() { + *x = Proposals{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Proposals) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proposals) ProtoMessage() {} + +func (x *Proposals) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proposals.ProtoReflect.Descriptor instead. +func (*Proposals) Descriptor() ([]byte, []int) { + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{13} +} + +func (x *Proposals) GetProposals() []string { + if x != nil { + return x.Proposals + } + return nil +} + +type ProposalsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Proposals map[string]*Proposals `protobuf:"bytes,1,rep,name=proposals,proto3" json:"proposals,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *ProposalsResponse) Reset() { + *x = ProposalsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProposalsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProposalsResponse) ProtoMessage() {} + +func (x *ProposalsResponse) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ProposalsResponse.ProtoReflect.Descriptor instead. +func (*ProposalsResponse) Descriptor() ([]byte, []int) { + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{14} +} + +func (x *ProposalsResponse) GetProposals() map[string]*Proposals { + if x != nil { + return x.Proposals + } + return nil +} + var File_spacemesh_v2alpha1_smeshing_identities_proto protoreflect.FileDescriptor var file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc = []byte{ @@ -454,11 +864,11 @@ var file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc = []byte{ 0x61, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x69, 0x73, - 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, + 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, + 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, - 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, - 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x17, + 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x17, 0x0a, 0x15, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xd2, 0x01, 0x0a, 0x11, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x37, 0x0a, @@ -512,55 +922,121 @@ var file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc = []byte{ 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x3a, 0x02, 0x38, 0x01, 0x2a, 0xab, 0x02, 0x0a, 0x0d, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, - 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, - 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x57, 0x41, 0x49, 0x54, 0x5f, - 0x46, 0x4f, 0x52, 0x5f, 0x41, 0x54, 0x58, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x45, 0x44, 0x10, 0x01, - 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x45, 0x54, 0x52, 0x59, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x28, - 0x0a, 0x24, 0x57, 0x41, 0x49, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, - 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, - 0x57, 0x49, 0x4e, 0x44, 0x4f, 0x57, 0x10, 0x03, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4f, 0x45, 0x54, - 0x5f, 0x43, 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, 0x47, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, - 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, - 0x54, 0x45, 0x52, 0x45, 0x44, 0x10, 0x05, 0x12, 0x1b, 0x0a, 0x17, 0x57, 0x41, 0x49, 0x54, 0x5f, - 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x55, 0x4e, 0x44, 0x5f, 0x45, - 0x4e, 0x44, 0x10, 0x06, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, - 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x43, 0x45, 0x49, 0x56, 0x45, 0x44, 0x10, 0x07, 0x12, 0x19, 0x0a, - 0x15, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x4f, 0x53, 0x54, - 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x10, 0x08, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x4f, 0x53, 0x54, - 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x09, 0x12, 0x0d, - 0x0a, 0x09, 0x41, 0x54, 0x58, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x0a, 0x12, 0x13, 0x0a, - 0x0f, 0x41, 0x54, 0x58, 0x5f, 0x42, 0x52, 0x4f, 0x41, 0x44, 0x43, 0x41, 0x53, 0x54, 0x45, 0x44, - 0x10, 0x0b, 0x32, 0xe3, 0x01, 0x0a, 0x19, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, - 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x12, 0x61, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x73, 0x70, 0x61, + 0x3a, 0x02, 0x38, 0x01, 0x22, 0xc6, 0x01, 0x0a, 0x0d, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, + 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x16, 0x0a, 0x06, + 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x62, 0x65, + 0x61, 0x63, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x74, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x03, 0x61, 0x74, 0x78, 0x12, 0x26, 0x0a, 0x0f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, + 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0d, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x53, 0x65, 0x74, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x4d, + 0x0a, 0x0d, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, + 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, + 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, + 0x73, 0x61, 0x6c, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0d, + 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x22, 0x41, 0x0a, + 0x13, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, + 0x6c, 0x69, 0x74, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x22, 0x16, 0x0a, 0x14, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xe0, 0x01, 0x0a, 0x15, 0x45, 0x6c, 0x69, + 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x62, 0x0a, 0x0d, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, + 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, + 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, + 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x1a, 0x63, 0x0a, 0x12, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, + 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, + 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x37, + 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x12, 0x0a, 0x10, 0x50, + 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, + 0x3c, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x61, 0x79, 0x65, + 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x22, 0x29, 0x0a, + 0x09, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x72, + 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x70, + 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x22, 0xc4, 0x01, 0x0a, 0x11, 0x50, 0x72, 0x6f, + 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, + 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x34, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, + 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, + 0x6c, 0x73, 0x1a, 0x5b, 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x33, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, + 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, + 0x73, 0x61, 0x6c, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x2a, + 0xc3, 0x02, 0x0a, 0x0d, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, + 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x41, + 0x54, 0x58, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x52, + 0x45, 0x54, 0x52, 0x59, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x28, 0x0a, 0x24, 0x57, 0x41, 0x49, + 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, + 0x47, 0x49, 0x53, 0x54, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x57, 0x49, 0x4e, 0x44, 0x4f, + 0x57, 0x10, 0x03, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4c, + 0x4c, 0x45, 0x4e, 0x47, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x04, 0x12, 0x13, 0x0a, + 0x0f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x45, 0x52, 0x45, 0x44, + 0x10, 0x05, 0x12, 0x1b, 0x0a, 0x17, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, + 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x55, 0x4e, 0x44, 0x5f, 0x45, 0x4e, 0x44, 0x10, 0x06, 0x12, + 0x17, 0x0a, 0x13, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, + 0x43, 0x45, 0x49, 0x56, 0x45, 0x44, 0x10, 0x07, 0x12, 0x19, 0x0a, 0x15, 0x47, 0x45, 0x4e, 0x45, + 0x52, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, + 0x46, 0x10, 0x08, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, + 0x46, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x09, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x54, 0x58, + 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x0a, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x54, 0x58, 0x5f, + 0x42, 0x52, 0x4f, 0x41, 0x44, 0x43, 0x41, 0x53, 0x54, 0x45, 0x44, 0x10, 0x0b, 0x12, 0x16, 0x0a, + 0x12, 0x50, 0x52, 0x4f, 0x50, 0x4f, 0x53, 0x41, 0x4c, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, + 0x48, 0x45, 0x44, 0x10, 0x0c, 0x32, 0xa7, 0x03, 0x0a, 0x19, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, + 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x12, 0x61, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, 0x29, 0x2e, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x57, 0x0a, 0x08, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x23, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, + 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, + 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, + 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, + 0x66, 0x0a, 0x0d, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, + 0x12, 0x28, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, - 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, - 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x00, 0x12, 0x57, 0x0a, 0x08, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, - 0x23, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, - 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, - 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x1a, 0x0a, 0xfa, 0xd2, - 0xe4, 0x93, 0x02, 0x04, 0x12, 0x02, 0x56, 0x32, 0x42, 0xe6, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, - 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x42, 0x17, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, - 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, - 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x6d, 0x65, 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, - 0x73, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, - 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, - 0x73, 0x68, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, - 0xaa, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x56, 0x32, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, - 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x1e, 0x53, 0x70, 0x61, - 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, - 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x13, 0x53, 0x70, - 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x3a, 0x3a, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x70, 0x6f, + 0x73, 0x61, 0x6c, 0x73, 0x12, 0x24, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, + 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, + 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, + 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x1a, 0x0a, 0xfa, 0xd2, 0xe4, 0x93, 0x02, 0x04, 0x12, 0x02, 0x56, 0x32, 0x42, + 0xe6, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, + 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x17, 0x53, 0x6d, 0x65, 0x73, + 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x50, 0x72, + 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, + 0x6d, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, 0x70, + 0x69, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, + 0x65, 0x73, 0x68, 0x2e, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x12, 0x53, + 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0xe2, 0x02, 0x1e, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0xea, 0x02, 0x13, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x3a, 0x3a, + 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -576,7 +1052,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP() []byte { } var file_spacemesh_v2alpha1_smeshing_identities_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes = make([]protoimpl.MessageInfo, 9) +var file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes = make([]protoimpl.MessageInfo, 19) var file_spacemesh_v2alpha1_smeshing_identities_proto_goTypes = []interface{}{ (IdentityState)(0), // 0: spacemesh.v2alpha1.IdentityState (*IdentityStatesRequest)(nil), // 1: spacemesh.v2alpha1.IdentityStatesRequest @@ -586,30 +1062,49 @@ var file_spacemesh_v2alpha1_smeshing_identities_proto_goTypes = []interface{}{ (*PoetInfoRequest)(nil), // 5: spacemesh.v2alpha1.PoetInfoRequest (*PoetInfo)(nil), // 6: spacemesh.v2alpha1.PoetInfo (*PoetInfoResponse)(nil), // 7: spacemesh.v2alpha1.PoetInfoResponse - nil, // 8: spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry - nil, // 9: spacemesh.v2alpha1.PoetInfoResponse.PoetsEntry - (*timestamppb.Timestamp)(nil), // 10: google.protobuf.Timestamp - (*durationpb.Duration)(nil), // 11: google.protobuf.Duration + (*Eligibilities)(nil), // 8: spacemesh.v2alpha1.Eligibilities + (*ProposalEligibility)(nil), // 9: spacemesh.v2alpha1.ProposalEligibility + (*EligibilitiesRequest)(nil), // 10: spacemesh.v2alpha1.EligibilitiesRequest + (*EligibilitiesResponse)(nil), // 11: spacemesh.v2alpha1.EligibilitiesResponse + (*ProposalsRequest)(nil), // 12: spacemesh.v2alpha1.ProposalsRequest + (*Proposal)(nil), // 13: spacemesh.v2alpha1.Proposal + (*Proposals)(nil), // 14: spacemesh.v2alpha1.Proposals + (*ProposalsResponse)(nil), // 15: spacemesh.v2alpha1.ProposalsResponse + nil, // 16: spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry + nil, // 17: spacemesh.v2alpha1.PoetInfoResponse.PoetsEntry + nil, // 18: spacemesh.v2alpha1.EligibilitiesResponse.EligibilitiesEntry + nil, // 19: spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry + (*timestamppb.Timestamp)(nil), // 20: google.protobuf.Timestamp + (*durationpb.Duration)(nil), // 21: google.protobuf.Duration } var file_spacemesh_v2alpha1_smeshing_identities_proto_depIdxs = []int32{ 0, // 0: spacemesh.v2alpha1.IdentityStateInfo.state:type_name -> spacemesh.v2alpha1.IdentityState - 10, // 1: spacemesh.v2alpha1.IdentityStateInfo.time:type_name -> google.protobuf.Timestamp + 20, // 1: spacemesh.v2alpha1.IdentityStateInfo.time:type_name -> google.protobuf.Timestamp 2, // 2: spacemesh.v2alpha1.Identity.history:type_name -> spacemesh.v2alpha1.IdentityStateInfo - 8, // 3: spacemesh.v2alpha1.IdentityStatesResponse.identities:type_name -> spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry - 11, // 4: spacemesh.v2alpha1.PoetInfo.phase_shift:type_name -> google.protobuf.Duration - 11, // 5: spacemesh.v2alpha1.PoetInfo.cycle_gap:type_name -> google.protobuf.Duration - 9, // 6: spacemesh.v2alpha1.PoetInfoResponse.poets:type_name -> spacemesh.v2alpha1.PoetInfoResponse.PoetsEntry - 3, // 7: spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry.value:type_name -> spacemesh.v2alpha1.Identity - 6, // 8: spacemesh.v2alpha1.PoetInfoResponse.PoetsEntry.value:type_name -> spacemesh.v2alpha1.PoetInfo - 1, // 9: spacemesh.v2alpha1.SmeshingIdentitiesService.States:input_type -> spacemesh.v2alpha1.IdentityStatesRequest - 5, // 10: spacemesh.v2alpha1.SmeshingIdentitiesService.PoetInfo:input_type -> spacemesh.v2alpha1.PoetInfoRequest - 4, // 11: spacemesh.v2alpha1.SmeshingIdentitiesService.States:output_type -> spacemesh.v2alpha1.IdentityStatesResponse - 7, // 12: spacemesh.v2alpha1.SmeshingIdentitiesService.PoetInfo:output_type -> spacemesh.v2alpha1.PoetInfoResponse - 11, // [11:13] is the sub-list for method output_type - 9, // [9:11] is the sub-list for method input_type - 9, // [9:9] is the sub-list for extension type_name - 9, // [9:9] is the sub-list for extension extendee - 0, // [0:9] is the sub-list for field type_name + 16, // 3: spacemesh.v2alpha1.IdentityStatesResponse.identities:type_name -> spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry + 21, // 4: spacemesh.v2alpha1.PoetInfo.phase_shift:type_name -> google.protobuf.Duration + 21, // 5: spacemesh.v2alpha1.PoetInfo.cycle_gap:type_name -> google.protobuf.Duration + 17, // 6: spacemesh.v2alpha1.PoetInfoResponse.poets:type_name -> spacemesh.v2alpha1.PoetInfoResponse.PoetsEntry + 9, // 7: spacemesh.v2alpha1.Eligibilities.eligibilities:type_name -> spacemesh.v2alpha1.ProposalEligibility + 18, // 8: spacemesh.v2alpha1.EligibilitiesResponse.eligibilities:type_name -> spacemesh.v2alpha1.EligibilitiesResponse.EligibilitiesEntry + 19, // 9: spacemesh.v2alpha1.ProposalsResponse.proposals:type_name -> spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry + 3, // 10: spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry.value:type_name -> spacemesh.v2alpha1.Identity + 6, // 11: spacemesh.v2alpha1.PoetInfoResponse.PoetsEntry.value:type_name -> spacemesh.v2alpha1.PoetInfo + 8, // 12: spacemesh.v2alpha1.EligibilitiesResponse.EligibilitiesEntry.value:type_name -> spacemesh.v2alpha1.Eligibilities + 14, // 13: spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry.value:type_name -> spacemesh.v2alpha1.Proposals + 1, // 14: spacemesh.v2alpha1.SmeshingIdentitiesService.States:input_type -> spacemesh.v2alpha1.IdentityStatesRequest + 5, // 15: spacemesh.v2alpha1.SmeshingIdentitiesService.PoetInfo:input_type -> spacemesh.v2alpha1.PoetInfoRequest + 10, // 16: spacemesh.v2alpha1.SmeshingIdentitiesService.Eligibilities:input_type -> spacemesh.v2alpha1.EligibilitiesRequest + 12, // 17: spacemesh.v2alpha1.SmeshingIdentitiesService.Proposals:input_type -> spacemesh.v2alpha1.ProposalsRequest + 4, // 18: spacemesh.v2alpha1.SmeshingIdentitiesService.States:output_type -> spacemesh.v2alpha1.IdentityStatesResponse + 7, // 19: spacemesh.v2alpha1.SmeshingIdentitiesService.PoetInfo:output_type -> spacemesh.v2alpha1.PoetInfoResponse + 11, // 20: spacemesh.v2alpha1.SmeshingIdentitiesService.Eligibilities:output_type -> spacemesh.v2alpha1.EligibilitiesResponse + 15, // 21: spacemesh.v2alpha1.SmeshingIdentitiesService.Proposals:output_type -> spacemesh.v2alpha1.ProposalsResponse + 18, // [18:22] is the sub-list for method output_type + 14, // [14:18] is the sub-list for method input_type + 14, // [14:14] is the sub-list for extension type_name + 14, // [14:14] is the sub-list for extension extendee + 0, // [0:14] is the sub-list for field type_name } func init() { file_spacemesh_v2alpha1_smeshing_identities_proto_init() } @@ -702,6 +1197,102 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { return nil } } + file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Eligibilities); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProposalEligibility); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EligibilitiesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EligibilitiesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProposalsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Proposal); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Proposals); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProposalsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[1].OneofWrappers = []interface{}{} type x struct{} @@ -710,7 +1301,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc, NumEnums: 1, - NumMessages: 9, + NumMessages: 19, NumExtensions: 0, NumServices: 1, }, diff --git a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.gw.go b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.gw.go index 46b2d794..5a8cb6b6 100644 --- a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.gw.go +++ b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.gw.go @@ -83,6 +83,58 @@ func local_request_SmeshingIdentitiesService_PoetInfo_0(ctx context.Context, mar } +func request_SmeshingIdentitiesService_Eligibilities_0(ctx context.Context, marshaler runtime.Marshaler, client SmeshingIdentitiesServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq EligibilitiesRequest + var metadata runtime.ServerMetadata + + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.Eligibilities(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_SmeshingIdentitiesService_Eligibilities_0(ctx context.Context, marshaler runtime.Marshaler, server SmeshingIdentitiesServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq EligibilitiesRequest + var metadata runtime.ServerMetadata + + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.Eligibilities(ctx, &protoReq) + return msg, metadata, err + +} + +func request_SmeshingIdentitiesService_Proposals_0(ctx context.Context, marshaler runtime.Marshaler, client SmeshingIdentitiesServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq ProposalsRequest + var metadata runtime.ServerMetadata + + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.Proposals(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_SmeshingIdentitiesService_Proposals_0(ctx context.Context, marshaler runtime.Marshaler, server SmeshingIdentitiesServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq ProposalsRequest + var metadata runtime.ServerMetadata + + if err := marshaler.NewDecoder(req.Body).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.Proposals(ctx, &protoReq) + return msg, metadata, err + +} + // RegisterSmeshingIdentitiesServiceHandlerServer registers the http handlers for service SmeshingIdentitiesService to "mux". // UnaryRPC :call SmeshingIdentitiesServiceServer directly. // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. @@ -139,6 +191,56 @@ func RegisterSmeshingIdentitiesServiceHandlerServer(ctx context.Context, mux *ru }) + mux.Handle("POST", pattern_SmeshingIdentitiesService_Eligibilities_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/spacemesh.v2alpha1.SmeshingIdentitiesService/Eligibilities", runtime.WithHTTPPathPattern("/spacemesh.v2alpha1.SmeshingIdentitiesService/Eligibilities")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_SmeshingIdentitiesService_Eligibilities_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_SmeshingIdentitiesService_Eligibilities_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_SmeshingIdentitiesService_Proposals_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/spacemesh.v2alpha1.SmeshingIdentitiesService/Proposals", runtime.WithHTTPPathPattern("/spacemesh.v2alpha1.SmeshingIdentitiesService/Proposals")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_SmeshingIdentitiesService_Proposals_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_SmeshingIdentitiesService_Proposals_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + return nil } @@ -224,6 +326,50 @@ func RegisterSmeshingIdentitiesServiceHandlerClient(ctx context.Context, mux *ru }) + mux.Handle("POST", pattern_SmeshingIdentitiesService_Eligibilities_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/spacemesh.v2alpha1.SmeshingIdentitiesService/Eligibilities", runtime.WithHTTPPathPattern("/spacemesh.v2alpha1.SmeshingIdentitiesService/Eligibilities")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_SmeshingIdentitiesService_Eligibilities_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_SmeshingIdentitiesService_Eligibilities_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_SmeshingIdentitiesService_Proposals_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/spacemesh.v2alpha1.SmeshingIdentitiesService/Proposals", runtime.WithHTTPPathPattern("/spacemesh.v2alpha1.SmeshingIdentitiesService/Proposals")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_SmeshingIdentitiesService_Proposals_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_SmeshingIdentitiesService_Proposals_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + return nil } @@ -231,10 +377,18 @@ var ( pattern_SmeshingIdentitiesService_States_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"spacemesh.v2alpha1.SmeshingIdentitiesService", "States"}, "")) pattern_SmeshingIdentitiesService_PoetInfo_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"spacemesh.v2alpha1.SmeshingIdentitiesService", "PoetInfo"}, "")) + + pattern_SmeshingIdentitiesService_Eligibilities_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"spacemesh.v2alpha1.SmeshingIdentitiesService", "Eligibilities"}, "")) + + pattern_SmeshingIdentitiesService_Proposals_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"spacemesh.v2alpha1.SmeshingIdentitiesService", "Proposals"}, "")) ) var ( forward_SmeshingIdentitiesService_States_0 = runtime.ForwardResponseMessage forward_SmeshingIdentitiesService_PoetInfo_0 = runtime.ForwardResponseMessage + + forward_SmeshingIdentitiesService_Eligibilities_0 = runtime.ForwardResponseMessage + + forward_SmeshingIdentitiesService_Proposals_0 = runtime.ForwardResponseMessage ) diff --git a/release/go/spacemesh/v2alpha1/smeshing_identities_grpc.pb.go b/release/go/spacemesh/v2alpha1/smeshing_identities_grpc.pb.go index d174b161..22ce4c5c 100644 --- a/release/go/spacemesh/v2alpha1/smeshing_identities_grpc.pb.go +++ b/release/go/spacemesh/v2alpha1/smeshing_identities_grpc.pb.go @@ -19,8 +19,10 @@ import ( const _ = grpc.SupportPackageIsVersion7 const ( - SmeshingIdentitiesService_States_FullMethodName = "/spacemesh.v2alpha1.SmeshingIdentitiesService/States" - SmeshingIdentitiesService_PoetInfo_FullMethodName = "/spacemesh.v2alpha1.SmeshingIdentitiesService/PoetInfo" + SmeshingIdentitiesService_States_FullMethodName = "/spacemesh.v2alpha1.SmeshingIdentitiesService/States" + SmeshingIdentitiesService_PoetInfo_FullMethodName = "/spacemesh.v2alpha1.SmeshingIdentitiesService/PoetInfo" + SmeshingIdentitiesService_Eligibilities_FullMethodName = "/spacemesh.v2alpha1.SmeshingIdentitiesService/Eligibilities" + SmeshingIdentitiesService_Proposals_FullMethodName = "/spacemesh.v2alpha1.SmeshingIdentitiesService/Proposals" ) // SmeshingIdentitiesServiceClient is the client API for SmeshingIdentitiesService service. @@ -29,6 +31,8 @@ const ( type SmeshingIdentitiesServiceClient interface { States(ctx context.Context, in *IdentityStatesRequest, opts ...grpc.CallOption) (*IdentityStatesResponse, error) PoetInfo(ctx context.Context, in *PoetInfoRequest, opts ...grpc.CallOption) (*PoetInfoResponse, error) + Eligibilities(ctx context.Context, in *EligibilitiesRequest, opts ...grpc.CallOption) (*EligibilitiesResponse, error) + Proposals(ctx context.Context, in *ProposalsRequest, opts ...grpc.CallOption) (*ProposalsResponse, error) } type smeshingIdentitiesServiceClient struct { @@ -57,12 +61,32 @@ func (c *smeshingIdentitiesServiceClient) PoetInfo(ctx context.Context, in *Poet return out, nil } +func (c *smeshingIdentitiesServiceClient) Eligibilities(ctx context.Context, in *EligibilitiesRequest, opts ...grpc.CallOption) (*EligibilitiesResponse, error) { + out := new(EligibilitiesResponse) + err := c.cc.Invoke(ctx, SmeshingIdentitiesService_Eligibilities_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *smeshingIdentitiesServiceClient) Proposals(ctx context.Context, in *ProposalsRequest, opts ...grpc.CallOption) (*ProposalsResponse, error) { + out := new(ProposalsResponse) + err := c.cc.Invoke(ctx, SmeshingIdentitiesService_Proposals_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // SmeshingIdentitiesServiceServer is the server API for SmeshingIdentitiesService service. // All implementations should embed UnimplementedSmeshingIdentitiesServiceServer // for forward compatibility type SmeshingIdentitiesServiceServer interface { States(context.Context, *IdentityStatesRequest) (*IdentityStatesResponse, error) PoetInfo(context.Context, *PoetInfoRequest) (*PoetInfoResponse, error) + Eligibilities(context.Context, *EligibilitiesRequest) (*EligibilitiesResponse, error) + Proposals(context.Context, *ProposalsRequest) (*ProposalsResponse, error) } // UnimplementedSmeshingIdentitiesServiceServer should be embedded to have forward compatible implementations. @@ -75,6 +99,12 @@ func (UnimplementedSmeshingIdentitiesServiceServer) States(context.Context, *Ide func (UnimplementedSmeshingIdentitiesServiceServer) PoetInfo(context.Context, *PoetInfoRequest) (*PoetInfoResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method PoetInfo not implemented") } +func (UnimplementedSmeshingIdentitiesServiceServer) Eligibilities(context.Context, *EligibilitiesRequest) (*EligibilitiesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Eligibilities not implemented") +} +func (UnimplementedSmeshingIdentitiesServiceServer) Proposals(context.Context, *ProposalsRequest) (*ProposalsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Proposals not implemented") +} // UnsafeSmeshingIdentitiesServiceServer may be embedded to opt out of forward compatibility for this service. // Use of this interface is not recommended, as added methods to SmeshingIdentitiesServiceServer will @@ -123,6 +153,42 @@ func _SmeshingIdentitiesService_PoetInfo_Handler(srv interface{}, ctx context.Co return interceptor(ctx, in, info, handler) } +func _SmeshingIdentitiesService_Eligibilities_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EligibilitiesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(SmeshingIdentitiesServiceServer).Eligibilities(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: SmeshingIdentitiesService_Eligibilities_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(SmeshingIdentitiesServiceServer).Eligibilities(ctx, req.(*EligibilitiesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _SmeshingIdentitiesService_Proposals_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ProposalsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(SmeshingIdentitiesServiceServer).Proposals(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: SmeshingIdentitiesService_Proposals_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(SmeshingIdentitiesServiceServer).Proposals(ctx, req.(*ProposalsRequest)) + } + return interceptor(ctx, in, info, handler) +} + // SmeshingIdentitiesService_ServiceDesc is the grpc.ServiceDesc for SmeshingIdentitiesService service. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) @@ -138,6 +204,14 @@ var SmeshingIdentitiesService_ServiceDesc = grpc.ServiceDesc{ MethodName: "PoetInfo", Handler: _SmeshingIdentitiesService_PoetInfo_Handler, }, + { + MethodName: "Eligibilities", + Handler: _SmeshingIdentitiesService_Eligibilities_Handler, + }, + { + MethodName: "Proposals", + Handler: _SmeshingIdentitiesService_Proposals_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "spacemesh/v2alpha1/smeshing_identities.proto", diff --git a/release/openapi/swagger/src/api.swagger.json b/release/openapi/swagger/src/api.swagger.json index 6787b8c1..eb5344ce 100644 --- a/release/openapi/swagger/src/api.swagger.json +++ b/release/openapi/swagger/src/api.swagger.json @@ -295,6 +295,38 @@ } } }, + "/spacemesh.v2alpha1.SmeshingIdentitiesService/Eligibilities": { + "post": { + "tags": [ + "SmeshingIdentitiesService" + ], + "operationId": "SmeshingIdentitiesService_Eligibilities", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v2alpha1EligibilitiesRequest" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/v2alpha1EligibilitiesResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + } + } + }, "/spacemesh.v2alpha1.SmeshingIdentitiesService/PoetInfo": { "post": { "tags": [ @@ -327,6 +359,38 @@ } } }, + "/spacemesh.v2alpha1.SmeshingIdentitiesService/Proposals": { + "post": { + "tags": [ + "SmeshingIdentitiesService" + ], + "operationId": "SmeshingIdentitiesService_Proposals", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v2alpha1ProposalsRequest" + } + } + ], + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/v2alpha1ProposalsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/googlerpcStatus" + } + } + } + } + }, "/spacemesh.v2alpha1.SmeshingIdentitiesService/States": { "post": { "tags": [ @@ -555,11 +619,11 @@ } }, "protobufAny": { - "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }", + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\nExample 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\nExample 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }", "type": "object", "properties": { "@type": { - "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics.", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics.", "type": "string" } }, @@ -671,6 +735,35 @@ } } }, + "spacemeshv2alpha1Eligibilities": { + "type": "object", + "title": "Proposals and eligibilities", + "properties": { + "activeSetSize": { + "type": "integer", + "format": "int64" + }, + "atx": { + "type": "string", + "format": "byte" + }, + "beacon": { + "type": "string", + "format": "byte" + }, + "eligibilities": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/spacemeshv2alpha1ProposalEligibility" + } + }, + "epoch": { + "type": "integer", + "format": "int64" + } + } + }, "spacemeshv2alpha1Layer": { "type": "object", "properties": { @@ -841,6 +934,30 @@ } } }, + "spacemeshv2alpha1ProposalEligibility": { + "type": "object", + "properties": { + "count": { + "type": "integer", + "format": "int64" + }, + "layer": { + "type": "integer", + "format": "int64" + } + } + }, + "spacemeshv2alpha1Proposals": { + "type": "object", + "properties": { + "proposals": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, "spacemeshv2alpha1Reward": { "type": "object", "properties": { @@ -1179,6 +1296,20 @@ } } }, + "v2alpha1EligibilitiesRequest": { + "type": "object" + }, + "v2alpha1EligibilitiesResponse": { + "type": "object", + "properties": { + "eligibilities": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/spacemeshv2alpha1Eligibilities" + } + } + } + }, "v2alpha1EstimateGasRequest": { "type": "object", "properties": { @@ -1229,7 +1360,8 @@ "GENERATING_POST_PROOF", "POST_PROOF_READY", "ATX_READY", - "ATX_BROADCASTED" + "ATX_BROADCASTED", + "PROPOSAL_PUBLISHED" ] }, "v2alpha1IdentityStateInfo": { @@ -1375,6 +1507,20 @@ } } }, + "v2alpha1ProposalsRequest": { + "type": "object" + }, + "v2alpha1ProposalsResponse": { + "type": "object", + "properties": { + "proposals": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/spacemeshv2alpha1Proposals" + } + } + } + }, "v2alpha1RewardList": { "type": "object", "properties": { diff --git a/spacemesh/v2alpha1/smeshing_identities.proto b/spacemesh/v2alpha1/smeshing_identities.proto index 070aac12..9d89f03f 100644 --- a/spacemesh/v2alpha1/smeshing_identities.proto +++ b/spacemesh/v2alpha1/smeshing_identities.proto @@ -4,8 +4,8 @@ package spacemesh.v2alpha1; import "google/api/annotations.proto"; import "google/api/visibility.proto"; -import "google/protobuf/timestamp.proto"; import "google/protobuf/duration.proto"; +import "google/protobuf/timestamp.proto"; message IdentityStatesRequest {} @@ -26,6 +26,8 @@ enum IdentityState { ATX_READY = 10; ATX_BROADCASTED = 11; + + PROPOSAL_PUBLISHED = 12; } message IdentityStateInfo { @@ -55,10 +57,48 @@ message PoetInfoResponse { map poets = 1; } +// Proposals and eligibilities +message Eligibilities { + uint32 epoch = 1; + bytes beacon = 2; + bytes atx = 3; + uint32 active_set_size = 4; + repeated ProposalEligibility eligibilities = 5; +} + +message ProposalEligibility { + uint32 layer = 1; + uint32 count = 2; +} + +message EligibilitiesRequest {} +message EligibilitiesResponse { + map eligibilities = 1; +} + +message ProposalsRequest {} + +message Proposal { + uint32 layer = 1; + bytes proposal = 2; +} + +message Proposals { + repeated string proposals = 1; +} + +message ProposalsResponse { + map proposals = 1; +} + service SmeshingIdentitiesService { option (google.api.api_visibility).restriction = "V2"; rpc States(IdentityStatesRequest) returns (IdentityStatesResponse) {} rpc PoetInfo(PoetInfoRequest) returns (PoetInfoResponse) {} + + rpc Eligibilities(EligibilitiesRequest) returns (EligibilitiesResponse) {} + + rpc Proposals(ProposalsRequest) returns (ProposalsResponse) {} } From 1c8417cd6848ed14cd8651e3848118ba33de1f3d Mon Sep 17 00:00:00 2001 From: Kacper Sawicki Date: Tue, 26 Nov 2024 14:26:57 +0100 Subject: [PATCH 28/41] Update Eligibilities --- .../v2alpha1/smeshing_identities.pb.go | 252 ++++++++---------- release/openapi/swagger/src/api.swagger.json | 16 -- spacemesh/v2alpha1/smeshing_identities.proto | 5 +- 3 files changed, 108 insertions(+), 165 deletions(-) diff --git a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go index d14b7c82..0676bade 100644 --- a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go +++ b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go @@ -453,10 +453,6 @@ type Eligibilities struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Epoch uint32 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"` - Beacon []byte `protobuf:"bytes,2,opt,name=beacon,proto3" json:"beacon,omitempty"` - Atx []byte `protobuf:"bytes,3,opt,name=atx,proto3" json:"atx,omitempty"` - ActiveSetSize uint32 `protobuf:"varint,4,opt,name=active_set_size,json=activeSetSize,proto3" json:"active_set_size,omitempty"` Eligibilities []*ProposalEligibility `protobuf:"bytes,5,rep,name=eligibilities,proto3" json:"eligibilities,omitempty"` } @@ -492,34 +488,6 @@ func (*Eligibilities) Descriptor() ([]byte, []int) { return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{7} } -func (x *Eligibilities) GetEpoch() uint32 { - if x != nil { - return x.Epoch - } - return 0 -} - -func (x *Eligibilities) GetBeacon() []byte { - if x != nil { - return x.Beacon - } - return nil -} - -func (x *Eligibilities) GetAtx() []byte { - if x != nil { - return x.Atx - } - return nil -} - -func (x *Eligibilities) GetActiveSetSize() uint32 { - if x != nil { - return x.ActiveSetSize - } - return 0 -} - func (x *Eligibilities) GetEligibilities() []*ProposalEligibility { if x != nil { return x.Eligibilities @@ -922,121 +890,115 @@ var file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc = []byte{ 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x3a, 0x02, 0x38, 0x01, 0x22, 0xc6, 0x01, 0x0a, 0x0d, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, - 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x16, 0x0a, 0x06, - 0x62, 0x65, 0x61, 0x63, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x62, 0x65, - 0x61, 0x63, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x74, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x03, 0x61, 0x74, 0x78, 0x12, 0x26, 0x0a, 0x0f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, - 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x0d, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x53, 0x65, 0x74, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x4d, - 0x0a, 0x0d, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, - 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, - 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, - 0x73, 0x61, 0x6c, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0d, - 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x22, 0x41, 0x0a, - 0x13, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, - 0x6c, 0x69, 0x74, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, - 0x22, 0x16, 0x0a, 0x14, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xe0, 0x01, 0x0a, 0x15, 0x45, 0x6c, 0x69, - 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x62, 0x0a, 0x0d, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, - 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, - 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, - 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, - 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x1a, 0x63, 0x0a, 0x12, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, - 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, - 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x37, - 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, - 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x12, 0x0a, 0x10, 0x50, - 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, - 0x3c, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x6c, + 0x3a, 0x02, 0x38, 0x01, 0x22, 0x5e, 0x0a, 0x0d, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, + 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x4d, 0x0a, 0x0d, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, + 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, + 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0d, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, + 0x74, 0x69, 0x65, 0x73, 0x22, 0x41, 0x0a, 0x13, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, + 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x61, 0x79, 0x65, - 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x22, 0x29, 0x0a, - 0x09, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x72, - 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x70, - 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x22, 0xc4, 0x01, 0x0a, 0x11, 0x50, 0x72, 0x6f, - 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, - 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x34, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, - 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, - 0x6c, 0x73, 0x1a, 0x5b, 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x45, - 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x33, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, - 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, - 0x73, 0x61, 0x6c, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x2a, - 0xc3, 0x02, 0x0a, 0x0d, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, - 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, - 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x41, - 0x54, 0x58, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x52, - 0x45, 0x54, 0x52, 0x59, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x28, 0x0a, 0x24, 0x57, 0x41, 0x49, - 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, - 0x47, 0x49, 0x53, 0x54, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x57, 0x49, 0x4e, 0x44, 0x4f, - 0x57, 0x10, 0x03, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4c, - 0x4c, 0x45, 0x4e, 0x47, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x04, 0x12, 0x13, 0x0a, - 0x0f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x45, 0x52, 0x45, 0x44, - 0x10, 0x05, 0x12, 0x1b, 0x0a, 0x17, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, - 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x55, 0x4e, 0x44, 0x5f, 0x45, 0x4e, 0x44, 0x10, 0x06, 0x12, - 0x17, 0x0a, 0x13, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, - 0x43, 0x45, 0x49, 0x56, 0x45, 0x44, 0x10, 0x07, 0x12, 0x19, 0x0a, 0x15, 0x47, 0x45, 0x4e, 0x45, - 0x52, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, - 0x46, 0x10, 0x08, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, - 0x46, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x09, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x54, 0x58, - 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x0a, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x54, 0x58, 0x5f, - 0x42, 0x52, 0x4f, 0x41, 0x44, 0x43, 0x41, 0x53, 0x54, 0x45, 0x44, 0x10, 0x0b, 0x12, 0x16, 0x0a, - 0x12, 0x50, 0x52, 0x4f, 0x50, 0x4f, 0x53, 0x41, 0x4c, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, - 0x48, 0x45, 0x44, 0x10, 0x0c, 0x32, 0xa7, 0x03, 0x0a, 0x19, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, - 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x12, 0x61, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, 0x29, 0x2e, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, - 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x57, 0x0a, 0x08, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, - 0x66, 0x6f, 0x12, 0x23, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, - 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, - 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, - 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, - 0x66, 0x0a, 0x0d, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, - 0x12, 0x28, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, + 0x72, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x16, 0x0a, 0x14, 0x45, 0x6c, 0x69, 0x67, 0x69, + 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, + 0xe0, 0x01, 0x0a, 0x15, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x0d, 0x65, 0x6c, 0x69, + 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x3c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, - 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x70, 0x6f, - 0x73, 0x61, 0x6c, 0x73, 0x12, 0x24, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, - 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, - 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x00, 0x1a, 0x0a, 0xfa, 0xd2, 0xe4, 0x93, 0x02, 0x04, 0x12, 0x02, 0x56, 0x32, 0x42, - 0xe6, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, - 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x17, 0x53, 0x6d, 0x65, 0x73, - 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x50, 0x72, - 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, - 0x6d, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, 0x70, - 0x69, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, - 0x65, 0x73, 0x68, 0x2e, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x12, 0x53, - 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0xe2, 0x02, 0x1e, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0xea, 0x02, 0x13, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x3a, 0x3a, - 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x45, 0x6c, 0x69, 0x67, + 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, + 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x1a, 0x63, 0x0a, + 0x12, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x37, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, + 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, + 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, + 0x38, 0x01, 0x22, 0x12, 0x0a, 0x10, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x3c, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, + 0x61, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, + 0x6f, 0x73, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, + 0x6f, 0x73, 0x61, 0x6c, 0x22, 0x29, 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, + 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x22, + 0xc4, 0x01, 0x0a, 0x11, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, + 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, + 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, + 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, + 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x1a, 0x5b, 0x0a, 0x0e, 0x50, 0x72, 0x6f, + 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, + 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x33, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x2a, 0xc3, 0x02, 0x0a, 0x0d, 0x49, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, + 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x57, 0x41, 0x49, + 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x41, 0x54, 0x58, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x45, 0x44, + 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x45, 0x54, 0x52, 0x59, 0x49, 0x4e, 0x47, 0x10, 0x02, + 0x12, 0x28, 0x0a, 0x24, 0x57, 0x41, 0x49, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x46, 0x4f, 0x52, 0x5f, + 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x41, 0x54, 0x49, 0x4f, + 0x4e, 0x5f, 0x57, 0x49, 0x4e, 0x44, 0x4f, 0x57, 0x10, 0x03, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4f, + 0x45, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, 0x47, 0x45, 0x5f, 0x52, 0x45, 0x41, + 0x44, 0x59, 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, + 0x49, 0x53, 0x54, 0x45, 0x52, 0x45, 0x44, 0x10, 0x05, 0x12, 0x1b, 0x0a, 0x17, 0x57, 0x41, 0x49, + 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x55, 0x4e, 0x44, + 0x5f, 0x45, 0x4e, 0x44, 0x10, 0x06, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x50, + 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x43, 0x45, 0x49, 0x56, 0x45, 0x44, 0x10, 0x07, 0x12, + 0x19, 0x0a, 0x15, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x4f, + 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x10, 0x08, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x4f, + 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x09, + 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x54, 0x58, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x0a, 0x12, + 0x13, 0x0a, 0x0f, 0x41, 0x54, 0x58, 0x5f, 0x42, 0x52, 0x4f, 0x41, 0x44, 0x43, 0x41, 0x53, 0x54, + 0x45, 0x44, 0x10, 0x0b, 0x12, 0x16, 0x0a, 0x12, 0x50, 0x52, 0x4f, 0x50, 0x4f, 0x53, 0x41, 0x4c, + 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, 0x45, 0x44, 0x10, 0x0c, 0x32, 0xa7, 0x03, 0x0a, + 0x19, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x69, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x61, 0x0a, 0x06, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, + 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x57, 0x0a, + 0x08, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x23, 0x2e, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, + 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, + 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x66, 0x0a, 0x0d, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, + 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x28, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, + 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, + 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, + 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5a, + 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x12, 0x24, 0x2e, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x25, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x1a, 0x0a, 0xfa, 0xd2, 0xe4, 0x93, + 0x02, 0x04, 0x12, 0x02, 0x56, 0x32, 0x42, 0xe6, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0x42, 0x17, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x69, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, 0x69, + 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, + 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, + 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, 0x32, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, + 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, 0x02, + 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x56, 0x32, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0xca, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, + 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x1e, 0x53, 0x70, 0x61, 0x63, 0x65, + 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, + 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x13, 0x53, 0x70, 0x61, 0x63, + 0x65, 0x6d, 0x65, 0x73, 0x68, 0x3a, 0x3a, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/release/openapi/swagger/src/api.swagger.json b/release/openapi/swagger/src/api.swagger.json index eb5344ce..9c9fe20a 100644 --- a/release/openapi/swagger/src/api.swagger.json +++ b/release/openapi/swagger/src/api.swagger.json @@ -739,28 +739,12 @@ "type": "object", "title": "Proposals and eligibilities", "properties": { - "activeSetSize": { - "type": "integer", - "format": "int64" - }, - "atx": { - "type": "string", - "format": "byte" - }, - "beacon": { - "type": "string", - "format": "byte" - }, "eligibilities": { "type": "array", "items": { "type": "object", "$ref": "#/definitions/spacemeshv2alpha1ProposalEligibility" } - }, - "epoch": { - "type": "integer", - "format": "int64" } } }, diff --git a/spacemesh/v2alpha1/smeshing_identities.proto b/spacemesh/v2alpha1/smeshing_identities.proto index 9d89f03f..ea1d11ee 100644 --- a/spacemesh/v2alpha1/smeshing_identities.proto +++ b/spacemesh/v2alpha1/smeshing_identities.proto @@ -59,10 +59,6 @@ message PoetInfoResponse { // Proposals and eligibilities message Eligibilities { - uint32 epoch = 1; - bytes beacon = 2; - bytes atx = 3; - uint32 active_set_size = 4; repeated ProposalEligibility eligibilities = 5; } @@ -72,6 +68,7 @@ message ProposalEligibility { } message EligibilitiesRequest {} + message EligibilitiesResponse { map eligibilities = 1; } From ca06714cc1af30d603ed10e317f80a6e10a32926 Mon Sep 17 00:00:00 2001 From: Kacper Sawicki Date: Tue, 26 Nov 2024 14:36:54 +0100 Subject: [PATCH 29/41] Update Proposals --- .../v2alpha1/smeshing_identities.pb.go | 195 +++++++++--------- release/openapi/swagger/src/api.swagger.json | 16 +- spacemesh/v2alpha1/smeshing_identities.proto | 2 +- 3 files changed, 115 insertions(+), 98 deletions(-) diff --git a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go index 0676bade..86155952 100644 --- a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go +++ b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go @@ -733,7 +733,7 @@ type Proposals struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Proposals []string `protobuf:"bytes,1,rep,name=proposals,proto3" json:"proposals,omitempty"` + Proposals []*Proposal `protobuf:"bytes,1,rep,name=proposals,proto3" json:"proposals,omitempty"` } func (x *Proposals) Reset() { @@ -768,7 +768,7 @@ func (*Proposals) Descriptor() ([]byte, []int) { return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{13} } -func (x *Proposals) GetProposals() []string { +func (x *Proposals) GetProposals() []*Proposal { if x != nil { return x.Proposals } @@ -921,84 +921,86 @@ var file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc = []byte{ 0x61, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, - 0x6f, 0x73, 0x61, 0x6c, 0x22, 0x29, 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, - 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x22, - 0xc4, 0x01, 0x0a, 0x11, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, - 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, - 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, - 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, - 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x1a, 0x5b, 0x0a, 0x0e, 0x50, 0x72, 0x6f, - 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, - 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x33, 0x0a, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, + 0x6f, 0x73, 0x61, 0x6c, 0x22, 0x47, 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, + 0x73, 0x12, 0x3a, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, + 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, + 0x61, 0x6c, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x22, 0xc4, 0x01, + 0x0a, 0x11, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, + 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, + 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x72, + 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x70, 0x72, + 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x1a, 0x5b, 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x70, 0x6f, + 0x73, 0x61, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x33, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, + 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x3a, 0x02, 0x38, 0x01, 0x2a, 0xc3, 0x02, 0x0a, 0x0d, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, + 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x57, 0x41, 0x49, 0x54, 0x5f, + 0x46, 0x4f, 0x52, 0x5f, 0x41, 0x54, 0x58, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x45, 0x44, 0x10, 0x01, + 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x45, 0x54, 0x52, 0x59, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x28, + 0x0a, 0x24, 0x57, 0x41, 0x49, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, + 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, + 0x57, 0x49, 0x4e, 0x44, 0x4f, 0x57, 0x10, 0x03, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4f, 0x45, 0x54, + 0x5f, 0x43, 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, 0x47, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, + 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, + 0x54, 0x45, 0x52, 0x45, 0x44, 0x10, 0x05, 0x12, 0x1b, 0x0a, 0x17, 0x57, 0x41, 0x49, 0x54, 0x5f, + 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x55, 0x4e, 0x44, 0x5f, 0x45, + 0x4e, 0x44, 0x10, 0x06, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, + 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x43, 0x45, 0x49, 0x56, 0x45, 0x44, 0x10, 0x07, 0x12, 0x19, 0x0a, + 0x15, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x4f, 0x53, 0x54, + 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x10, 0x08, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x4f, 0x53, 0x54, + 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x09, 0x12, 0x0d, + 0x0a, 0x09, 0x41, 0x54, 0x58, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x0a, 0x12, 0x13, 0x0a, + 0x0f, 0x41, 0x54, 0x58, 0x5f, 0x42, 0x52, 0x4f, 0x41, 0x44, 0x43, 0x41, 0x53, 0x54, 0x45, 0x44, + 0x10, 0x0b, 0x12, 0x16, 0x0a, 0x12, 0x50, 0x52, 0x4f, 0x50, 0x4f, 0x53, 0x41, 0x4c, 0x5f, 0x50, + 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, 0x45, 0x44, 0x10, 0x0c, 0x32, 0xa7, 0x03, 0x0a, 0x19, 0x53, + 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, + 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x61, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x73, 0x12, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, + 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x57, 0x0a, 0x08, 0x50, + 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x23, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, + 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, + 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x2a, 0xc3, 0x02, 0x0a, 0x0d, 0x49, 0x64, 0x65, 0x6e, 0x74, - 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, - 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x57, 0x41, 0x49, - 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x41, 0x54, 0x58, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x45, 0x44, - 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x45, 0x54, 0x52, 0x59, 0x49, 0x4e, 0x47, 0x10, 0x02, - 0x12, 0x28, 0x0a, 0x24, 0x57, 0x41, 0x49, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x46, 0x4f, 0x52, 0x5f, - 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x41, 0x54, 0x49, 0x4f, - 0x4e, 0x5f, 0x57, 0x49, 0x4e, 0x44, 0x4f, 0x57, 0x10, 0x03, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4f, - 0x45, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, 0x47, 0x45, 0x5f, 0x52, 0x45, 0x41, - 0x44, 0x59, 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, - 0x49, 0x53, 0x54, 0x45, 0x52, 0x45, 0x44, 0x10, 0x05, 0x12, 0x1b, 0x0a, 0x17, 0x57, 0x41, 0x49, - 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x55, 0x4e, 0x44, - 0x5f, 0x45, 0x4e, 0x44, 0x10, 0x06, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x50, - 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x43, 0x45, 0x49, 0x56, 0x45, 0x44, 0x10, 0x07, 0x12, - 0x19, 0x0a, 0x15, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x4f, - 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x10, 0x08, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x4f, - 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x09, - 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x54, 0x58, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x0a, 0x12, - 0x13, 0x0a, 0x0f, 0x41, 0x54, 0x58, 0x5f, 0x42, 0x52, 0x4f, 0x41, 0x44, 0x43, 0x41, 0x53, 0x54, - 0x45, 0x44, 0x10, 0x0b, 0x12, 0x16, 0x0a, 0x12, 0x50, 0x52, 0x4f, 0x50, 0x4f, 0x53, 0x41, 0x4c, - 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, 0x45, 0x44, 0x10, 0x0c, 0x32, 0xa7, 0x03, 0x0a, - 0x19, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, - 0x69, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x61, 0x0a, 0x06, 0x53, 0x74, - 0x61, 0x74, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, - 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, - 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, - 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x57, 0x0a, - 0x08, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x23, 0x2e, 0x73, 0x70, 0x61, 0x63, + 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x66, 0x0a, 0x0d, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, + 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x28, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, + 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, + 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, + 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x09, + 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x12, 0x24, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, - 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, - 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x66, 0x0a, 0x0d, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, - 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x28, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, - 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, - 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, - 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5a, - 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x12, 0x24, 0x2e, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x25, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x1a, 0x0a, 0xfa, 0xd2, 0xe4, 0x93, - 0x02, 0x04, 0x12, 0x02, 0x56, 0x32, 0x42, 0xe6, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x42, 0x17, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, - 0x69, 0x74, 0x69, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, 0x69, - 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, - 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, - 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, 0x32, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, - 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, 0x02, - 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x56, 0x32, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0xca, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, - 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x1e, 0x53, 0x70, 0x61, 0x63, 0x65, - 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, - 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x13, 0x53, 0x70, 0x61, 0x63, - 0x65, 0x6d, 0x65, 0x73, 0x68, 0x3a, 0x3a, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x25, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x1a, 0x0a, 0xfa, 0xd2, 0xe4, 0x93, 0x02, 0x04, + 0x12, 0x02, 0x56, 0x32, 0x42, 0xe6, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, + 0x17, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x69, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, + 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2f, 0x67, + 0x6f, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, 0x32, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x3b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x76, 0x32, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, 0x02, 0x12, 0x53, + 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0xca, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x1e, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, + 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x13, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, + 0x65, 0x73, 0x68, 0x3a, 0x3a, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -1049,24 +1051,25 @@ var file_spacemesh_v2alpha1_smeshing_identities_proto_depIdxs = []int32{ 17, // 6: spacemesh.v2alpha1.PoetInfoResponse.poets:type_name -> spacemesh.v2alpha1.PoetInfoResponse.PoetsEntry 9, // 7: spacemesh.v2alpha1.Eligibilities.eligibilities:type_name -> spacemesh.v2alpha1.ProposalEligibility 18, // 8: spacemesh.v2alpha1.EligibilitiesResponse.eligibilities:type_name -> spacemesh.v2alpha1.EligibilitiesResponse.EligibilitiesEntry - 19, // 9: spacemesh.v2alpha1.ProposalsResponse.proposals:type_name -> spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry - 3, // 10: spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry.value:type_name -> spacemesh.v2alpha1.Identity - 6, // 11: spacemesh.v2alpha1.PoetInfoResponse.PoetsEntry.value:type_name -> spacemesh.v2alpha1.PoetInfo - 8, // 12: spacemesh.v2alpha1.EligibilitiesResponse.EligibilitiesEntry.value:type_name -> spacemesh.v2alpha1.Eligibilities - 14, // 13: spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry.value:type_name -> spacemesh.v2alpha1.Proposals - 1, // 14: spacemesh.v2alpha1.SmeshingIdentitiesService.States:input_type -> spacemesh.v2alpha1.IdentityStatesRequest - 5, // 15: spacemesh.v2alpha1.SmeshingIdentitiesService.PoetInfo:input_type -> spacemesh.v2alpha1.PoetInfoRequest - 10, // 16: spacemesh.v2alpha1.SmeshingIdentitiesService.Eligibilities:input_type -> spacemesh.v2alpha1.EligibilitiesRequest - 12, // 17: spacemesh.v2alpha1.SmeshingIdentitiesService.Proposals:input_type -> spacemesh.v2alpha1.ProposalsRequest - 4, // 18: spacemesh.v2alpha1.SmeshingIdentitiesService.States:output_type -> spacemesh.v2alpha1.IdentityStatesResponse - 7, // 19: spacemesh.v2alpha1.SmeshingIdentitiesService.PoetInfo:output_type -> spacemesh.v2alpha1.PoetInfoResponse - 11, // 20: spacemesh.v2alpha1.SmeshingIdentitiesService.Eligibilities:output_type -> spacemesh.v2alpha1.EligibilitiesResponse - 15, // 21: spacemesh.v2alpha1.SmeshingIdentitiesService.Proposals:output_type -> spacemesh.v2alpha1.ProposalsResponse - 18, // [18:22] is the sub-list for method output_type - 14, // [14:18] is the sub-list for method input_type - 14, // [14:14] is the sub-list for extension type_name - 14, // [14:14] is the sub-list for extension extendee - 0, // [0:14] is the sub-list for field type_name + 13, // 9: spacemesh.v2alpha1.Proposals.proposals:type_name -> spacemesh.v2alpha1.Proposal + 19, // 10: spacemesh.v2alpha1.ProposalsResponse.proposals:type_name -> spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry + 3, // 11: spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry.value:type_name -> spacemesh.v2alpha1.Identity + 6, // 12: spacemesh.v2alpha1.PoetInfoResponse.PoetsEntry.value:type_name -> spacemesh.v2alpha1.PoetInfo + 8, // 13: spacemesh.v2alpha1.EligibilitiesResponse.EligibilitiesEntry.value:type_name -> spacemesh.v2alpha1.Eligibilities + 14, // 14: spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry.value:type_name -> spacemesh.v2alpha1.Proposals + 1, // 15: spacemesh.v2alpha1.SmeshingIdentitiesService.States:input_type -> spacemesh.v2alpha1.IdentityStatesRequest + 5, // 16: spacemesh.v2alpha1.SmeshingIdentitiesService.PoetInfo:input_type -> spacemesh.v2alpha1.PoetInfoRequest + 10, // 17: spacemesh.v2alpha1.SmeshingIdentitiesService.Eligibilities:input_type -> spacemesh.v2alpha1.EligibilitiesRequest + 12, // 18: spacemesh.v2alpha1.SmeshingIdentitiesService.Proposals:input_type -> spacemesh.v2alpha1.ProposalsRequest + 4, // 19: spacemesh.v2alpha1.SmeshingIdentitiesService.States:output_type -> spacemesh.v2alpha1.IdentityStatesResponse + 7, // 20: spacemesh.v2alpha1.SmeshingIdentitiesService.PoetInfo:output_type -> spacemesh.v2alpha1.PoetInfoResponse + 11, // 21: spacemesh.v2alpha1.SmeshingIdentitiesService.Eligibilities:output_type -> spacemesh.v2alpha1.EligibilitiesResponse + 15, // 22: spacemesh.v2alpha1.SmeshingIdentitiesService.Proposals:output_type -> spacemesh.v2alpha1.ProposalsResponse + 19, // [19:23] is the sub-list for method output_type + 15, // [15:19] is the sub-list for method input_type + 15, // [15:15] is the sub-list for extension type_name + 15, // [15:15] is the sub-list for extension extendee + 0, // [0:15] is the sub-list for field type_name } func init() { file_spacemesh_v2alpha1_smeshing_identities_proto_init() } diff --git a/release/openapi/swagger/src/api.swagger.json b/release/openapi/swagger/src/api.swagger.json index 9c9fe20a..3903a86e 100644 --- a/release/openapi/swagger/src/api.swagger.json +++ b/release/openapi/swagger/src/api.swagger.json @@ -918,6 +918,19 @@ } } }, + "spacemeshv2alpha1Proposal": { + "type": "object", + "properties": { + "layer": { + "type": "integer", + "format": "int64" + }, + "proposal": { + "type": "string", + "format": "byte" + } + } + }, "spacemeshv2alpha1ProposalEligibility": { "type": "object", "properties": { @@ -937,7 +950,8 @@ "proposals": { "type": "array", "items": { - "type": "string" + "type": "object", + "$ref": "#/definitions/spacemeshv2alpha1Proposal" } } } diff --git a/spacemesh/v2alpha1/smeshing_identities.proto b/spacemesh/v2alpha1/smeshing_identities.proto index ea1d11ee..468588a9 100644 --- a/spacemesh/v2alpha1/smeshing_identities.proto +++ b/spacemesh/v2alpha1/smeshing_identities.proto @@ -81,7 +81,7 @@ message Proposal { } message Proposals { - repeated string proposals = 1; + repeated Proposal proposals = 1; } message ProposalsResponse { From a1948ff62155c5de3aa8870d4e284e8b338973e3 Mon Sep 17 00:00:00 2001 From: Kacper Sawicki Date: Tue, 26 Nov 2024 15:19:53 +0100 Subject: [PATCH 30/41] Fix lint --- release/openapi/swagger/src/api.swagger.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/release/openapi/swagger/src/api.swagger.json b/release/openapi/swagger/src/api.swagger.json index 3903a86e..2405673b 100644 --- a/release/openapi/swagger/src/api.swagger.json +++ b/release/openapi/swagger/src/api.swagger.json @@ -619,11 +619,11 @@ } }, "protobufAny": { - "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\nExample 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\nExample 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }", + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := \u0026pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }", "type": "object", "properties": { "@type": { - "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics.", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics.", "type": "string" } }, From 1c0551a2baf34388271c594de47e6b872db2d04f Mon Sep 17 00:00:00 2001 From: Kacper Sawicki Date: Wed, 27 Nov 2024 10:28:00 +0100 Subject: [PATCH 31/41] Add eligibilities per epoch --- .../v2alpha1/smeshing_identities.pb.go | 397 +++++++++++------- release/openapi/swagger/src/api.swagger.json | 11 + spacemesh/v2alpha1/smeshing_identities.proto | 6 +- 3 files changed, 252 insertions(+), 162 deletions(-) diff --git a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go index 86155952..2d8c7e6f 100644 --- a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go +++ b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go @@ -550,6 +550,53 @@ func (x *ProposalEligibility) GetCount() uint32 { return 0 } +type EpochEligibilities struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Epochs map[uint32]*Eligibilities `protobuf:"bytes,1,rep,name=epochs,proto3" json:"epochs,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *EpochEligibilities) Reset() { + *x = EpochEligibilities{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EpochEligibilities) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EpochEligibilities) ProtoMessage() {} + +func (x *EpochEligibilities) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EpochEligibilities.ProtoReflect.Descriptor instead. +func (*EpochEligibilities) Descriptor() ([]byte, []int) { + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{9} +} + +func (x *EpochEligibilities) GetEpochs() map[uint32]*Eligibilities { + if x != nil { + return x.Epochs + } + return nil +} + type EligibilitiesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -559,7 +606,7 @@ type EligibilitiesRequest struct { func (x *EligibilitiesRequest) Reset() { *x = EligibilitiesRequest{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[9] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -572,7 +619,7 @@ func (x *EligibilitiesRequest) String() string { func (*EligibilitiesRequest) ProtoMessage() {} func (x *EligibilitiesRequest) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[9] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -585,7 +632,7 @@ func (x *EligibilitiesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use EligibilitiesRequest.ProtoReflect.Descriptor instead. func (*EligibilitiesRequest) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{9} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{10} } type EligibilitiesResponse struct { @@ -593,13 +640,13 @@ type EligibilitiesResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Eligibilities map[string]*Eligibilities `protobuf:"bytes,1,rep,name=eligibilities,proto3" json:"eligibilities,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Eligibilities map[string]*EpochEligibilities `protobuf:"bytes,1,rep,name=eligibilities,proto3" json:"eligibilities,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } func (x *EligibilitiesResponse) Reset() { *x = EligibilitiesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[10] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -612,7 +659,7 @@ func (x *EligibilitiesResponse) String() string { func (*EligibilitiesResponse) ProtoMessage() {} func (x *EligibilitiesResponse) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[10] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -625,10 +672,10 @@ func (x *EligibilitiesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use EligibilitiesResponse.ProtoReflect.Descriptor instead. func (*EligibilitiesResponse) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{10} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{11} } -func (x *EligibilitiesResponse) GetEligibilities() map[string]*Eligibilities { +func (x *EligibilitiesResponse) GetEligibilities() map[string]*EpochEligibilities { if x != nil { return x.Eligibilities } @@ -644,7 +691,7 @@ type ProposalsRequest struct { func (x *ProposalsRequest) Reset() { *x = ProposalsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[11] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -657,7 +704,7 @@ func (x *ProposalsRequest) String() string { func (*ProposalsRequest) ProtoMessage() {} func (x *ProposalsRequest) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[11] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -670,7 +717,7 @@ func (x *ProposalsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ProposalsRequest.ProtoReflect.Descriptor instead. func (*ProposalsRequest) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{11} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{12} } type Proposal struct { @@ -685,7 +732,7 @@ type Proposal struct { func (x *Proposal) Reset() { *x = Proposal{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[12] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -698,7 +745,7 @@ func (x *Proposal) String() string { func (*Proposal) ProtoMessage() {} func (x *Proposal) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[12] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -711,7 +758,7 @@ func (x *Proposal) ProtoReflect() protoreflect.Message { // Deprecated: Use Proposal.ProtoReflect.Descriptor instead. func (*Proposal) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{12} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{13} } func (x *Proposal) GetLayer() uint32 { @@ -739,7 +786,7 @@ type Proposals struct { func (x *Proposals) Reset() { *x = Proposals{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[13] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -752,7 +799,7 @@ func (x *Proposals) String() string { func (*Proposals) ProtoMessage() {} func (x *Proposals) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[13] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -765,7 +812,7 @@ func (x *Proposals) ProtoReflect() protoreflect.Message { // Deprecated: Use Proposals.ProtoReflect.Descriptor instead. func (*Proposals) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{13} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{14} } func (x *Proposals) GetProposals() []*Proposal { @@ -786,7 +833,7 @@ type ProposalsResponse struct { func (x *ProposalsResponse) Reset() { *x = ProposalsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[14] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -799,7 +846,7 @@ func (x *ProposalsResponse) String() string { func (*ProposalsResponse) ProtoMessage() {} func (x *ProposalsResponse) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[14] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -812,7 +859,7 @@ func (x *ProposalsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ProposalsResponse.ProtoReflect.Descriptor instead. func (*ProposalsResponse) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{14} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{15} } func (x *ProposalsResponse) GetProposals() map[string]*Proposals { @@ -900,107 +947,119 @@ var file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc = []byte{ 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, - 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x16, 0x0a, 0x14, 0x45, 0x6c, 0x69, 0x67, 0x69, - 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, - 0xe0, 0x01, 0x0a, 0x15, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x0d, 0x65, 0x6c, 0x69, - 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x3c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, - 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x45, 0x6c, 0x69, 0x67, - 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, - 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x1a, 0x63, 0x0a, - 0x12, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x37, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, - 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, - 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, - 0x38, 0x01, 0x22, 0x12, 0x0a, 0x10, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x3c, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, - 0x61, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0d, 0x52, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, - 0x6f, 0x73, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, - 0x6f, 0x73, 0x61, 0x6c, 0x22, 0x47, 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, - 0x73, 0x12, 0x3a, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, - 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, - 0x61, 0x6c, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x22, 0xc4, 0x01, - 0x0a, 0x11, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, - 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, - 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x72, - 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x70, 0x72, - 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x1a, 0x5b, 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x70, 0x6f, - 0x73, 0x61, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x33, 0x0a, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x70, 0x61, + 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xbe, 0x01, 0x0a, 0x12, 0x45, 0x70, 0x6f, 0x63, + 0x68, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x4a, + 0x0a, 0x06, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, + 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, + 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x52, 0x06, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x1a, 0x5c, 0x0a, 0x0b, 0x45, 0x70, + 0x6f, 0x63, 0x68, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x37, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x3a, 0x02, 0x38, 0x01, 0x2a, 0xc3, 0x02, 0x0a, 0x0d, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, - 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, - 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x57, 0x41, 0x49, 0x54, 0x5f, - 0x46, 0x4f, 0x52, 0x5f, 0x41, 0x54, 0x58, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x45, 0x44, 0x10, 0x01, - 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x45, 0x54, 0x52, 0x59, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x28, - 0x0a, 0x24, 0x57, 0x41, 0x49, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, - 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, - 0x57, 0x49, 0x4e, 0x44, 0x4f, 0x57, 0x10, 0x03, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4f, 0x45, 0x54, - 0x5f, 0x43, 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, 0x47, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, - 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, - 0x54, 0x45, 0x52, 0x45, 0x44, 0x10, 0x05, 0x12, 0x1b, 0x0a, 0x17, 0x57, 0x41, 0x49, 0x54, 0x5f, - 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x55, 0x4e, 0x44, 0x5f, 0x45, - 0x4e, 0x44, 0x10, 0x06, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, - 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x43, 0x45, 0x49, 0x56, 0x45, 0x44, 0x10, 0x07, 0x12, 0x19, 0x0a, - 0x15, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x4f, 0x53, 0x54, - 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x10, 0x08, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x4f, 0x53, 0x54, - 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x09, 0x12, 0x0d, - 0x0a, 0x09, 0x41, 0x54, 0x58, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x0a, 0x12, 0x13, 0x0a, - 0x0f, 0x41, 0x54, 0x58, 0x5f, 0x42, 0x52, 0x4f, 0x41, 0x44, 0x43, 0x41, 0x53, 0x54, 0x45, 0x44, - 0x10, 0x0b, 0x12, 0x16, 0x0a, 0x12, 0x50, 0x52, 0x4f, 0x50, 0x4f, 0x53, 0x41, 0x4c, 0x5f, 0x50, - 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, 0x45, 0x44, 0x10, 0x0c, 0x32, 0xa7, 0x03, 0x0a, 0x19, 0x53, - 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, - 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x61, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, - 0x65, 0x73, 0x12, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, - 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, - 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x57, 0x0a, 0x08, 0x50, - 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x23, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, - 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, - 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x73, + 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x16, 0x0a, 0x14, 0x45, 0x6c, 0x69, 0x67, + 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x22, 0xe5, 0x01, 0x0a, 0x15, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, + 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x0d, 0x65, 0x6c, + 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x3c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, + 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x45, 0x6c, 0x69, + 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, + 0x0d, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x1a, 0x68, + 0x0a, 0x12, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, + 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, + 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x12, 0x0a, 0x10, 0x50, 0x72, 0x6f, 0x70, + 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x3c, 0x0a, 0x08, + 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, + 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x1a, + 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x22, 0x47, 0x0a, 0x09, 0x50, 0x72, + 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x12, 0x3a, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, + 0x73, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, + 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, + 0x61, 0x6c, 0x73, 0x22, 0xc4, 0x01, 0x0a, 0x11, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a, 0x09, 0x70, 0x72, 0x6f, + 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x12, 0x66, 0x0a, 0x0d, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, - 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x28, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, + 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x1a, 0x5b, 0x0a, + 0x0e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, + 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, + 0x79, 0x12, 0x33, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x2a, 0xc3, 0x02, 0x0a, 0x0d, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0f, 0x0a, 0x0b, + 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, + 0x13, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x41, 0x54, 0x58, 0x5f, 0x53, 0x59, + 0x4e, 0x43, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x45, 0x54, 0x52, 0x59, 0x49, + 0x4e, 0x47, 0x10, 0x02, 0x12, 0x28, 0x0a, 0x24, 0x57, 0x41, 0x49, 0x54, 0x49, 0x4e, 0x47, 0x5f, + 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, + 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x57, 0x49, 0x4e, 0x44, 0x4f, 0x57, 0x10, 0x03, 0x12, 0x18, + 0x0a, 0x14, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, 0x47, 0x45, + 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x4f, 0x45, 0x54, + 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x45, 0x52, 0x45, 0x44, 0x10, 0x05, 0x12, 0x1b, 0x0a, + 0x17, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, + 0x4f, 0x55, 0x4e, 0x44, 0x5f, 0x45, 0x4e, 0x44, 0x10, 0x06, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x4f, + 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x43, 0x45, 0x49, 0x56, 0x45, + 0x44, 0x10, 0x07, 0x12, 0x19, 0x0a, 0x15, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4e, + 0x47, 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x10, 0x08, 0x12, 0x14, + 0x0a, 0x10, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x41, + 0x44, 0x59, 0x10, 0x09, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x54, 0x58, 0x5f, 0x52, 0x45, 0x41, 0x44, + 0x59, 0x10, 0x0a, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x54, 0x58, 0x5f, 0x42, 0x52, 0x4f, 0x41, 0x44, + 0x43, 0x41, 0x53, 0x54, 0x45, 0x44, 0x10, 0x0b, 0x12, 0x16, 0x0a, 0x12, 0x50, 0x52, 0x4f, 0x50, + 0x4f, 0x53, 0x41, 0x4c, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, 0x45, 0x44, 0x10, 0x0c, + 0x32, 0xa7, 0x03, 0x0a, 0x19, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x61, + 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, + 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x57, 0x0a, 0x08, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x23, 0x2e, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, + 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x66, 0x0a, 0x0d, 0x45, 0x6c, + 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x28, 0x2e, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, - 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, - 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x09, - 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x12, 0x24, 0x2e, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, - 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x25, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, + 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x12, + 0x24, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x1a, 0x0a, 0xfa, 0xd2, 0xe4, 0x93, 0x02, 0x04, - 0x12, 0x02, 0x56, 0x32, 0x42, 0xe6, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, - 0x17, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, - 0x69, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, - 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, - 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2f, 0x67, - 0x6f, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, 0x32, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x3b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x76, 0x32, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, 0x02, 0x12, 0x53, - 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0xca, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x1e, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, - 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x13, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, - 0x65, 0x73, 0x68, 0x3a, 0x3a, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, + 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, + 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x1a, 0x0a, + 0xfa, 0xd2, 0xe4, 0x93, 0x02, 0x04, 0x12, 0x02, 0x56, 0x32, 0x42, 0xe6, 0x01, 0x0a, 0x16, 0x63, + 0x6f, 0x6d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x17, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, + 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x6c, + 0x65, 0x61, 0x73, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, + 0x68, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x6d, 0x65, 0x73, 0x68, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x53, + 0x58, 0x58, 0xaa, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x56, + 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, + 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x1e, 0x53, + 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x13, + 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x3a, 0x3a, 0x56, 0x32, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -1016,7 +1075,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP() []byte { } var file_spacemesh_v2alpha1_smeshing_identities_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes = make([]protoimpl.MessageInfo, 19) +var file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes = make([]protoimpl.MessageInfo, 21) var file_spacemesh_v2alpha1_smeshing_identities_proto_goTypes = []interface{}{ (IdentityState)(0), // 0: spacemesh.v2alpha1.IdentityState (*IdentityStatesRequest)(nil), // 1: spacemesh.v2alpha1.IdentityStatesRequest @@ -1028,48 +1087,52 @@ var file_spacemesh_v2alpha1_smeshing_identities_proto_goTypes = []interface{}{ (*PoetInfoResponse)(nil), // 7: spacemesh.v2alpha1.PoetInfoResponse (*Eligibilities)(nil), // 8: spacemesh.v2alpha1.Eligibilities (*ProposalEligibility)(nil), // 9: spacemesh.v2alpha1.ProposalEligibility - (*EligibilitiesRequest)(nil), // 10: spacemesh.v2alpha1.EligibilitiesRequest - (*EligibilitiesResponse)(nil), // 11: spacemesh.v2alpha1.EligibilitiesResponse - (*ProposalsRequest)(nil), // 12: spacemesh.v2alpha1.ProposalsRequest - (*Proposal)(nil), // 13: spacemesh.v2alpha1.Proposal - (*Proposals)(nil), // 14: spacemesh.v2alpha1.Proposals - (*ProposalsResponse)(nil), // 15: spacemesh.v2alpha1.ProposalsResponse - nil, // 16: spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry - nil, // 17: spacemesh.v2alpha1.PoetInfoResponse.PoetsEntry - nil, // 18: spacemesh.v2alpha1.EligibilitiesResponse.EligibilitiesEntry - nil, // 19: spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry - (*timestamppb.Timestamp)(nil), // 20: google.protobuf.Timestamp - (*durationpb.Duration)(nil), // 21: google.protobuf.Duration + (*EpochEligibilities)(nil), // 10: spacemesh.v2alpha1.EpochEligibilities + (*EligibilitiesRequest)(nil), // 11: spacemesh.v2alpha1.EligibilitiesRequest + (*EligibilitiesResponse)(nil), // 12: spacemesh.v2alpha1.EligibilitiesResponse + (*ProposalsRequest)(nil), // 13: spacemesh.v2alpha1.ProposalsRequest + (*Proposal)(nil), // 14: spacemesh.v2alpha1.Proposal + (*Proposals)(nil), // 15: spacemesh.v2alpha1.Proposals + (*ProposalsResponse)(nil), // 16: spacemesh.v2alpha1.ProposalsResponse + nil, // 17: spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry + nil, // 18: spacemesh.v2alpha1.PoetInfoResponse.PoetsEntry + nil, // 19: spacemesh.v2alpha1.EpochEligibilities.EpochsEntry + nil, // 20: spacemesh.v2alpha1.EligibilitiesResponse.EligibilitiesEntry + nil, // 21: spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry + (*timestamppb.Timestamp)(nil), // 22: google.protobuf.Timestamp + (*durationpb.Duration)(nil), // 23: google.protobuf.Duration } var file_spacemesh_v2alpha1_smeshing_identities_proto_depIdxs = []int32{ 0, // 0: spacemesh.v2alpha1.IdentityStateInfo.state:type_name -> spacemesh.v2alpha1.IdentityState - 20, // 1: spacemesh.v2alpha1.IdentityStateInfo.time:type_name -> google.protobuf.Timestamp + 22, // 1: spacemesh.v2alpha1.IdentityStateInfo.time:type_name -> google.protobuf.Timestamp 2, // 2: spacemesh.v2alpha1.Identity.history:type_name -> spacemesh.v2alpha1.IdentityStateInfo - 16, // 3: spacemesh.v2alpha1.IdentityStatesResponse.identities:type_name -> spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry - 21, // 4: spacemesh.v2alpha1.PoetInfo.phase_shift:type_name -> google.protobuf.Duration - 21, // 5: spacemesh.v2alpha1.PoetInfo.cycle_gap:type_name -> google.protobuf.Duration - 17, // 6: spacemesh.v2alpha1.PoetInfoResponse.poets:type_name -> spacemesh.v2alpha1.PoetInfoResponse.PoetsEntry + 17, // 3: spacemesh.v2alpha1.IdentityStatesResponse.identities:type_name -> spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry + 23, // 4: spacemesh.v2alpha1.PoetInfo.phase_shift:type_name -> google.protobuf.Duration + 23, // 5: spacemesh.v2alpha1.PoetInfo.cycle_gap:type_name -> google.protobuf.Duration + 18, // 6: spacemesh.v2alpha1.PoetInfoResponse.poets:type_name -> spacemesh.v2alpha1.PoetInfoResponse.PoetsEntry 9, // 7: spacemesh.v2alpha1.Eligibilities.eligibilities:type_name -> spacemesh.v2alpha1.ProposalEligibility - 18, // 8: spacemesh.v2alpha1.EligibilitiesResponse.eligibilities:type_name -> spacemesh.v2alpha1.EligibilitiesResponse.EligibilitiesEntry - 13, // 9: spacemesh.v2alpha1.Proposals.proposals:type_name -> spacemesh.v2alpha1.Proposal - 19, // 10: spacemesh.v2alpha1.ProposalsResponse.proposals:type_name -> spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry - 3, // 11: spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry.value:type_name -> spacemesh.v2alpha1.Identity - 6, // 12: spacemesh.v2alpha1.PoetInfoResponse.PoetsEntry.value:type_name -> spacemesh.v2alpha1.PoetInfo - 8, // 13: spacemesh.v2alpha1.EligibilitiesResponse.EligibilitiesEntry.value:type_name -> spacemesh.v2alpha1.Eligibilities - 14, // 14: spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry.value:type_name -> spacemesh.v2alpha1.Proposals - 1, // 15: spacemesh.v2alpha1.SmeshingIdentitiesService.States:input_type -> spacemesh.v2alpha1.IdentityStatesRequest - 5, // 16: spacemesh.v2alpha1.SmeshingIdentitiesService.PoetInfo:input_type -> spacemesh.v2alpha1.PoetInfoRequest - 10, // 17: spacemesh.v2alpha1.SmeshingIdentitiesService.Eligibilities:input_type -> spacemesh.v2alpha1.EligibilitiesRequest - 12, // 18: spacemesh.v2alpha1.SmeshingIdentitiesService.Proposals:input_type -> spacemesh.v2alpha1.ProposalsRequest - 4, // 19: spacemesh.v2alpha1.SmeshingIdentitiesService.States:output_type -> spacemesh.v2alpha1.IdentityStatesResponse - 7, // 20: spacemesh.v2alpha1.SmeshingIdentitiesService.PoetInfo:output_type -> spacemesh.v2alpha1.PoetInfoResponse - 11, // 21: spacemesh.v2alpha1.SmeshingIdentitiesService.Eligibilities:output_type -> spacemesh.v2alpha1.EligibilitiesResponse - 15, // 22: spacemesh.v2alpha1.SmeshingIdentitiesService.Proposals:output_type -> spacemesh.v2alpha1.ProposalsResponse - 19, // [19:23] is the sub-list for method output_type - 15, // [15:19] is the sub-list for method input_type - 15, // [15:15] is the sub-list for extension type_name - 15, // [15:15] is the sub-list for extension extendee - 0, // [0:15] is the sub-list for field type_name + 19, // 8: spacemesh.v2alpha1.EpochEligibilities.epochs:type_name -> spacemesh.v2alpha1.EpochEligibilities.EpochsEntry + 20, // 9: spacemesh.v2alpha1.EligibilitiesResponse.eligibilities:type_name -> spacemesh.v2alpha1.EligibilitiesResponse.EligibilitiesEntry + 14, // 10: spacemesh.v2alpha1.Proposals.proposals:type_name -> spacemesh.v2alpha1.Proposal + 21, // 11: spacemesh.v2alpha1.ProposalsResponse.proposals:type_name -> spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry + 3, // 12: spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry.value:type_name -> spacemesh.v2alpha1.Identity + 6, // 13: spacemesh.v2alpha1.PoetInfoResponse.PoetsEntry.value:type_name -> spacemesh.v2alpha1.PoetInfo + 8, // 14: spacemesh.v2alpha1.EpochEligibilities.EpochsEntry.value:type_name -> spacemesh.v2alpha1.Eligibilities + 10, // 15: spacemesh.v2alpha1.EligibilitiesResponse.EligibilitiesEntry.value:type_name -> spacemesh.v2alpha1.EpochEligibilities + 15, // 16: spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry.value:type_name -> spacemesh.v2alpha1.Proposals + 1, // 17: spacemesh.v2alpha1.SmeshingIdentitiesService.States:input_type -> spacemesh.v2alpha1.IdentityStatesRequest + 5, // 18: spacemesh.v2alpha1.SmeshingIdentitiesService.PoetInfo:input_type -> spacemesh.v2alpha1.PoetInfoRequest + 11, // 19: spacemesh.v2alpha1.SmeshingIdentitiesService.Eligibilities:input_type -> spacemesh.v2alpha1.EligibilitiesRequest + 13, // 20: spacemesh.v2alpha1.SmeshingIdentitiesService.Proposals:input_type -> spacemesh.v2alpha1.ProposalsRequest + 4, // 21: spacemesh.v2alpha1.SmeshingIdentitiesService.States:output_type -> spacemesh.v2alpha1.IdentityStatesResponse + 7, // 22: spacemesh.v2alpha1.SmeshingIdentitiesService.PoetInfo:output_type -> spacemesh.v2alpha1.PoetInfoResponse + 12, // 23: spacemesh.v2alpha1.SmeshingIdentitiesService.Eligibilities:output_type -> spacemesh.v2alpha1.EligibilitiesResponse + 16, // 24: spacemesh.v2alpha1.SmeshingIdentitiesService.Proposals:output_type -> spacemesh.v2alpha1.ProposalsResponse + 21, // [21:25] is the sub-list for method output_type + 17, // [17:21] is the sub-list for method input_type + 17, // [17:17] is the sub-list for extension type_name + 17, // [17:17] is the sub-list for extension extendee + 0, // [0:17] is the sub-list for field type_name } func init() { file_spacemesh_v2alpha1_smeshing_identities_proto_init() } @@ -1187,7 +1250,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EligibilitiesRequest); i { + switch v := v.(*EpochEligibilities); i { case 0: return &v.state case 1: @@ -1199,7 +1262,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EligibilitiesResponse); i { + switch v := v.(*EligibilitiesRequest); i { case 0: return &v.state case 1: @@ -1211,7 +1274,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProposalsRequest); i { + switch v := v.(*EligibilitiesResponse); i { case 0: return &v.state case 1: @@ -1223,7 +1286,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proposal); i { + switch v := v.(*ProposalsRequest); i { case 0: return &v.state case 1: @@ -1235,7 +1298,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proposals); i { + switch v := v.(*Proposal); i { case 0: return &v.state case 1: @@ -1247,6 +1310,18 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Proposals); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ProposalsResponse); i { case 0: return &v.state @@ -1266,7 +1341,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc, NumEnums: 1, - NumMessages: 19, + NumMessages: 21, NumExtensions: 0, NumServices: 1, }, diff --git a/release/openapi/swagger/src/api.swagger.json b/release/openapi/swagger/src/api.swagger.json index 2405673b..e6445304 100644 --- a/release/openapi/swagger/src/api.swagger.json +++ b/release/openapi/swagger/src/api.swagger.json @@ -1301,6 +1301,17 @@ "type": "object", "properties": { "eligibilities": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/v2alpha1EpochEligibilities" + } + } + } + }, + "v2alpha1EpochEligibilities": { + "type": "object", + "properties": { + "epochs": { "type": "object", "additionalProperties": { "$ref": "#/definitions/spacemeshv2alpha1Eligibilities" diff --git a/spacemesh/v2alpha1/smeshing_identities.proto b/spacemesh/v2alpha1/smeshing_identities.proto index 468588a9..1b7514ac 100644 --- a/spacemesh/v2alpha1/smeshing_identities.proto +++ b/spacemesh/v2alpha1/smeshing_identities.proto @@ -67,10 +67,14 @@ message ProposalEligibility { uint32 count = 2; } +message EpochEligibilities { + map epochs = 1; +} + message EligibilitiesRequest {} message EligibilitiesResponse { - map eligibilities = 1; + map eligibilities = 1; } message ProposalsRequest {} From 16f4f367f656783882636a1c6bde0e812ae252c6 Mon Sep 17 00:00:00 2001 From: Kacper Sawicki Date: Fri, 29 Nov 2024 12:44:53 +0100 Subject: [PATCH 32/41] Add oneof to IdentityStateInfo, update PoetInfoResponse --- .../v2alpha1/smeshing_identities.pb.go | 893 ++++++++++++------ release/openapi/swagger/src/api.swagger.json | 78 +- spacemesh/v2alpha1/smeshing_identities.proto | 28 +- 3 files changed, 679 insertions(+), 320 deletions(-) diff --git a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go index 2d8c7e6f..3f905d3f 100644 --- a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go +++ b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go @@ -141,6 +141,171 @@ func (*IdentityStatesRequest) Descriptor() ([]byte, []int) { return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{0} } +type ErrorInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` +} + +func (x *ErrorInfo) Reset() { + *x = ErrorInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ErrorInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ErrorInfo) ProtoMessage() {} + +func (x *ErrorInfo) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ErrorInfo.ProtoReflect.Descriptor instead. +func (*ErrorInfo) Descriptor() ([]byte, []int) { + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{1} +} + +func (x *ErrorInfo) GetMessage() string { + if x != nil { + return x.Message + } + return "" +} + +type PoETRegistration struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ChallengeHash []byte `protobuf:"bytes,1,opt,name=challenge_hash,json=challengeHash,proto3" json:"challenge_hash,omitempty"` + Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` + RoundId string `protobuf:"bytes,3,opt,name=round_id,json=roundId,proto3" json:"round_id,omitempty"` + RoundEnd *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=round_end,json=roundEnd,proto3" json:"round_end,omitempty"` +} + +func (x *PoETRegistration) Reset() { + *x = PoETRegistration{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PoETRegistration) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PoETRegistration) ProtoMessage() {} + +func (x *PoETRegistration) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PoETRegistration.ProtoReflect.Descriptor instead. +func (*PoETRegistration) Descriptor() ([]byte, []int) { + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{2} +} + +func (x *PoETRegistration) GetChallengeHash() []byte { + if x != nil { + return x.ChallengeHash + } + return nil +} + +func (x *PoETRegistration) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + +func (x *PoETRegistration) GetRoundId() string { + if x != nil { + return x.RoundId + } + return "" +} + +func (x *PoETRegistration) GetRoundEnd() *timestamppb.Timestamp { + if x != nil { + return x.RoundEnd + } + return nil +} + +type SubmittedRegistrations struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Registrations []*PoETRegistration `protobuf:"bytes,1,rep,name=registrations,proto3" json:"registrations,omitempty"` +} + +func (x *SubmittedRegistrations) Reset() { + *x = SubmittedRegistrations{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SubmittedRegistrations) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SubmittedRegistrations) ProtoMessage() {} + +func (x *SubmittedRegistrations) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SubmittedRegistrations.ProtoReflect.Descriptor instead. +func (*SubmittedRegistrations) Descriptor() ([]byte, []int) { + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{3} +} + +func (x *SubmittedRegistrations) GetRegistrations() []*PoETRegistration { + if x != nil { + return x.Registrations + } + return nil +} + type IdentityStateInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -148,14 +313,19 @@ type IdentityStateInfo struct { State IdentityState `protobuf:"varint,1,opt,name=state,proto3,enum=spacemesh.v2alpha1.IdentityState" json:"state,omitempty"` PublishEpoch *uint32 `protobuf:"varint,2,opt,name=publish_epoch,json=publishEpoch,proto3,oneof" json:"publish_epoch,omitempty"` - Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` - Time *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=time,proto3" json:"time,omitempty"` + Time *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"` + // Types that are assignable to Metadata: + // + // *IdentityStateInfo_Error + // *IdentityStateInfo_PoetUrl + // *IdentityStateInfo_SubmittedRegistrations + Metadata isIdentityStateInfo_Metadata `protobuf_oneof:"metadata"` } func (x *IdentityStateInfo) Reset() { *x = IdentityStateInfo{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[1] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -168,7 +338,7 @@ func (x *IdentityStateInfo) String() string { func (*IdentityStateInfo) ProtoMessage() {} func (x *IdentityStateInfo) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[1] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -181,7 +351,7 @@ func (x *IdentityStateInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use IdentityStateInfo.ProtoReflect.Descriptor instead. func (*IdentityStateInfo) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{1} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{4} } func (x *IdentityStateInfo) GetState() IdentityState { @@ -198,20 +368,63 @@ func (x *IdentityStateInfo) GetPublishEpoch() uint32 { return 0 } -func (x *IdentityStateInfo) GetMessage() string { +func (x *IdentityStateInfo) GetTime() *timestamppb.Timestamp { if x != nil { - return x.Message + return x.Time + } + return nil +} + +func (m *IdentityStateInfo) GetMetadata() isIdentityStateInfo_Metadata { + if m != nil { + return m.Metadata + } + return nil +} + +func (x *IdentityStateInfo) GetError() *ErrorInfo { + if x, ok := x.GetMetadata().(*IdentityStateInfo_Error); ok { + return x.Error + } + return nil +} + +func (x *IdentityStateInfo) GetPoetUrl() string { + if x, ok := x.GetMetadata().(*IdentityStateInfo_PoetUrl); ok { + return x.PoetUrl } return "" } -func (x *IdentityStateInfo) GetTime() *timestamppb.Timestamp { - if x != nil { - return x.Time +func (x *IdentityStateInfo) GetSubmittedRegistrations() *SubmittedRegistrations { + if x, ok := x.GetMetadata().(*IdentityStateInfo_SubmittedRegistrations); ok { + return x.SubmittedRegistrations } return nil } +type isIdentityStateInfo_Metadata interface { + isIdentityStateInfo_Metadata() +} + +type IdentityStateInfo_Error struct { + Error *ErrorInfo `protobuf:"bytes,4,opt,name=error,proto3,oneof"` +} + +type IdentityStateInfo_PoetUrl struct { + PoetUrl string `protobuf:"bytes,5,opt,name=poet_url,json=poetUrl,proto3,oneof"` +} + +type IdentityStateInfo_SubmittedRegistrations struct { + SubmittedRegistrations *SubmittedRegistrations `protobuf:"bytes,6,opt,name=submitted_registrations,json=submittedRegistrations,proto3,oneof"` +} + +func (*IdentityStateInfo_Error) isIdentityStateInfo_Metadata() {} + +func (*IdentityStateInfo_PoetUrl) isIdentityStateInfo_Metadata() {} + +func (*IdentityStateInfo_SubmittedRegistrations) isIdentityStateInfo_Metadata() {} + type Identity struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -223,7 +436,7 @@ type Identity struct { func (x *Identity) Reset() { *x = Identity{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[2] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -236,7 +449,7 @@ func (x *Identity) String() string { func (*Identity) ProtoMessage() {} func (x *Identity) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[2] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -249,7 +462,7 @@ func (x *Identity) ProtoReflect() protoreflect.Message { // Deprecated: Use Identity.ProtoReflect.Descriptor instead. func (*Identity) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{2} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{5} } func (x *Identity) GetHistory() []*IdentityStateInfo { @@ -270,7 +483,7 @@ type IdentityStatesResponse struct { func (x *IdentityStatesResponse) Reset() { *x = IdentityStatesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[3] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -283,7 +496,7 @@ func (x *IdentityStatesResponse) String() string { func (*IdentityStatesResponse) ProtoMessage() {} func (x *IdentityStatesResponse) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[3] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -296,7 +509,7 @@ func (x *IdentityStatesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use IdentityStatesResponse.ProtoReflect.Descriptor instead. func (*IdentityStatesResponse) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{3} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{6} } func (x *IdentityStatesResponse) GetIdentities() map[string]*Identity { @@ -316,7 +529,7 @@ type PoetInfoRequest struct { func (x *PoetInfoRequest) Reset() { *x = PoetInfoRequest{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[4] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -329,7 +542,7 @@ func (x *PoetInfoRequest) String() string { func (*PoetInfoRequest) ProtoMessage() {} func (x *PoetInfoRequest) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[4] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -342,10 +555,10 @@ func (x *PoetInfoRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use PoetInfoRequest.ProtoReflect.Descriptor instead. func (*PoetInfoRequest) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{4} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{7} } -type PoetInfo struct { +type PoetConfig struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -354,23 +567,23 @@ type PoetInfo struct { CycleGap *durationpb.Duration `protobuf:"bytes,2,opt,name=cycle_gap,json=cycleGap,proto3" json:"cycle_gap,omitempty"` } -func (x *PoetInfo) Reset() { - *x = PoetInfo{} +func (x *PoetConfig) Reset() { + *x = PoetConfig{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[5] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *PoetInfo) String() string { +func (x *PoetConfig) String() string { return protoimpl.X.MessageStringOf(x) } -func (*PoetInfo) ProtoMessage() {} +func (*PoetConfig) ProtoMessage() {} -func (x *PoetInfo) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[5] +func (x *PoetConfig) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -381,19 +594,19 @@ func (x *PoetInfo) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use PoetInfo.ProtoReflect.Descriptor instead. -func (*PoetInfo) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{5} +// Deprecated: Use PoetConfig.ProtoReflect.Descriptor instead. +func (*PoetConfig) Descriptor() ([]byte, []int) { + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{8} } -func (x *PoetInfo) GetPhaseShift() *durationpb.Duration { +func (x *PoetConfig) GetPhaseShift() *durationpb.Duration { if x != nil { return x.PhaseShift } return nil } -func (x *PoetInfo) GetCycleGap() *durationpb.Duration { +func (x *PoetConfig) GetCycleGap() *durationpb.Duration { if x != nil { return x.CycleGap } @@ -405,13 +618,14 @@ type PoetInfoResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Poets map[string]*PoetInfo `protobuf:"bytes,1,rep,name=poets,proto3" json:"poets,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Poets []string `protobuf:"bytes,1,rep,name=poets,proto3" json:"poets,omitempty"` + Config *PoetConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` } func (x *PoetInfoResponse) Reset() { *x = PoetInfoResponse{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[6] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -424,7 +638,7 @@ func (x *PoetInfoResponse) String() string { func (*PoetInfoResponse) ProtoMessage() {} func (x *PoetInfoResponse) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[6] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -437,16 +651,23 @@ func (x *PoetInfoResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use PoetInfoResponse.ProtoReflect.Descriptor instead. func (*PoetInfoResponse) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{6} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{9} } -func (x *PoetInfoResponse) GetPoets() map[string]*PoetInfo { +func (x *PoetInfoResponse) GetPoets() []string { if x != nil { return x.Poets } return nil } +func (x *PoetInfoResponse) GetConfig() *PoetConfig { + if x != nil { + return x.Config + } + return nil +} + // Proposals and eligibilities type Eligibilities struct { state protoimpl.MessageState @@ -459,7 +680,7 @@ type Eligibilities struct { func (x *Eligibilities) Reset() { *x = Eligibilities{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[7] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -472,7 +693,7 @@ func (x *Eligibilities) String() string { func (*Eligibilities) ProtoMessage() {} func (x *Eligibilities) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[7] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -485,7 +706,7 @@ func (x *Eligibilities) ProtoReflect() protoreflect.Message { // Deprecated: Use Eligibilities.ProtoReflect.Descriptor instead. func (*Eligibilities) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{7} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{10} } func (x *Eligibilities) GetEligibilities() []*ProposalEligibility { @@ -507,7 +728,7 @@ type ProposalEligibility struct { func (x *ProposalEligibility) Reset() { *x = ProposalEligibility{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[8] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -520,7 +741,7 @@ func (x *ProposalEligibility) String() string { func (*ProposalEligibility) ProtoMessage() {} func (x *ProposalEligibility) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[8] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -533,7 +754,7 @@ func (x *ProposalEligibility) ProtoReflect() protoreflect.Message { // Deprecated: Use ProposalEligibility.ProtoReflect.Descriptor instead. func (*ProposalEligibility) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{8} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{11} } func (x *ProposalEligibility) GetLayer() uint32 { @@ -561,7 +782,7 @@ type EpochEligibilities struct { func (x *EpochEligibilities) Reset() { *x = EpochEligibilities{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[9] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -574,7 +795,7 @@ func (x *EpochEligibilities) String() string { func (*EpochEligibilities) ProtoMessage() {} func (x *EpochEligibilities) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[9] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -587,7 +808,7 @@ func (x *EpochEligibilities) ProtoReflect() protoreflect.Message { // Deprecated: Use EpochEligibilities.ProtoReflect.Descriptor instead. func (*EpochEligibilities) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{9} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{12} } func (x *EpochEligibilities) GetEpochs() map[uint32]*Eligibilities { @@ -606,7 +827,7 @@ type EligibilitiesRequest struct { func (x *EligibilitiesRequest) Reset() { *x = EligibilitiesRequest{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[10] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -619,7 +840,7 @@ func (x *EligibilitiesRequest) String() string { func (*EligibilitiesRequest) ProtoMessage() {} func (x *EligibilitiesRequest) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[10] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -632,7 +853,7 @@ func (x *EligibilitiesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use EligibilitiesRequest.ProtoReflect.Descriptor instead. func (*EligibilitiesRequest) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{10} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{13} } type EligibilitiesResponse struct { @@ -646,7 +867,7 @@ type EligibilitiesResponse struct { func (x *EligibilitiesResponse) Reset() { *x = EligibilitiesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[11] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -659,7 +880,7 @@ func (x *EligibilitiesResponse) String() string { func (*EligibilitiesResponse) ProtoMessage() {} func (x *EligibilitiesResponse) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[11] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -672,7 +893,7 @@ func (x *EligibilitiesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use EligibilitiesResponse.ProtoReflect.Descriptor instead. func (*EligibilitiesResponse) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{11} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{14} } func (x *EligibilitiesResponse) GetEligibilities() map[string]*EpochEligibilities { @@ -691,7 +912,7 @@ type ProposalsRequest struct { func (x *ProposalsRequest) Reset() { *x = ProposalsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[12] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -704,7 +925,7 @@ func (x *ProposalsRequest) String() string { func (*ProposalsRequest) ProtoMessage() {} func (x *ProposalsRequest) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[12] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -717,7 +938,7 @@ func (x *ProposalsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ProposalsRequest.ProtoReflect.Descriptor instead. func (*ProposalsRequest) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{12} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{15} } type Proposal struct { @@ -732,7 +953,7 @@ type Proposal struct { func (x *Proposal) Reset() { *x = Proposal{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[13] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -745,7 +966,7 @@ func (x *Proposal) String() string { func (*Proposal) ProtoMessage() {} func (x *Proposal) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[13] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -758,7 +979,7 @@ func (x *Proposal) ProtoReflect() protoreflect.Message { // Deprecated: Use Proposal.ProtoReflect.Descriptor instead. func (*Proposal) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{13} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{16} } func (x *Proposal) GetLayer() uint32 { @@ -786,7 +1007,7 @@ type Proposals struct { func (x *Proposals) Reset() { *x = Proposals{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[14] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -799,7 +1020,7 @@ func (x *Proposals) String() string { func (*Proposals) ProtoMessage() {} func (x *Proposals) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[14] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -812,7 +1033,7 @@ func (x *Proposals) ProtoReflect() protoreflect.Message { // Deprecated: Use Proposals.ProtoReflect.Descriptor instead. func (*Proposals) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{14} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{17} } func (x *Proposals) GetProposals() []*Proposal { @@ -833,7 +1054,7 @@ type ProposalsResponse struct { func (x *ProposalsResponse) Reset() { *x = ProposalsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[15] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -846,7 +1067,7 @@ func (x *ProposalsResponse) String() string { func (*ProposalsResponse) ProtoMessage() {} func (x *ProposalsResponse) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[15] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -859,7 +1080,7 @@ func (x *ProposalsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ProposalsResponse.ProtoReflect.Descriptor instead. func (*ProposalsResponse) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{15} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{18} } func (x *ProposalsResponse) GetProposals() map[string]*Proposals { @@ -885,181 +1106,206 @@ var file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc = []byte{ 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x17, 0x0a, 0x15, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xd2, 0x01, 0x0a, 0x11, 0x49, 0x64, 0x65, 0x6e, - 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x37, 0x0a, - 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x25, 0x0a, 0x09, 0x45, 0x72, 0x72, 0x6f, 0x72, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0xa7, + 0x01, 0x0a, 0x10, 0x50, 0x6f, 0x45, 0x54, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, + 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x63, 0x68, 0x61, + 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x48, 0x61, 0x73, 0x68, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x69, 0x64, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x49, 0x64, 0x12, + 0x37, 0x0a, 0x09, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x65, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x08, + 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x45, 0x6e, 0x64, 0x22, 0x64, 0x0a, 0x16, 0x53, 0x75, 0x62, 0x6d, + 0x69, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x12, 0x4a, 0x0a, 0x0d, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, + 0x6f, 0x45, 0x54, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x0d, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xff, + 0x02, 0x0a, 0x11, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x37, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, + 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x28, 0x0a, + 0x0d, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0d, 0x48, 0x01, 0x52, 0x0c, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x45, + 0x70, 0x6f, 0x63, 0x68, 0x88, 0x01, 0x01, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, + 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, + 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x72, 0x72, 0x6f, + 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x1b, + 0x0a, 0x08, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, + 0x48, 0x00, 0x52, 0x07, 0x70, 0x6f, 0x65, 0x74, 0x55, 0x72, 0x6c, 0x12, 0x65, 0x0a, 0x17, 0x73, + 0x75, 0x62, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, - 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x28, 0x0a, 0x0d, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, - 0x68, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x00, 0x52, - 0x0c, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x88, 0x01, 0x01, - 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, - 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, - 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x70, - 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x22, 0x4b, 0x0a, 0x08, - 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x3f, 0x0a, 0x07, 0x68, 0x69, 0x73, 0x74, - 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, - 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, - 0x52, 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x22, 0xd1, 0x01, 0x0a, 0x16, 0x49, 0x64, - 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5a, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, - 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, - 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, - 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, - 0x1a, 0x5b, 0x0a, 0x0f, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x32, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, - 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, - 0x74, 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x11, 0x0a, - 0x0f, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x22, 0x7e, 0x0a, 0x08, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3a, 0x0a, 0x0b, - 0x70, 0x68, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68, 0x69, 0x66, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x70, 0x68, - 0x61, 0x73, 0x65, 0x53, 0x68, 0x69, 0x66, 0x74, 0x12, 0x36, 0x0a, 0x09, 0x63, 0x79, 0x63, 0x6c, - 0x65, 0x5f, 0x67, 0x61, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x47, 0x61, 0x70, - 0x22, 0xb1, 0x01, 0x0a, 0x10, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x45, 0x0a, 0x05, 0x70, 0x6f, 0x65, 0x74, 0x73, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, - 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, - 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x73, - 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x70, 0x6f, 0x65, 0x74, 0x73, 0x1a, 0x56, 0x0a, 0x0a, - 0x50, 0x6f, 0x65, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, - 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x32, 0x0a, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x3a, 0x02, 0x38, 0x01, 0x22, 0x5e, 0x0a, 0x0d, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, - 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x4d, 0x0a, 0x0d, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, - 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, + 0x31, 0x2e, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x67, 0x69, 0x73, + 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x16, 0x73, 0x75, 0x62, 0x6d, + 0x69, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x42, 0x0a, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0x10, + 0x0a, 0x0e, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, + 0x22, 0x4b, 0x0a, 0x08, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x3f, 0x0a, 0x07, + 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x22, 0xd1, 0x01, + 0x0a, 0x16, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5a, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, - 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0d, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, - 0x74, 0x69, 0x65, 0x73, 0x22, 0x41, 0x0a, 0x13, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, - 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x6c, - 0x61, 0x79, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x61, 0x79, 0x65, - 0x72, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, - 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xbe, 0x01, 0x0a, 0x12, 0x45, 0x70, 0x6f, 0x63, - 0x68, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x4a, - 0x0a, 0x06, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, - 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, - 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x52, 0x06, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x1a, 0x5c, 0x0a, 0x0b, 0x45, 0x70, - 0x6f, 0x63, 0x68, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x37, 0x0a, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, + 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x69, 0x65, 0x73, 0x1a, 0x5b, 0x0a, 0x0f, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, + 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x32, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, + 0x01, 0x22, 0x11, 0x0a, 0x0f, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x22, 0x80, 0x01, 0x0a, 0x0a, 0x50, 0x6f, 0x65, 0x74, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x12, 0x3a, 0x0a, 0x0b, 0x70, 0x68, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68, 0x69, + 0x66, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x70, 0x68, 0x61, 0x73, 0x65, 0x53, 0x68, 0x69, 0x66, 0x74, 0x12, + 0x36, 0x0a, 0x09, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x5f, 0x67, 0x61, 0x70, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x63, + 0x79, 0x63, 0x6c, 0x65, 0x47, 0x61, 0x70, 0x22, 0x60, 0x0a, 0x10, 0x50, 0x6f, 0x65, 0x74, 0x49, + 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, + 0x6f, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x70, 0x6f, 0x65, 0x74, + 0x73, 0x12, 0x36, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1e, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x5e, 0x0a, 0x0d, 0x45, 0x6c, 0x69, + 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x4d, 0x0a, 0x0d, 0x65, 0x6c, + 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x45, + 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0d, 0x65, 0x6c, 0x69, 0x67, + 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x22, 0x41, 0x0a, 0x13, 0x50, 0x72, 0x6f, + 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, + 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xbe, 0x01, 0x0a, + 0x12, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x69, 0x65, 0x73, 0x12, 0x4a, 0x0a, 0x06, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, + 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x45, 0x6c, + 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, + 0x68, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x1a, + 0x5c, 0x0a, 0x0b, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, + 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, + 0x12, 0x37, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, + 0x65, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x16, 0x0a, + 0x14, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xe5, 0x01, 0x0a, 0x15, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, + 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x62, 0x0a, 0x0d, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, + 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, + 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x69, 0x65, 0x73, 0x1a, 0x68, 0x0a, 0x12, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, + 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3c, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x16, 0x0a, 0x14, 0x45, 0x6c, 0x69, 0x67, - 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x22, 0xe5, 0x01, 0x0a, 0x15, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, - 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x0d, 0x65, 0x6c, - 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x3c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, - 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x45, 0x6c, 0x69, - 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, - 0x0d, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x1a, 0x68, - 0x0a, 0x12, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, + 0x45, 0x70, 0x6f, 0x63, 0x68, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, + 0x65, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x12, 0x0a, + 0x10, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x22, 0x3c, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x12, 0x14, 0x0a, + 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x22, + 0x47, 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x12, 0x3a, 0x0a, 0x09, + 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x1c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x52, 0x09, 0x70, + 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x22, 0xc4, 0x01, 0x0a, 0x11, 0x50, 0x72, 0x6f, + 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, + 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x34, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, + 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, + 0x6c, 0x73, 0x1a, 0x5b, 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, - 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, - 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x12, 0x0a, 0x10, 0x50, 0x72, 0x6f, 0x70, - 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x3c, 0x0a, 0x08, - 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, - 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x1a, - 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x22, 0x47, 0x0a, 0x09, 0x50, 0x72, - 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x12, 0x3a, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, - 0x73, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, - 0x61, 0x6c, 0x73, 0x22, 0xc4, 0x01, 0x0a, 0x11, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a, 0x09, 0x70, 0x72, 0x6f, - 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x1a, 0x5b, 0x0a, - 0x0e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, - 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, - 0x79, 0x12, 0x33, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x2a, 0xc3, 0x02, 0x0a, 0x0d, 0x49, - 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0f, 0x0a, 0x0b, - 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, - 0x13, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x41, 0x54, 0x58, 0x5f, 0x53, 0x59, - 0x4e, 0x43, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x45, 0x54, 0x52, 0x59, 0x49, - 0x4e, 0x47, 0x10, 0x02, 0x12, 0x28, 0x0a, 0x24, 0x57, 0x41, 0x49, 0x54, 0x49, 0x4e, 0x47, 0x5f, - 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, - 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x57, 0x49, 0x4e, 0x44, 0x4f, 0x57, 0x10, 0x03, 0x12, 0x18, - 0x0a, 0x14, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, 0x47, 0x45, - 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x4f, 0x45, 0x54, - 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x45, 0x52, 0x45, 0x44, 0x10, 0x05, 0x12, 0x1b, 0x0a, - 0x17, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, - 0x4f, 0x55, 0x4e, 0x44, 0x5f, 0x45, 0x4e, 0x44, 0x10, 0x06, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x4f, - 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x43, 0x45, 0x49, 0x56, 0x45, - 0x44, 0x10, 0x07, 0x12, 0x19, 0x0a, 0x15, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4e, - 0x47, 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x10, 0x08, 0x12, 0x14, - 0x0a, 0x10, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x41, - 0x44, 0x59, 0x10, 0x09, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x54, 0x58, 0x5f, 0x52, 0x45, 0x41, 0x44, - 0x59, 0x10, 0x0a, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x54, 0x58, 0x5f, 0x42, 0x52, 0x4f, 0x41, 0x44, - 0x43, 0x41, 0x53, 0x54, 0x45, 0x44, 0x10, 0x0b, 0x12, 0x16, 0x0a, 0x12, 0x50, 0x52, 0x4f, 0x50, - 0x4f, 0x53, 0x41, 0x4c, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, 0x45, 0x44, 0x10, 0x0c, - 0x32, 0xa7, 0x03, 0x0a, 0x19, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, - 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x61, - 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, - 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, - 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, - 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x12, 0x57, 0x0a, 0x08, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x23, 0x2e, + 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x33, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, + 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, + 0x73, 0x61, 0x6c, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x2a, + 0xc3, 0x02, 0x0a, 0x0d, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, + 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x41, + 0x54, 0x58, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x52, + 0x45, 0x54, 0x52, 0x59, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x28, 0x0a, 0x24, 0x57, 0x41, 0x49, + 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, + 0x47, 0x49, 0x53, 0x54, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x57, 0x49, 0x4e, 0x44, 0x4f, + 0x57, 0x10, 0x03, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4c, + 0x4c, 0x45, 0x4e, 0x47, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x04, 0x12, 0x13, 0x0a, + 0x0f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x45, 0x52, 0x45, 0x44, + 0x10, 0x05, 0x12, 0x1b, 0x0a, 0x17, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, + 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x55, 0x4e, 0x44, 0x5f, 0x45, 0x4e, 0x44, 0x10, 0x06, 0x12, + 0x17, 0x0a, 0x13, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, + 0x43, 0x45, 0x49, 0x56, 0x45, 0x44, 0x10, 0x07, 0x12, 0x19, 0x0a, 0x15, 0x47, 0x45, 0x4e, 0x45, + 0x52, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, + 0x46, 0x10, 0x08, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, + 0x46, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x09, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x54, 0x58, + 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x0a, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x54, 0x58, 0x5f, + 0x42, 0x52, 0x4f, 0x41, 0x44, 0x43, 0x41, 0x53, 0x54, 0x45, 0x44, 0x10, 0x0b, 0x12, 0x16, 0x0a, + 0x12, 0x50, 0x52, 0x4f, 0x50, 0x4f, 0x53, 0x41, 0x4c, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, + 0x48, 0x45, 0x44, 0x10, 0x0c, 0x32, 0xa7, 0x03, 0x0a, 0x19, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, + 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x12, 0x61, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, + 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x57, 0x0a, 0x08, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x23, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x66, 0x0a, 0x0d, 0x45, 0x6c, - 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x28, 0x2e, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, - 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, - 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x12, - 0x24, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, - 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, - 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x1a, 0x0a, - 0xfa, 0xd2, 0xe4, 0x93, 0x02, 0x04, 0x12, 0x02, 0x56, 0x32, 0x42, 0xe6, 0x01, 0x0a, 0x16, 0x63, - 0x6f, 0x6d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x17, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, - 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, - 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x6c, - 0x65, 0x61, 0x73, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, - 0x68, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x6d, 0x65, 0x73, 0x68, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x53, - 0x58, 0x58, 0xaa, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x56, - 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, - 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x1e, 0x53, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, + 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, + 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, + 0x66, 0x0a, 0x0d, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, + 0x12, 0x28, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, + 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x70, 0x6f, + 0x73, 0x61, 0x6c, 0x73, 0x12, 0x24, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, + 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, + 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, + 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x1a, 0x0a, 0xfa, 0xd2, 0xe4, 0x93, 0x02, 0x04, 0x12, 0x02, 0x56, 0x32, 0x42, + 0xe6, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, + 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x17, 0x53, 0x6d, 0x65, 0x73, + 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x50, 0x72, + 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, + 0x6d, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, 0x70, + 0x69, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, + 0x65, 0x73, 0x68, 0x2e, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x13, - 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x3a, 0x3a, 0x56, 0x32, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x31, 0xe2, 0x02, 0x1e, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0xea, 0x02, 0x13, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x3a, 0x3a, + 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -1075,64 +1321,69 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP() []byte { } var file_spacemesh_v2alpha1_smeshing_identities_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes = make([]protoimpl.MessageInfo, 21) +var file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes = make([]protoimpl.MessageInfo, 23) var file_spacemesh_v2alpha1_smeshing_identities_proto_goTypes = []interface{}{ (IdentityState)(0), // 0: spacemesh.v2alpha1.IdentityState (*IdentityStatesRequest)(nil), // 1: spacemesh.v2alpha1.IdentityStatesRequest - (*IdentityStateInfo)(nil), // 2: spacemesh.v2alpha1.IdentityStateInfo - (*Identity)(nil), // 3: spacemesh.v2alpha1.Identity - (*IdentityStatesResponse)(nil), // 4: spacemesh.v2alpha1.IdentityStatesResponse - (*PoetInfoRequest)(nil), // 5: spacemesh.v2alpha1.PoetInfoRequest - (*PoetInfo)(nil), // 6: spacemesh.v2alpha1.PoetInfo - (*PoetInfoResponse)(nil), // 7: spacemesh.v2alpha1.PoetInfoResponse - (*Eligibilities)(nil), // 8: spacemesh.v2alpha1.Eligibilities - (*ProposalEligibility)(nil), // 9: spacemesh.v2alpha1.ProposalEligibility - (*EpochEligibilities)(nil), // 10: spacemesh.v2alpha1.EpochEligibilities - (*EligibilitiesRequest)(nil), // 11: spacemesh.v2alpha1.EligibilitiesRequest - (*EligibilitiesResponse)(nil), // 12: spacemesh.v2alpha1.EligibilitiesResponse - (*ProposalsRequest)(nil), // 13: spacemesh.v2alpha1.ProposalsRequest - (*Proposal)(nil), // 14: spacemesh.v2alpha1.Proposal - (*Proposals)(nil), // 15: spacemesh.v2alpha1.Proposals - (*ProposalsResponse)(nil), // 16: spacemesh.v2alpha1.ProposalsResponse - nil, // 17: spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry - nil, // 18: spacemesh.v2alpha1.PoetInfoResponse.PoetsEntry - nil, // 19: spacemesh.v2alpha1.EpochEligibilities.EpochsEntry - nil, // 20: spacemesh.v2alpha1.EligibilitiesResponse.EligibilitiesEntry - nil, // 21: spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry - (*timestamppb.Timestamp)(nil), // 22: google.protobuf.Timestamp - (*durationpb.Duration)(nil), // 23: google.protobuf.Duration + (*ErrorInfo)(nil), // 2: spacemesh.v2alpha1.ErrorInfo + (*PoETRegistration)(nil), // 3: spacemesh.v2alpha1.PoETRegistration + (*SubmittedRegistrations)(nil), // 4: spacemesh.v2alpha1.SubmittedRegistrations + (*IdentityStateInfo)(nil), // 5: spacemesh.v2alpha1.IdentityStateInfo + (*Identity)(nil), // 6: spacemesh.v2alpha1.Identity + (*IdentityStatesResponse)(nil), // 7: spacemesh.v2alpha1.IdentityStatesResponse + (*PoetInfoRequest)(nil), // 8: spacemesh.v2alpha1.PoetInfoRequest + (*PoetConfig)(nil), // 9: spacemesh.v2alpha1.PoetConfig + (*PoetInfoResponse)(nil), // 10: spacemesh.v2alpha1.PoetInfoResponse + (*Eligibilities)(nil), // 11: spacemesh.v2alpha1.Eligibilities + (*ProposalEligibility)(nil), // 12: spacemesh.v2alpha1.ProposalEligibility + (*EpochEligibilities)(nil), // 13: spacemesh.v2alpha1.EpochEligibilities + (*EligibilitiesRequest)(nil), // 14: spacemesh.v2alpha1.EligibilitiesRequest + (*EligibilitiesResponse)(nil), // 15: spacemesh.v2alpha1.EligibilitiesResponse + (*ProposalsRequest)(nil), // 16: spacemesh.v2alpha1.ProposalsRequest + (*Proposal)(nil), // 17: spacemesh.v2alpha1.Proposal + (*Proposals)(nil), // 18: spacemesh.v2alpha1.Proposals + (*ProposalsResponse)(nil), // 19: spacemesh.v2alpha1.ProposalsResponse + nil, // 20: spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry + nil, // 21: spacemesh.v2alpha1.EpochEligibilities.EpochsEntry + nil, // 22: spacemesh.v2alpha1.EligibilitiesResponse.EligibilitiesEntry + nil, // 23: spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry + (*timestamppb.Timestamp)(nil), // 24: google.protobuf.Timestamp + (*durationpb.Duration)(nil), // 25: google.protobuf.Duration } var file_spacemesh_v2alpha1_smeshing_identities_proto_depIdxs = []int32{ - 0, // 0: spacemesh.v2alpha1.IdentityStateInfo.state:type_name -> spacemesh.v2alpha1.IdentityState - 22, // 1: spacemesh.v2alpha1.IdentityStateInfo.time:type_name -> google.protobuf.Timestamp - 2, // 2: spacemesh.v2alpha1.Identity.history:type_name -> spacemesh.v2alpha1.IdentityStateInfo - 17, // 3: spacemesh.v2alpha1.IdentityStatesResponse.identities:type_name -> spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry - 23, // 4: spacemesh.v2alpha1.PoetInfo.phase_shift:type_name -> google.protobuf.Duration - 23, // 5: spacemesh.v2alpha1.PoetInfo.cycle_gap:type_name -> google.protobuf.Duration - 18, // 6: spacemesh.v2alpha1.PoetInfoResponse.poets:type_name -> spacemesh.v2alpha1.PoetInfoResponse.PoetsEntry - 9, // 7: spacemesh.v2alpha1.Eligibilities.eligibilities:type_name -> spacemesh.v2alpha1.ProposalEligibility - 19, // 8: spacemesh.v2alpha1.EpochEligibilities.epochs:type_name -> spacemesh.v2alpha1.EpochEligibilities.EpochsEntry - 20, // 9: spacemesh.v2alpha1.EligibilitiesResponse.eligibilities:type_name -> spacemesh.v2alpha1.EligibilitiesResponse.EligibilitiesEntry - 14, // 10: spacemesh.v2alpha1.Proposals.proposals:type_name -> spacemesh.v2alpha1.Proposal - 21, // 11: spacemesh.v2alpha1.ProposalsResponse.proposals:type_name -> spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry - 3, // 12: spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry.value:type_name -> spacemesh.v2alpha1.Identity - 6, // 13: spacemesh.v2alpha1.PoetInfoResponse.PoetsEntry.value:type_name -> spacemesh.v2alpha1.PoetInfo - 8, // 14: spacemesh.v2alpha1.EpochEligibilities.EpochsEntry.value:type_name -> spacemesh.v2alpha1.Eligibilities - 10, // 15: spacemesh.v2alpha1.EligibilitiesResponse.EligibilitiesEntry.value:type_name -> spacemesh.v2alpha1.EpochEligibilities - 15, // 16: spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry.value:type_name -> spacemesh.v2alpha1.Proposals - 1, // 17: spacemesh.v2alpha1.SmeshingIdentitiesService.States:input_type -> spacemesh.v2alpha1.IdentityStatesRequest - 5, // 18: spacemesh.v2alpha1.SmeshingIdentitiesService.PoetInfo:input_type -> spacemesh.v2alpha1.PoetInfoRequest - 11, // 19: spacemesh.v2alpha1.SmeshingIdentitiesService.Eligibilities:input_type -> spacemesh.v2alpha1.EligibilitiesRequest - 13, // 20: spacemesh.v2alpha1.SmeshingIdentitiesService.Proposals:input_type -> spacemesh.v2alpha1.ProposalsRequest - 4, // 21: spacemesh.v2alpha1.SmeshingIdentitiesService.States:output_type -> spacemesh.v2alpha1.IdentityStatesResponse - 7, // 22: spacemesh.v2alpha1.SmeshingIdentitiesService.PoetInfo:output_type -> spacemesh.v2alpha1.PoetInfoResponse - 12, // 23: spacemesh.v2alpha1.SmeshingIdentitiesService.Eligibilities:output_type -> spacemesh.v2alpha1.EligibilitiesResponse - 16, // 24: spacemesh.v2alpha1.SmeshingIdentitiesService.Proposals:output_type -> spacemesh.v2alpha1.ProposalsResponse - 21, // [21:25] is the sub-list for method output_type - 17, // [17:21] is the sub-list for method input_type - 17, // [17:17] is the sub-list for extension type_name - 17, // [17:17] is the sub-list for extension extendee - 0, // [0:17] is the sub-list for field type_name + 24, // 0: spacemesh.v2alpha1.PoETRegistration.round_end:type_name -> google.protobuf.Timestamp + 3, // 1: spacemesh.v2alpha1.SubmittedRegistrations.registrations:type_name -> spacemesh.v2alpha1.PoETRegistration + 0, // 2: spacemesh.v2alpha1.IdentityStateInfo.state:type_name -> spacemesh.v2alpha1.IdentityState + 24, // 3: spacemesh.v2alpha1.IdentityStateInfo.time:type_name -> google.protobuf.Timestamp + 2, // 4: spacemesh.v2alpha1.IdentityStateInfo.error:type_name -> spacemesh.v2alpha1.ErrorInfo + 4, // 5: spacemesh.v2alpha1.IdentityStateInfo.submitted_registrations:type_name -> spacemesh.v2alpha1.SubmittedRegistrations + 5, // 6: spacemesh.v2alpha1.Identity.history:type_name -> spacemesh.v2alpha1.IdentityStateInfo + 20, // 7: spacemesh.v2alpha1.IdentityStatesResponse.identities:type_name -> spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry + 25, // 8: spacemesh.v2alpha1.PoetConfig.phase_shift:type_name -> google.protobuf.Duration + 25, // 9: spacemesh.v2alpha1.PoetConfig.cycle_gap:type_name -> google.protobuf.Duration + 9, // 10: spacemesh.v2alpha1.PoetInfoResponse.config:type_name -> spacemesh.v2alpha1.PoetConfig + 12, // 11: spacemesh.v2alpha1.Eligibilities.eligibilities:type_name -> spacemesh.v2alpha1.ProposalEligibility + 21, // 12: spacemesh.v2alpha1.EpochEligibilities.epochs:type_name -> spacemesh.v2alpha1.EpochEligibilities.EpochsEntry + 22, // 13: spacemesh.v2alpha1.EligibilitiesResponse.eligibilities:type_name -> spacemesh.v2alpha1.EligibilitiesResponse.EligibilitiesEntry + 17, // 14: spacemesh.v2alpha1.Proposals.proposals:type_name -> spacemesh.v2alpha1.Proposal + 23, // 15: spacemesh.v2alpha1.ProposalsResponse.proposals:type_name -> spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry + 6, // 16: spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry.value:type_name -> spacemesh.v2alpha1.Identity + 11, // 17: spacemesh.v2alpha1.EpochEligibilities.EpochsEntry.value:type_name -> spacemesh.v2alpha1.Eligibilities + 13, // 18: spacemesh.v2alpha1.EligibilitiesResponse.EligibilitiesEntry.value:type_name -> spacemesh.v2alpha1.EpochEligibilities + 18, // 19: spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry.value:type_name -> spacemesh.v2alpha1.Proposals + 1, // 20: spacemesh.v2alpha1.SmeshingIdentitiesService.States:input_type -> spacemesh.v2alpha1.IdentityStatesRequest + 8, // 21: spacemesh.v2alpha1.SmeshingIdentitiesService.PoetInfo:input_type -> spacemesh.v2alpha1.PoetInfoRequest + 14, // 22: spacemesh.v2alpha1.SmeshingIdentitiesService.Eligibilities:input_type -> spacemesh.v2alpha1.EligibilitiesRequest + 16, // 23: spacemesh.v2alpha1.SmeshingIdentitiesService.Proposals:input_type -> spacemesh.v2alpha1.ProposalsRequest + 7, // 24: spacemesh.v2alpha1.SmeshingIdentitiesService.States:output_type -> spacemesh.v2alpha1.IdentityStatesResponse + 10, // 25: spacemesh.v2alpha1.SmeshingIdentitiesService.PoetInfo:output_type -> spacemesh.v2alpha1.PoetInfoResponse + 15, // 26: spacemesh.v2alpha1.SmeshingIdentitiesService.Eligibilities:output_type -> spacemesh.v2alpha1.EligibilitiesResponse + 19, // 27: spacemesh.v2alpha1.SmeshingIdentitiesService.Proposals:output_type -> spacemesh.v2alpha1.ProposalsResponse + 24, // [24:28] is the sub-list for method output_type + 20, // [20:24] is the sub-list for method input_type + 20, // [20:20] is the sub-list for extension type_name + 20, // [20:20] is the sub-list for extension extendee + 0, // [0:20] is the sub-list for field type_name } func init() { file_spacemesh_v2alpha1_smeshing_identities_proto_init() } @@ -1154,7 +1405,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IdentityStateInfo); i { + switch v := v.(*ErrorInfo); i { case 0: return &v.state case 1: @@ -1166,7 +1417,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Identity); i { + switch v := v.(*PoETRegistration); i { case 0: return &v.state case 1: @@ -1178,7 +1429,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IdentityStatesResponse); i { + switch v := v.(*SubmittedRegistrations); i { case 0: return &v.state case 1: @@ -1190,7 +1441,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PoetInfoRequest); i { + switch v := v.(*IdentityStateInfo); i { case 0: return &v.state case 1: @@ -1202,7 +1453,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PoetInfo); i { + switch v := v.(*Identity); i { case 0: return &v.state case 1: @@ -1214,7 +1465,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PoetInfoResponse); i { + switch v := v.(*IdentityStatesResponse); i { case 0: return &v.state case 1: @@ -1226,7 +1477,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Eligibilities); i { + switch v := v.(*PoetInfoRequest); i { case 0: return &v.state case 1: @@ -1238,7 +1489,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProposalEligibility); i { + switch v := v.(*PoetConfig); i { case 0: return &v.state case 1: @@ -1250,7 +1501,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EpochEligibilities); i { + switch v := v.(*PoetInfoResponse); i { case 0: return &v.state case 1: @@ -1262,7 +1513,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EligibilitiesRequest); i { + switch v := v.(*Eligibilities); i { case 0: return &v.state case 1: @@ -1274,7 +1525,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EligibilitiesResponse); i { + switch v := v.(*ProposalEligibility); i { case 0: return &v.state case 1: @@ -1286,7 +1537,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProposalsRequest); i { + switch v := v.(*EpochEligibilities); i { case 0: return &v.state case 1: @@ -1298,7 +1549,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proposal); i { + switch v := v.(*EligibilitiesRequest); i { case 0: return &v.state case 1: @@ -1310,7 +1561,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proposals); i { + switch v := v.(*EligibilitiesResponse); i { case 0: return &v.state case 1: @@ -1322,6 +1573,42 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProposalsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Proposal); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Proposals); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ProposalsResponse); i { case 0: return &v.state @@ -1334,14 +1621,18 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } } - file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[1].OneofWrappers = []interface{}{} + file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[4].OneofWrappers = []interface{}{ + (*IdentityStateInfo_Error)(nil), + (*IdentityStateInfo_PoetUrl)(nil), + (*IdentityStateInfo_SubmittedRegistrations)(nil), + } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc, NumEnums: 1, - NumMessages: 21, + NumMessages: 23, NumExtensions: 0, NumServices: 1, }, diff --git a/release/openapi/swagger/src/api.swagger.json b/release/openapi/swagger/src/api.swagger.json index e6445304..951e9da2 100644 --- a/release/openapi/swagger/src/api.swagger.json +++ b/release/openapi/swagger/src/api.swagger.json @@ -907,17 +907,6 @@ } } }, - "spacemeshv2alpha1PoetInfo": { - "type": "object", - "properties": { - "cycleGap": { - "type": "string" - }, - "phaseShift": { - "type": "string" - } - } - }, "spacemeshv2alpha1Proposal": { "type": "object", "properties": { @@ -1319,6 +1308,14 @@ } } }, + "v2alpha1ErrorInfo": { + "type": "object", + "properties": { + "message": { + "type": "string" + } + } + }, "v2alpha1EstimateGasRequest": { "type": "object", "properties": { @@ -1376,7 +1373,10 @@ "v2alpha1IdentityStateInfo": { "type": "object", "properties": { - "message": { + "error": { + "$ref": "#/definitions/v2alpha1ErrorInfo" + }, + "poetUrl": { "type": "string" }, "publishEpoch": { @@ -1386,6 +1386,9 @@ "state": { "$ref": "#/definitions/v2alpha1IdentityState" }, + "submittedRegistrations": { + "$ref": "#/definitions/v2alpha1SubmittedRegistrations" + }, "time": { "type": "string", "format": "date-time" @@ -1501,6 +1504,36 @@ } } }, + "v2alpha1PoETRegistration": { + "type": "object", + "properties": { + "address": { + "type": "string" + }, + "challengeHash": { + "type": "string", + "format": "byte" + }, + "roundEnd": { + "type": "string", + "format": "date-time" + }, + "roundId": { + "type": "string" + } + } + }, + "v2alpha1PoetConfig": { + "type": "object", + "properties": { + "cycleGap": { + "type": "string" + }, + "phaseShift": { + "type": "string" + } + } + }, "v2alpha1PoetInfoRequest": { "type": "object", "title": "PoetInfo rpc" @@ -1508,10 +1541,13 @@ "v2alpha1PoetInfoResponse": { "type": "object", "properties": { + "config": { + "$ref": "#/definitions/v2alpha1PoetConfig" + }, "poets": { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/spacemeshv2alpha1PoetInfo" + "type": "array", + "items": { + "type": "string" } } } @@ -1589,6 +1625,18 @@ "DESC" ] }, + "v2alpha1SubmittedRegistrations": { + "type": "object", + "properties": { + "registrations": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/v2alpha1PoETRegistration" + } + } + } + }, "v2alpha1TransactionContents": { "type": "object", "properties": { diff --git a/spacemesh/v2alpha1/smeshing_identities.proto b/spacemesh/v2alpha1/smeshing_identities.proto index 1b7514ac..9cd56ecd 100644 --- a/spacemesh/v2alpha1/smeshing_identities.proto +++ b/spacemesh/v2alpha1/smeshing_identities.proto @@ -30,11 +30,30 @@ enum IdentityState { PROPOSAL_PUBLISHED = 12; } +message ErrorInfo { + string message = 1; +} + +message PoETRegistration { + bytes challenge_hash = 1; + string address = 2; + string round_id = 3; + google.protobuf.Timestamp round_end = 4; +} + +message SubmittedRegistrations { + repeated PoETRegistration registrations = 1; +} + message IdentityStateInfo { IdentityState state = 1; optional uint32 publish_epoch = 2; - string message = 3; - google.protobuf.Timestamp time = 4; + google.protobuf.Timestamp time = 3; + oneof metadata { + ErrorInfo error = 4; + string poet_url = 5; + SubmittedRegistrations submitted_registrations = 6; + } } message Identity { @@ -48,13 +67,14 @@ message IdentityStatesResponse { // PoetInfo rpc message PoetInfoRequest {} -message PoetInfo { +message PoetConfig { google.protobuf.Duration phase_shift = 1; google.protobuf.Duration cycle_gap = 2; } message PoetInfoResponse { - map poets = 1; + repeated string poets = 1; + PoetConfig config = 2; } // Proposals and eligibilities From a96188d4f01db11b3c4acbd219f6c4a5613b537b Mon Sep 17 00:00:00 2001 From: Kacper Sawicki Date: Fri, 29 Nov 2024 13:29:29 +0100 Subject: [PATCH 33/41] Add message to metadata --- .../v2alpha1/smeshing_identities.pb.go | 329 +++++++++--------- release/openapi/swagger/src/api.swagger.json | 3 + spacemesh/v2alpha1/smeshing_identities.proto | 1 + 3 files changed, 177 insertions(+), 156 deletions(-) diff --git a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go index 3f905d3f..38b95f0e 100644 --- a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go +++ b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go @@ -319,6 +319,7 @@ type IdentityStateInfo struct { // *IdentityStateInfo_Error // *IdentityStateInfo_PoetUrl // *IdentityStateInfo_SubmittedRegistrations + // *IdentityStateInfo_Message Metadata isIdentityStateInfo_Metadata `protobuf_oneof:"metadata"` } @@ -403,6 +404,13 @@ func (x *IdentityStateInfo) GetSubmittedRegistrations() *SubmittedRegistrations return nil } +func (x *IdentityStateInfo) GetMessage() string { + if x, ok := x.GetMetadata().(*IdentityStateInfo_Message); ok { + return x.Message + } + return "" +} + type isIdentityStateInfo_Metadata interface { isIdentityStateInfo_Metadata() } @@ -419,12 +427,18 @@ type IdentityStateInfo_SubmittedRegistrations struct { SubmittedRegistrations *SubmittedRegistrations `protobuf:"bytes,6,opt,name=submitted_registrations,json=submittedRegistrations,proto3,oneof"` } +type IdentityStateInfo_Message struct { + Message string `protobuf:"bytes,7,opt,name=message,proto3,oneof"` +} + func (*IdentityStateInfo_Error) isIdentityStateInfo_Metadata() {} func (*IdentityStateInfo_PoetUrl) isIdentityStateInfo_Metadata() {} func (*IdentityStateInfo_SubmittedRegistrations) isIdentityStateInfo_Metadata() {} +func (*IdentityStateInfo_Message) isIdentityStateInfo_Metadata() {} + type Identity struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1125,8 +1139,8 @@ var file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc = []byte{ 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x45, 0x54, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x0d, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xff, - 0x02, 0x0a, 0x11, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x0d, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x9b, + 0x03, 0x0a, 0x11, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x37, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, @@ -1148,164 +1162,166 @@ var file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc = []byte{ 0x31, 0x2e, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x16, 0x73, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x42, 0x0a, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0x10, - 0x0a, 0x0e, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, - 0x22, 0x4b, 0x0a, 0x08, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x3f, 0x0a, 0x07, - 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, + 0x6e, 0x73, 0x12, 0x1a, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x42, 0x0a, + 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x70, + 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x22, 0x4b, 0x0a, 0x08, + 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x3f, 0x0a, 0x07, 0x68, 0x69, 0x73, 0x74, + 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x22, 0xd1, 0x01, 0x0a, 0x16, 0x49, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5a, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, + 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, + 0x1a, 0x5b, 0x0a, 0x0f, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x32, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, + 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x11, 0x0a, + 0x0f, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x22, 0x80, 0x01, 0x0a, 0x0a, 0x50, 0x6f, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, + 0x3a, 0x0a, 0x0b, 0x70, 0x68, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68, 0x69, 0x66, 0x74, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x0a, 0x70, 0x68, 0x61, 0x73, 0x65, 0x53, 0x68, 0x69, 0x66, 0x74, 0x12, 0x36, 0x0a, 0x09, 0x63, + 0x79, 0x63, 0x6c, 0x65, 0x5f, 0x67, 0x61, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x63, 0x79, 0x63, 0x6c, 0x65, + 0x47, 0x61, 0x70, 0x22, 0x60, 0x0a, 0x10, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x6f, 0x65, 0x74, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x70, 0x6f, 0x65, 0x74, 0x73, 0x12, 0x36, 0x0a, + 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x06, 0x63, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x5e, 0x0a, 0x0d, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, + 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x4d, 0x0a, 0x0d, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, + 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x45, 0x6c, 0x69, 0x67, 0x69, + 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0d, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, + 0x69, 0x74, 0x69, 0x65, 0x73, 0x22, 0x41, 0x0a, 0x13, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, + 0x6c, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x14, 0x0a, 0x05, + 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x61, 0x79, + 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xbe, 0x01, 0x0a, 0x12, 0x45, 0x70, 0x6f, + 0x63, 0x68, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, + 0x4a, 0x0a, 0x06, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x32, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, + 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x52, 0x06, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x1a, 0x5c, 0x0a, 0x0b, 0x45, + 0x70, 0x6f, 0x63, 0x68, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x37, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x16, 0x0a, 0x14, 0x45, 0x6c, 0x69, + 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x22, 0xe5, 0x01, 0x0a, 0x15, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x0d, 0x65, + 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, + 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, + 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x45, 0x6c, + 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x0d, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x1a, + 0x68, 0x0a, 0x12, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, + 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x70, 0x6f, 0x63, + 0x68, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x12, 0x0a, 0x10, 0x50, 0x72, 0x6f, + 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x3c, 0x0a, + 0x08, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x79, + 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, + 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x22, 0x47, 0x0a, 0x09, 0x50, + 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x12, 0x3a, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x70, + 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, + 0x73, 0x61, 0x6c, 0x73, 0x22, 0xc4, 0x01, 0x0a, 0x11, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, + 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a, 0x09, 0x70, 0x72, + 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, - 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x22, 0xd1, 0x01, - 0x0a, 0x16, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5a, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, - 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x73, + 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x1a, 0x5b, + 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, + 0x65, 0x79, 0x12, 0x33, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x2a, 0xc3, 0x02, 0x0a, 0x0d, + 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0f, 0x0a, + 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x17, + 0x0a, 0x13, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x41, 0x54, 0x58, 0x5f, 0x53, + 0x59, 0x4e, 0x43, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x45, 0x54, 0x52, 0x59, + 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x28, 0x0a, 0x24, 0x57, 0x41, 0x49, 0x54, 0x49, 0x4e, 0x47, + 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, + 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x57, 0x49, 0x4e, 0x44, 0x4f, 0x57, 0x10, 0x03, 0x12, + 0x18, 0x0a, 0x14, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, 0x47, + 0x45, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x4f, 0x45, + 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x45, 0x52, 0x45, 0x44, 0x10, 0x05, 0x12, 0x1b, + 0x0a, 0x17, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, + 0x52, 0x4f, 0x55, 0x4e, 0x44, 0x5f, 0x45, 0x4e, 0x44, 0x10, 0x06, 0x12, 0x17, 0x0a, 0x13, 0x50, + 0x4f, 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x43, 0x45, 0x49, 0x56, + 0x45, 0x44, 0x10, 0x07, 0x12, 0x19, 0x0a, 0x15, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, 0x54, 0x49, + 0x4e, 0x47, 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x10, 0x08, 0x12, + 0x14, 0x0a, 0x10, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, + 0x41, 0x44, 0x59, 0x10, 0x09, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x54, 0x58, 0x5f, 0x52, 0x45, 0x41, + 0x44, 0x59, 0x10, 0x0a, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x54, 0x58, 0x5f, 0x42, 0x52, 0x4f, 0x41, + 0x44, 0x43, 0x41, 0x53, 0x54, 0x45, 0x44, 0x10, 0x0b, 0x12, 0x16, 0x0a, 0x12, 0x50, 0x52, 0x4f, + 0x50, 0x4f, 0x53, 0x41, 0x4c, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, 0x45, 0x44, 0x10, + 0x0c, 0x32, 0xa7, 0x03, 0x0a, 0x19, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, + 0x61, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, + 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x57, 0x0a, 0x08, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x23, + 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, + 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x66, 0x0a, 0x0d, 0x45, + 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x28, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, - 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, - 0x74, 0x69, 0x65, 0x73, 0x1a, 0x5b, 0x0a, 0x0f, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, - 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x32, 0x0a, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, - 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, - 0x01, 0x22, 0x11, 0x0a, 0x0f, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x22, 0x80, 0x01, 0x0a, 0x0a, 0x50, 0x6f, 0x65, 0x74, 0x43, 0x6f, 0x6e, - 0x66, 0x69, 0x67, 0x12, 0x3a, 0x0a, 0x0b, 0x70, 0x68, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68, 0x69, - 0x66, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x70, 0x68, 0x61, 0x73, 0x65, 0x53, 0x68, 0x69, 0x66, 0x74, 0x12, - 0x36, 0x0a, 0x09, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x5f, 0x67, 0x61, 0x70, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x63, - 0x79, 0x63, 0x6c, 0x65, 0x47, 0x61, 0x70, 0x22, 0x60, 0x0a, 0x10, 0x50, 0x6f, 0x65, 0x74, 0x49, - 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, - 0x6f, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x70, 0x6f, 0x65, 0x74, - 0x73, 0x12, 0x36, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1e, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, - 0x67, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x5e, 0x0a, 0x0d, 0x45, 0x6c, 0x69, - 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x4d, 0x0a, 0x0d, 0x65, 0x6c, - 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x45, - 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0d, 0x65, 0x6c, 0x69, 0x67, - 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x22, 0x41, 0x0a, 0x13, 0x50, 0x72, 0x6f, - 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, - 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xbe, 0x01, 0x0a, - 0x12, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, - 0x69, 0x65, 0x73, 0x12, 0x4a, 0x0a, 0x06, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, - 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x45, 0x6c, - 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, - 0x68, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x1a, - 0x5c, 0x0a, 0x0b, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, - 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, - 0x12, 0x37, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, - 0x65, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x16, 0x0a, - 0x14, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xe5, 0x01, 0x0a, 0x15, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, - 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x62, 0x0a, 0x0d, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, + 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, - 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, - 0x69, 0x65, 0x73, 0x1a, 0x68, 0x0a, 0x12, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, - 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3c, 0x0a, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x45, 0x70, 0x6f, 0x63, 0x68, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, - 0x65, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x12, 0x0a, - 0x10, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x22, 0x3c, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x12, 0x14, 0x0a, - 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x61, - 0x79, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x22, - 0x47, 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x12, 0x3a, 0x0a, 0x09, - 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x1c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x52, 0x09, 0x70, - 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x22, 0xc4, 0x01, 0x0a, 0x11, 0x50, 0x72, 0x6f, - 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, - 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x34, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, - 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, - 0x6c, 0x73, 0x1a, 0x5b, 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x45, - 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x33, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, - 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, - 0x73, 0x61, 0x6c, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x2a, - 0xc3, 0x02, 0x0a, 0x0d, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, - 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, - 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x41, - 0x54, 0x58, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x52, - 0x45, 0x54, 0x52, 0x59, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x28, 0x0a, 0x24, 0x57, 0x41, 0x49, - 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, - 0x47, 0x49, 0x53, 0x54, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x57, 0x49, 0x4e, 0x44, 0x4f, - 0x57, 0x10, 0x03, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4c, - 0x4c, 0x45, 0x4e, 0x47, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x04, 0x12, 0x13, 0x0a, - 0x0f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x45, 0x52, 0x45, 0x44, - 0x10, 0x05, 0x12, 0x1b, 0x0a, 0x17, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, - 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x55, 0x4e, 0x44, 0x5f, 0x45, 0x4e, 0x44, 0x10, 0x06, 0x12, - 0x17, 0x0a, 0x13, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, - 0x43, 0x45, 0x49, 0x56, 0x45, 0x44, 0x10, 0x07, 0x12, 0x19, 0x0a, 0x15, 0x47, 0x45, 0x4e, 0x45, - 0x52, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, - 0x46, 0x10, 0x08, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, - 0x46, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x09, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x54, 0x58, - 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x0a, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x54, 0x58, 0x5f, - 0x42, 0x52, 0x4f, 0x41, 0x44, 0x43, 0x41, 0x53, 0x54, 0x45, 0x44, 0x10, 0x0b, 0x12, 0x16, 0x0a, - 0x12, 0x50, 0x52, 0x4f, 0x50, 0x4f, 0x53, 0x41, 0x4c, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, - 0x48, 0x45, 0x44, 0x10, 0x0c, 0x32, 0xa7, 0x03, 0x0a, 0x19, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, - 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x12, 0x61, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, 0x29, 0x2e, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, - 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x57, 0x0a, 0x08, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, - 0x66, 0x6f, 0x12, 0x23, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, - 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, - 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, - 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, - 0x66, 0x0a, 0x0d, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, - 0x12, 0x28, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, - 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x70, 0x6f, - 0x73, 0x61, 0x6c, 0x73, 0x12, 0x24, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, - 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, - 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x00, 0x1a, 0x0a, 0xfa, 0xd2, 0xe4, 0x93, 0x02, 0x04, 0x12, 0x02, 0x56, 0x32, 0x42, - 0xe6, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, - 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x17, 0x53, 0x6d, 0x65, 0x73, - 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x50, 0x72, - 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, - 0x6d, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, 0x70, - 0x69, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, - 0x65, 0x73, 0x68, 0x2e, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x12, 0x53, - 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0xe2, 0x02, 0x1e, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0xea, 0x02, 0x13, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x3a, 0x3a, - 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x65, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, + 0x12, 0x24, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, + 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, + 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x1a, + 0x0a, 0xfa, 0xd2, 0xe4, 0x93, 0x02, 0x04, 0x12, 0x02, 0x56, 0x32, 0x42, 0xe6, 0x01, 0x0a, 0x16, + 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x17, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, + 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, + 0x01, 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, + 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, + 0x73, 0x68, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x6d, 0x65, 0x73, 0x68, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, + 0x53, 0x58, 0x58, 0xaa, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, + 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, + 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x1e, + 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, + 0x13, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x3a, 0x3a, 0x56, 0x32, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -1625,6 +1641,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { (*IdentityStateInfo_Error)(nil), (*IdentityStateInfo_PoetUrl)(nil), (*IdentityStateInfo_SubmittedRegistrations)(nil), + (*IdentityStateInfo_Message)(nil), } type x struct{} out := protoimpl.TypeBuilder{ diff --git a/release/openapi/swagger/src/api.swagger.json b/release/openapi/swagger/src/api.swagger.json index 951e9da2..bee7328f 100644 --- a/release/openapi/swagger/src/api.swagger.json +++ b/release/openapi/swagger/src/api.swagger.json @@ -1376,6 +1376,9 @@ "error": { "$ref": "#/definitions/v2alpha1ErrorInfo" }, + "message": { + "type": "string" + }, "poetUrl": { "type": "string" }, diff --git a/spacemesh/v2alpha1/smeshing_identities.proto b/spacemesh/v2alpha1/smeshing_identities.proto index 9cd56ecd..dbe5d332 100644 --- a/spacemesh/v2alpha1/smeshing_identities.proto +++ b/spacemesh/v2alpha1/smeshing_identities.proto @@ -53,6 +53,7 @@ message IdentityStateInfo { ErrorInfo error = 4; string poet_url = 5; SubmittedRegistrations submitted_registrations = 6; + string message = 7; } } From 72534d130d98b88a63d27684971eb918a8ad4267 Mon Sep 17 00:00:00 2001 From: Kacper Sawicki Date: Fri, 29 Nov 2024 14:06:45 +0100 Subject: [PATCH 34/41] Add metadata message for every state --- .../v2alpha1/smeshing_identities.pb.go | 1550 ++++++++++++----- release/openapi/swagger/src/api.swagger.json | 133 +- spacemesh/v2alpha1/smeshing_identities.proto | 40 +- 3 files changed, 1290 insertions(+), 433 deletions(-) diff --git a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go index 38b95f0e..7e2817a7 100644 --- a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go +++ b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go @@ -12,6 +12,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" + _ "google.golang.org/protobuf/types/known/emptypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" sync "sync" @@ -141,7 +142,7 @@ func (*IdentityStatesRequest) Descriptor() ([]byte, []int) { return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{0} } -type ErrorInfo struct { +type RetryingState struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -149,8 +150,8 @@ type ErrorInfo struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` } -func (x *ErrorInfo) Reset() { - *x = ErrorInfo{} +func (x *RetryingState) Reset() { + *x = RetryingState{} if protoimpl.UnsafeEnabled { mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -158,13 +159,13 @@ func (x *ErrorInfo) Reset() { } } -func (x *ErrorInfo) String() string { +func (x *RetryingState) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ErrorInfo) ProtoMessage() {} +func (*RetryingState) ProtoMessage() {} -func (x *ErrorInfo) ProtoReflect() protoreflect.Message { +func (x *RetryingState) ProtoReflect() protoreflect.Message { mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -176,18 +177,132 @@ func (x *ErrorInfo) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ErrorInfo.ProtoReflect.Descriptor instead. -func (*ErrorInfo) Descriptor() ([]byte, []int) { +// Deprecated: Use RetryingState.ProtoReflect.Descriptor instead. +func (*RetryingState) Descriptor() ([]byte, []int) { return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{1} } -func (x *ErrorInfo) GetMessage() string { +func (x *RetryingState) GetMessage() string { if x != nil { return x.Message } return "" } +type WaitForAtxSyncedState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *WaitForAtxSyncedState) Reset() { + *x = WaitForAtxSyncedState{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WaitForAtxSyncedState) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WaitForAtxSyncedState) ProtoMessage() {} + +func (x *WaitForAtxSyncedState) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WaitForAtxSyncedState.ProtoReflect.Descriptor instead. +func (*WaitForAtxSyncedState) Descriptor() ([]byte, []int) { + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{2} +} + +type WaitingForPoetRegistrationWindowState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *WaitingForPoetRegistrationWindowState) Reset() { + *x = WaitingForPoetRegistrationWindowState{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WaitingForPoetRegistrationWindowState) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WaitingForPoetRegistrationWindowState) ProtoMessage() {} + +func (x *WaitingForPoetRegistrationWindowState) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WaitingForPoetRegistrationWindowState.ProtoReflect.Descriptor instead. +func (*WaitingForPoetRegistrationWindowState) Descriptor() ([]byte, []int) { + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{3} +} + +type PoetChallengeReadyState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *PoetChallengeReadyState) Reset() { + *x = PoetChallengeReadyState{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PoetChallengeReadyState) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PoetChallengeReadyState) ProtoMessage() {} + +func (x *PoetChallengeReadyState) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PoetChallengeReadyState.ProtoReflect.Descriptor instead. +func (*PoetChallengeReadyState) Descriptor() ([]byte, []int) { + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{4} +} + type PoETRegistration struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -202,7 +317,7 @@ type PoETRegistration struct { func (x *PoETRegistration) Reset() { *x = PoETRegistration{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[2] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -215,7 +330,7 @@ func (x *PoETRegistration) String() string { func (*PoETRegistration) ProtoMessage() {} func (x *PoETRegistration) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[2] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -228,7 +343,7 @@ func (x *PoETRegistration) ProtoReflect() protoreflect.Message { // Deprecated: Use PoETRegistration.ProtoReflect.Descriptor instead. func (*PoETRegistration) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{2} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{5} } func (x *PoETRegistration) GetChallengeHash() []byte { @@ -259,7 +374,7 @@ func (x *PoETRegistration) GetRoundEnd() *timestamppb.Timestamp { return nil } -type SubmittedRegistrations struct { +type PoetRegisteredState struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -267,23 +382,23 @@ type SubmittedRegistrations struct { Registrations []*PoETRegistration `protobuf:"bytes,1,rep,name=registrations,proto3" json:"registrations,omitempty"` } -func (x *SubmittedRegistrations) Reset() { - *x = SubmittedRegistrations{} +func (x *PoetRegisteredState) Reset() { + *x = PoetRegisteredState{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[3] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *SubmittedRegistrations) String() string { +func (x *PoetRegisteredState) String() string { return protoimpl.X.MessageStringOf(x) } -func (*SubmittedRegistrations) ProtoMessage() {} +func (*PoetRegisteredState) ProtoMessage() {} -func (x *SubmittedRegistrations) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[3] +func (x *PoetRegisteredState) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -294,18 +409,319 @@ func (x *SubmittedRegistrations) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use SubmittedRegistrations.ProtoReflect.Descriptor instead. -func (*SubmittedRegistrations) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{3} +// Deprecated: Use PoetRegisteredState.ProtoReflect.Descriptor instead. +func (*PoetRegisteredState) Descriptor() ([]byte, []int) { + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{6} } -func (x *SubmittedRegistrations) GetRegistrations() []*PoETRegistration { +func (x *PoetRegisteredState) GetRegistrations() []*PoETRegistration { if x != nil { return x.Registrations } return nil } +type WaitForPoetRoundEndState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *WaitForPoetRoundEndState) Reset() { + *x = WaitForPoetRoundEndState{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WaitForPoetRoundEndState) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WaitForPoetRoundEndState) ProtoMessage() {} + +func (x *WaitForPoetRoundEndState) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WaitForPoetRoundEndState.ProtoReflect.Descriptor instead. +func (*WaitForPoetRoundEndState) Descriptor() ([]byte, []int) { + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{7} +} + +type PoetProofReceivedState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PoetUrl string `protobuf:"bytes,1,opt,name=poet_url,json=poetUrl,proto3" json:"poet_url,omitempty"` +} + +func (x *PoetProofReceivedState) Reset() { + *x = PoetProofReceivedState{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PoetProofReceivedState) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PoetProofReceivedState) ProtoMessage() {} + +func (x *PoetProofReceivedState) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PoetProofReceivedState.ProtoReflect.Descriptor instead. +func (*PoetProofReceivedState) Descriptor() ([]byte, []int) { + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{8} +} + +func (x *PoetProofReceivedState) GetPoetUrl() string { + if x != nil { + return x.PoetUrl + } + return "" +} + +type GeneratingPostProofState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GeneratingPostProofState) Reset() { + *x = GeneratingPostProofState{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GeneratingPostProofState) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GeneratingPostProofState) ProtoMessage() {} + +func (x *GeneratingPostProofState) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GeneratingPostProofState.ProtoReflect.Descriptor instead. +func (*GeneratingPostProofState) Descriptor() ([]byte, []int) { + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{9} +} + +type PostProofReadyState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *PostProofReadyState) Reset() { + *x = PostProofReadyState{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PostProofReadyState) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PostProofReadyState) ProtoMessage() {} + +func (x *PostProofReadyState) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PostProofReadyState.ProtoReflect.Descriptor instead. +func (*PostProofReadyState) Descriptor() ([]byte, []int) { + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{10} +} + +type AtxReadyState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *AtxReadyState) Reset() { + *x = AtxReadyState{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AtxReadyState) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AtxReadyState) ProtoMessage() {} + +func (x *AtxReadyState) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AtxReadyState.ProtoReflect.Descriptor instead. +func (*AtxReadyState) Descriptor() ([]byte, []int) { + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{11} +} + +type AtxBroadcastedState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AtxId []byte `protobuf:"bytes,1,opt,name=atx_id,json=atxId,proto3" json:"atx_id,omitempty"` +} + +func (x *AtxBroadcastedState) Reset() { + *x = AtxBroadcastedState{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AtxBroadcastedState) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AtxBroadcastedState) ProtoMessage() {} + +func (x *AtxBroadcastedState) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AtxBroadcastedState.ProtoReflect.Descriptor instead. +func (*AtxBroadcastedState) Descriptor() ([]byte, []int) { + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{12} +} + +func (x *AtxBroadcastedState) GetAtxId() []byte { + if x != nil { + return x.AtxId + } + return nil +} + +type ProposalPublishedState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Proposal []byte `protobuf:"bytes,1,opt,name=proposal,proto3" json:"proposal,omitempty"` + Layer uint32 `protobuf:"varint,2,opt,name=layer,proto3" json:"layer,omitempty"` +} + +func (x *ProposalPublishedState) Reset() { + *x = ProposalPublishedState{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProposalPublishedState) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProposalPublishedState) ProtoMessage() {} + +func (x *ProposalPublishedState) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ProposalPublishedState.ProtoReflect.Descriptor instead. +func (*ProposalPublishedState) Descriptor() ([]byte, []int) { + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{13} +} + +func (x *ProposalPublishedState) GetProposal() []byte { + if x != nil { + return x.Proposal + } + return nil +} + +func (x *ProposalPublishedState) GetLayer() uint32 { + if x != nil { + return x.Layer + } + return 0 +} + type IdentityStateInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -316,17 +732,25 @@ type IdentityStateInfo struct { Time *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"` // Types that are assignable to Metadata: // - // *IdentityStateInfo_Error - // *IdentityStateInfo_PoetUrl - // *IdentityStateInfo_SubmittedRegistrations - // *IdentityStateInfo_Message + // *IdentityStateInfo_Retrying + // *IdentityStateInfo_WaitForAtxSynced + // *IdentityStateInfo_WaitingForPoetRegistrationWindow + // *IdentityStateInfo_PoetChallengeReady + // *IdentityStateInfo_PoetRegistered + // *IdentityStateInfo_WaitForPoetRoundEnd + // *IdentityStateInfo_PoetProofReceived + // *IdentityStateInfo_GeneratingPostProof + // *IdentityStateInfo_PostProofReady + // *IdentityStateInfo_AtxReady + // *IdentityStateInfo_AtxBroadcasted + // *IdentityStateInfo_ProposalPublished Metadata isIdentityStateInfo_Metadata `protobuf_oneof:"metadata"` } func (x *IdentityStateInfo) Reset() { *x = IdentityStateInfo{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[4] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -339,7 +763,7 @@ func (x *IdentityStateInfo) String() string { func (*IdentityStateInfo) ProtoMessage() {} func (x *IdentityStateInfo) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[4] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -347,97 +771,201 @@ func (x *IdentityStateInfo) ProtoReflect() protoreflect.Message { } return ms } - return mi.MessageOf(x) + return mi.MessageOf(x) +} + +// Deprecated: Use IdentityStateInfo.ProtoReflect.Descriptor instead. +func (*IdentityStateInfo) Descriptor() ([]byte, []int) { + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{14} +} + +func (x *IdentityStateInfo) GetState() IdentityState { + if x != nil { + return x.State + } + return IdentityState_UNSPECIFIED +} + +func (x *IdentityStateInfo) GetPublishEpoch() uint32 { + if x != nil && x.PublishEpoch != nil { + return *x.PublishEpoch + } + return 0 +} + +func (x *IdentityStateInfo) GetTime() *timestamppb.Timestamp { + if x != nil { + return x.Time + } + return nil +} + +func (m *IdentityStateInfo) GetMetadata() isIdentityStateInfo_Metadata { + if m != nil { + return m.Metadata + } + return nil +} + +func (x *IdentityStateInfo) GetRetrying() *RetryingState { + if x, ok := x.GetMetadata().(*IdentityStateInfo_Retrying); ok { + return x.Retrying + } + return nil +} + +func (x *IdentityStateInfo) GetWaitForAtxSynced() *WaitForAtxSyncedState { + if x, ok := x.GetMetadata().(*IdentityStateInfo_WaitForAtxSynced); ok { + return x.WaitForAtxSynced + } + return nil } -// Deprecated: Use IdentityStateInfo.ProtoReflect.Descriptor instead. -func (*IdentityStateInfo) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{4} +func (x *IdentityStateInfo) GetWaitingForPoetRegistrationWindow() *WaitingForPoetRegistrationWindowState { + if x, ok := x.GetMetadata().(*IdentityStateInfo_WaitingForPoetRegistrationWindow); ok { + return x.WaitingForPoetRegistrationWindow + } + return nil } -func (x *IdentityStateInfo) GetState() IdentityState { - if x != nil { - return x.State +func (x *IdentityStateInfo) GetPoetChallengeReady() *PoetChallengeReadyState { + if x, ok := x.GetMetadata().(*IdentityStateInfo_PoetChallengeReady); ok { + return x.PoetChallengeReady } - return IdentityState_UNSPECIFIED + return nil } -func (x *IdentityStateInfo) GetPublishEpoch() uint32 { - if x != nil && x.PublishEpoch != nil { - return *x.PublishEpoch +func (x *IdentityStateInfo) GetPoetRegistered() *PoetRegisteredState { + if x, ok := x.GetMetadata().(*IdentityStateInfo_PoetRegistered); ok { + return x.PoetRegistered } - return 0 + return nil } -func (x *IdentityStateInfo) GetTime() *timestamppb.Timestamp { - if x != nil { - return x.Time +func (x *IdentityStateInfo) GetWaitForPoetRoundEnd() *WaitForPoetRoundEndState { + if x, ok := x.GetMetadata().(*IdentityStateInfo_WaitForPoetRoundEnd); ok { + return x.WaitForPoetRoundEnd } return nil } -func (m *IdentityStateInfo) GetMetadata() isIdentityStateInfo_Metadata { - if m != nil { - return m.Metadata +func (x *IdentityStateInfo) GetPoetProofReceived() *PoetProofReceivedState { + if x, ok := x.GetMetadata().(*IdentityStateInfo_PoetProofReceived); ok { + return x.PoetProofReceived } return nil } -func (x *IdentityStateInfo) GetError() *ErrorInfo { - if x, ok := x.GetMetadata().(*IdentityStateInfo_Error); ok { - return x.Error +func (x *IdentityStateInfo) GetGeneratingPostProof() *GeneratingPostProofState { + if x, ok := x.GetMetadata().(*IdentityStateInfo_GeneratingPostProof); ok { + return x.GeneratingPostProof } return nil } -func (x *IdentityStateInfo) GetPoetUrl() string { - if x, ok := x.GetMetadata().(*IdentityStateInfo_PoetUrl); ok { - return x.PoetUrl +func (x *IdentityStateInfo) GetPostProofReady() *PostProofReadyState { + if x, ok := x.GetMetadata().(*IdentityStateInfo_PostProofReady); ok { + return x.PostProofReady } - return "" + return nil } -func (x *IdentityStateInfo) GetSubmittedRegistrations() *SubmittedRegistrations { - if x, ok := x.GetMetadata().(*IdentityStateInfo_SubmittedRegistrations); ok { - return x.SubmittedRegistrations +func (x *IdentityStateInfo) GetAtxReady() *AtxReadyState { + if x, ok := x.GetMetadata().(*IdentityStateInfo_AtxReady); ok { + return x.AtxReady } return nil } -func (x *IdentityStateInfo) GetMessage() string { - if x, ok := x.GetMetadata().(*IdentityStateInfo_Message); ok { - return x.Message +func (x *IdentityStateInfo) GetAtxBroadcasted() *AtxBroadcastedState { + if x, ok := x.GetMetadata().(*IdentityStateInfo_AtxBroadcasted); ok { + return x.AtxBroadcasted } - return "" + return nil +} + +func (x *IdentityStateInfo) GetProposalPublished() *ProposalPublishedState { + if x, ok := x.GetMetadata().(*IdentityStateInfo_ProposalPublished); ok { + return x.ProposalPublished + } + return nil } type isIdentityStateInfo_Metadata interface { isIdentityStateInfo_Metadata() } -type IdentityStateInfo_Error struct { - Error *ErrorInfo `protobuf:"bytes,4,opt,name=error,proto3,oneof"` +type IdentityStateInfo_Retrying struct { + Retrying *RetryingState `protobuf:"bytes,4,opt,name=retrying,proto3,oneof"` +} + +type IdentityStateInfo_WaitForAtxSynced struct { + WaitForAtxSynced *WaitForAtxSyncedState `protobuf:"bytes,5,opt,name=wait_for_atx_synced,json=waitForAtxSynced,proto3,oneof"` +} + +type IdentityStateInfo_WaitingForPoetRegistrationWindow struct { + WaitingForPoetRegistrationWindow *WaitingForPoetRegistrationWindowState `protobuf:"bytes,6,opt,name=waiting_for_poet_registration_window,json=waitingForPoetRegistrationWindow,proto3,oneof"` +} + +type IdentityStateInfo_PoetChallengeReady struct { + PoetChallengeReady *PoetChallengeReadyState `protobuf:"bytes,7,opt,name=poet_challenge_ready,json=poetChallengeReady,proto3,oneof"` +} + +type IdentityStateInfo_PoetRegistered struct { + PoetRegistered *PoetRegisteredState `protobuf:"bytes,8,opt,name=poet_registered,json=poetRegistered,proto3,oneof"` +} + +type IdentityStateInfo_WaitForPoetRoundEnd struct { + WaitForPoetRoundEnd *WaitForPoetRoundEndState `protobuf:"bytes,9,opt,name=wait_for_poet_round_end,json=waitForPoetRoundEnd,proto3,oneof"` +} + +type IdentityStateInfo_PoetProofReceived struct { + PoetProofReceived *PoetProofReceivedState `protobuf:"bytes,10,opt,name=poet_proof_received,json=poetProofReceived,proto3,oneof"` +} + +type IdentityStateInfo_GeneratingPostProof struct { + GeneratingPostProof *GeneratingPostProofState `protobuf:"bytes,11,opt,name=generating_post_proof,json=generatingPostProof,proto3,oneof"` +} + +type IdentityStateInfo_PostProofReady struct { + PostProofReady *PostProofReadyState `protobuf:"bytes,12,opt,name=post_proof_ready,json=postProofReady,proto3,oneof"` } -type IdentityStateInfo_PoetUrl struct { - PoetUrl string `protobuf:"bytes,5,opt,name=poet_url,json=poetUrl,proto3,oneof"` +type IdentityStateInfo_AtxReady struct { + AtxReady *AtxReadyState `protobuf:"bytes,13,opt,name=atx_ready,json=atxReady,proto3,oneof"` } -type IdentityStateInfo_SubmittedRegistrations struct { - SubmittedRegistrations *SubmittedRegistrations `protobuf:"bytes,6,opt,name=submitted_registrations,json=submittedRegistrations,proto3,oneof"` +type IdentityStateInfo_AtxBroadcasted struct { + AtxBroadcasted *AtxBroadcastedState `protobuf:"bytes,14,opt,name=atx_broadcasted,json=atxBroadcasted,proto3,oneof"` } -type IdentityStateInfo_Message struct { - Message string `protobuf:"bytes,7,opt,name=message,proto3,oneof"` +type IdentityStateInfo_ProposalPublished struct { + ProposalPublished *ProposalPublishedState `protobuf:"bytes,15,opt,name=proposal_published,json=proposalPublished,proto3,oneof"` } -func (*IdentityStateInfo_Error) isIdentityStateInfo_Metadata() {} +func (*IdentityStateInfo_Retrying) isIdentityStateInfo_Metadata() {} + +func (*IdentityStateInfo_WaitForAtxSynced) isIdentityStateInfo_Metadata() {} + +func (*IdentityStateInfo_WaitingForPoetRegistrationWindow) isIdentityStateInfo_Metadata() {} + +func (*IdentityStateInfo_PoetChallengeReady) isIdentityStateInfo_Metadata() {} + +func (*IdentityStateInfo_PoetRegistered) isIdentityStateInfo_Metadata() {} + +func (*IdentityStateInfo_WaitForPoetRoundEnd) isIdentityStateInfo_Metadata() {} + +func (*IdentityStateInfo_PoetProofReceived) isIdentityStateInfo_Metadata() {} + +func (*IdentityStateInfo_GeneratingPostProof) isIdentityStateInfo_Metadata() {} -func (*IdentityStateInfo_PoetUrl) isIdentityStateInfo_Metadata() {} +func (*IdentityStateInfo_PostProofReady) isIdentityStateInfo_Metadata() {} -func (*IdentityStateInfo_SubmittedRegistrations) isIdentityStateInfo_Metadata() {} +func (*IdentityStateInfo_AtxReady) isIdentityStateInfo_Metadata() {} -func (*IdentityStateInfo_Message) isIdentityStateInfo_Metadata() {} +func (*IdentityStateInfo_AtxBroadcasted) isIdentityStateInfo_Metadata() {} + +func (*IdentityStateInfo_ProposalPublished) isIdentityStateInfo_Metadata() {} type Identity struct { state protoimpl.MessageState @@ -450,7 +978,7 @@ type Identity struct { func (x *Identity) Reset() { *x = Identity{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[5] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -463,7 +991,7 @@ func (x *Identity) String() string { func (*Identity) ProtoMessage() {} func (x *Identity) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[5] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -476,7 +1004,7 @@ func (x *Identity) ProtoReflect() protoreflect.Message { // Deprecated: Use Identity.ProtoReflect.Descriptor instead. func (*Identity) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{5} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{15} } func (x *Identity) GetHistory() []*IdentityStateInfo { @@ -497,7 +1025,7 @@ type IdentityStatesResponse struct { func (x *IdentityStatesResponse) Reset() { *x = IdentityStatesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[6] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -510,7 +1038,7 @@ func (x *IdentityStatesResponse) String() string { func (*IdentityStatesResponse) ProtoMessage() {} func (x *IdentityStatesResponse) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[6] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -523,7 +1051,7 @@ func (x *IdentityStatesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use IdentityStatesResponse.ProtoReflect.Descriptor instead. func (*IdentityStatesResponse) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{6} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{16} } func (x *IdentityStatesResponse) GetIdentities() map[string]*Identity { @@ -543,7 +1071,7 @@ type PoetInfoRequest struct { func (x *PoetInfoRequest) Reset() { *x = PoetInfoRequest{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[7] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -556,7 +1084,7 @@ func (x *PoetInfoRequest) String() string { func (*PoetInfoRequest) ProtoMessage() {} func (x *PoetInfoRequest) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[7] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -569,7 +1097,7 @@ func (x *PoetInfoRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use PoetInfoRequest.ProtoReflect.Descriptor instead. func (*PoetInfoRequest) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{7} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{17} } type PoetConfig struct { @@ -584,7 +1112,7 @@ type PoetConfig struct { func (x *PoetConfig) Reset() { *x = PoetConfig{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[8] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -597,7 +1125,7 @@ func (x *PoetConfig) String() string { func (*PoetConfig) ProtoMessage() {} func (x *PoetConfig) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[8] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -610,7 +1138,7 @@ func (x *PoetConfig) ProtoReflect() protoreflect.Message { // Deprecated: Use PoetConfig.ProtoReflect.Descriptor instead. func (*PoetConfig) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{8} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{18} } func (x *PoetConfig) GetPhaseShift() *durationpb.Duration { @@ -639,7 +1167,7 @@ type PoetInfoResponse struct { func (x *PoetInfoResponse) Reset() { *x = PoetInfoResponse{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[9] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -652,7 +1180,7 @@ func (x *PoetInfoResponse) String() string { func (*PoetInfoResponse) ProtoMessage() {} func (x *PoetInfoResponse) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[9] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -665,7 +1193,7 @@ func (x *PoetInfoResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use PoetInfoResponse.ProtoReflect.Descriptor instead. func (*PoetInfoResponse) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{9} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{19} } func (x *PoetInfoResponse) GetPoets() []string { @@ -694,7 +1222,7 @@ type Eligibilities struct { func (x *Eligibilities) Reset() { *x = Eligibilities{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[10] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -707,7 +1235,7 @@ func (x *Eligibilities) String() string { func (*Eligibilities) ProtoMessage() {} func (x *Eligibilities) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[10] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -720,7 +1248,7 @@ func (x *Eligibilities) ProtoReflect() protoreflect.Message { // Deprecated: Use Eligibilities.ProtoReflect.Descriptor instead. func (*Eligibilities) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{10} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{20} } func (x *Eligibilities) GetEligibilities() []*ProposalEligibility { @@ -742,7 +1270,7 @@ type ProposalEligibility struct { func (x *ProposalEligibility) Reset() { *x = ProposalEligibility{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[11] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -755,7 +1283,7 @@ func (x *ProposalEligibility) String() string { func (*ProposalEligibility) ProtoMessage() {} func (x *ProposalEligibility) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[11] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -768,7 +1296,7 @@ func (x *ProposalEligibility) ProtoReflect() protoreflect.Message { // Deprecated: Use ProposalEligibility.ProtoReflect.Descriptor instead. func (*ProposalEligibility) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{11} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{21} } func (x *ProposalEligibility) GetLayer() uint32 { @@ -796,7 +1324,7 @@ type EpochEligibilities struct { func (x *EpochEligibilities) Reset() { *x = EpochEligibilities{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[12] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -809,7 +1337,7 @@ func (x *EpochEligibilities) String() string { func (*EpochEligibilities) ProtoMessage() {} func (x *EpochEligibilities) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[12] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -822,7 +1350,7 @@ func (x *EpochEligibilities) ProtoReflect() protoreflect.Message { // Deprecated: Use EpochEligibilities.ProtoReflect.Descriptor instead. func (*EpochEligibilities) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{12} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{22} } func (x *EpochEligibilities) GetEpochs() map[uint32]*Eligibilities { @@ -841,7 +1369,7 @@ type EligibilitiesRequest struct { func (x *EligibilitiesRequest) Reset() { *x = EligibilitiesRequest{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[13] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -854,7 +1382,7 @@ func (x *EligibilitiesRequest) String() string { func (*EligibilitiesRequest) ProtoMessage() {} func (x *EligibilitiesRequest) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[13] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[23] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -867,7 +1395,7 @@ func (x *EligibilitiesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use EligibilitiesRequest.ProtoReflect.Descriptor instead. func (*EligibilitiesRequest) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{13} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{23} } type EligibilitiesResponse struct { @@ -881,7 +1409,7 @@ type EligibilitiesResponse struct { func (x *EligibilitiesResponse) Reset() { *x = EligibilitiesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[14] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -894,7 +1422,7 @@ func (x *EligibilitiesResponse) String() string { func (*EligibilitiesResponse) ProtoMessage() {} func (x *EligibilitiesResponse) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[14] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[24] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -907,7 +1435,7 @@ func (x *EligibilitiesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use EligibilitiesResponse.ProtoReflect.Descriptor instead. func (*EligibilitiesResponse) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{14} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{24} } func (x *EligibilitiesResponse) GetEligibilities() map[string]*EpochEligibilities { @@ -926,7 +1454,7 @@ type ProposalsRequest struct { func (x *ProposalsRequest) Reset() { *x = ProposalsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[15] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -939,7 +1467,7 @@ func (x *ProposalsRequest) String() string { func (*ProposalsRequest) ProtoMessage() {} func (x *ProposalsRequest) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[15] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[25] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -952,7 +1480,7 @@ func (x *ProposalsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ProposalsRequest.ProtoReflect.Descriptor instead. func (*ProposalsRequest) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{15} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{25} } type Proposal struct { @@ -967,7 +1495,7 @@ type Proposal struct { func (x *Proposal) Reset() { *x = Proposal{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[16] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -980,7 +1508,7 @@ func (x *Proposal) String() string { func (*Proposal) ProtoMessage() {} func (x *Proposal) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[16] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[26] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -993,7 +1521,7 @@ func (x *Proposal) ProtoReflect() protoreflect.Message { // Deprecated: Use Proposal.ProtoReflect.Descriptor instead. func (*Proposal) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{16} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{26} } func (x *Proposal) GetLayer() uint32 { @@ -1021,7 +1549,7 @@ type Proposals struct { func (x *Proposals) Reset() { *x = Proposals{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[17] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1034,7 +1562,7 @@ func (x *Proposals) String() string { func (*Proposals) ProtoMessage() {} func (x *Proposals) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[17] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[27] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1047,7 +1575,7 @@ func (x *Proposals) ProtoReflect() protoreflect.Message { // Deprecated: Use Proposals.ProtoReflect.Descriptor instead. func (*Proposals) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{17} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{27} } func (x *Proposals) GetProposals() []*Proposal { @@ -1068,7 +1596,7 @@ type ProposalsResponse struct { func (x *ProposalsResponse) Reset() { *x = ProposalsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[18] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1081,7 +1609,7 @@ func (x *ProposalsResponse) String() string { func (*ProposalsResponse) ProtoMessage() {} func (x *ProposalsResponse) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[18] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[28] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1094,7 +1622,7 @@ func (x *ProposalsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ProposalsResponse.ProtoReflect.Descriptor instead. func (*ProposalsResponse) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{18} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{28} } func (x *ProposalsResponse) GetProposals() map[string]*Proposals { @@ -1118,210 +1646,290 @@ var file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc = []byte{ 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, - 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x17, - 0x0a, 0x15, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x25, 0x0a, 0x09, 0x45, 0x72, 0x72, 0x6f, 0x72, - 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0xa7, - 0x01, 0x0a, 0x10, 0x50, 0x6f, 0x45, 0x54, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, - 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x63, 0x68, 0x61, - 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x48, 0x61, 0x73, 0x68, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x69, 0x64, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x49, 0x64, 0x12, - 0x37, 0x0a, 0x09, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x65, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x08, - 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x45, 0x6e, 0x64, 0x22, 0x64, 0x0a, 0x16, 0x53, 0x75, 0x62, 0x6d, - 0x69, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x12, 0x4a, 0x0a, 0x0d, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, - 0x6f, 0x45, 0x54, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x0d, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x9b, - 0x03, 0x0a, 0x11, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, - 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x37, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, - 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, - 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x28, 0x0a, - 0x0d, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0d, 0x48, 0x01, 0x52, 0x0c, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x45, - 0x70, 0x6f, 0x63, 0x68, 0x88, 0x01, 0x01, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, - 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, - 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x72, 0x72, 0x6f, - 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x1b, - 0x0a, 0x08, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, - 0x48, 0x00, 0x52, 0x07, 0x70, 0x6f, 0x65, 0x74, 0x55, 0x72, 0x6c, 0x12, 0x65, 0x0a, 0x17, 0x73, - 0x75, 0x62, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x16, 0x73, 0x75, 0x62, 0x6d, - 0x69, 0x74, 0x74, 0x65, 0x64, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x12, 0x1a, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x07, 0x20, - 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x42, 0x0a, - 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x70, - 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x22, 0x4b, 0x0a, 0x08, - 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x3f, 0x0a, 0x07, 0x68, 0x69, 0x73, 0x74, - 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, - 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, - 0x52, 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x22, 0xd1, 0x01, 0x0a, 0x16, 0x49, 0x64, - 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5a, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, - 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, - 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, - 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, - 0x1a, 0x5b, 0x0a, 0x0f, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x32, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, - 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, - 0x74, 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x11, 0x0a, - 0x0f, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x22, 0x80, 0x01, 0x0a, 0x0a, 0x50, 0x6f, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, - 0x3a, 0x0a, 0x0b, 0x70, 0x68, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68, 0x69, 0x66, 0x74, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x0a, 0x70, 0x68, 0x61, 0x73, 0x65, 0x53, 0x68, 0x69, 0x66, 0x74, 0x12, 0x36, 0x0a, 0x09, 0x63, - 0x79, 0x63, 0x6c, 0x65, 0x5f, 0x67, 0x61, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, - 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x63, 0x79, 0x63, 0x6c, 0x65, - 0x47, 0x61, 0x70, 0x22, 0x60, 0x0a, 0x10, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x6f, 0x65, 0x74, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x70, 0x6f, 0x65, 0x74, 0x73, 0x12, 0x36, 0x0a, - 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, + 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, + 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x17, 0x0a, 0x15, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x22, 0x29, 0x0a, 0x0d, 0x52, 0x65, 0x74, 0x72, 0x79, 0x69, 0x6e, 0x67, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, + 0x17, 0x0a, 0x15, 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x41, 0x74, 0x78, 0x53, 0x79, 0x6e, + 0x63, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x22, 0x27, 0x0a, 0x25, 0x57, 0x61, 0x69, 0x74, + 0x69, 0x6e, 0x67, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x22, 0x19, 0x0a, 0x17, 0x50, 0x6f, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, + 0x67, 0x65, 0x52, 0x65, 0x61, 0x64, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x22, 0xa7, 0x01, 0x0a, + 0x10, 0x50, 0x6f, 0x45, 0x54, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x68, + 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x63, 0x68, 0x61, 0x6c, 0x6c, + 0x65, 0x6e, 0x67, 0x65, 0x48, 0x61, 0x73, 0x68, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x49, 0x64, 0x12, 0x37, 0x0a, + 0x09, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x65, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x08, 0x72, 0x6f, + 0x75, 0x6e, 0x64, 0x45, 0x6e, 0x64, 0x22, 0x61, 0x0a, 0x13, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x65, + 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x4a, 0x0a, + 0x0d, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, + 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x45, 0x54, 0x52, 0x65, + 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x72, 0x65, 0x67, 0x69, + 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x1a, 0x0a, 0x18, 0x57, 0x61, 0x69, + 0x74, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x45, 0x6e, 0x64, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x22, 0x33, 0x0a, 0x16, 0x50, 0x6f, 0x65, 0x74, 0x50, 0x72, 0x6f, + 0x6f, 0x66, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, + 0x19, 0x0a, 0x08, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x07, 0x70, 0x6f, 0x65, 0x74, 0x55, 0x72, 0x6c, 0x22, 0x1a, 0x0a, 0x18, 0x47, 0x65, + 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6f, + 0x66, 0x53, 0x74, 0x61, 0x74, 0x65, 0x22, 0x15, 0x0a, 0x13, 0x50, 0x6f, 0x73, 0x74, 0x50, 0x72, + 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x61, 0x64, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x22, 0x0f, 0x0a, + 0x0d, 0x41, 0x74, 0x78, 0x52, 0x65, 0x61, 0x64, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x22, 0x2c, + 0x0a, 0x13, 0x41, 0x74, 0x78, 0x42, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x65, 0x64, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x61, 0x74, 0x78, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x61, 0x74, 0x78, 0x49, 0x64, 0x22, 0x4a, 0x0a, 0x16, + 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, + 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, + 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, + 0x61, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x22, 0x94, 0x0a, 0x0a, 0x11, 0x49, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x37, + 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x06, 0x63, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x5e, 0x0a, 0x0d, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, - 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x4d, 0x0a, 0x0d, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, - 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, + 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x28, 0x0a, 0x0d, 0x70, 0x75, 0x62, 0x6c, 0x69, + 0x73, 0x68, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x01, + 0x52, 0x0c, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x88, 0x01, + 0x01, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, + 0x65, 0x12, 0x3f, 0x0a, 0x08, 0x72, 0x65, 0x74, 0x72, 0x79, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, + 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x74, 0x72, 0x79, 0x69, 0x6e, + 0x67, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x08, 0x72, 0x65, 0x74, 0x72, 0x79, 0x69, + 0x6e, 0x67, 0x12, 0x5a, 0x0a, 0x13, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x61, + 0x74, 0x78, 0x5f, 0x73, 0x79, 0x6e, 0x63, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2e, 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x41, 0x74, 0x78, 0x53, + 0x79, 0x6e, 0x63, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x10, 0x77, 0x61, + 0x69, 0x74, 0x46, 0x6f, 0x72, 0x41, 0x74, 0x78, 0x53, 0x79, 0x6e, 0x63, 0x65, 0x64, 0x12, 0x8b, + 0x01, 0x0a, 0x24, 0x77, 0x61, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x70, + 0x6f, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x45, 0x6c, 0x69, 0x67, 0x69, - 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0d, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, - 0x69, 0x74, 0x69, 0x65, 0x73, 0x22, 0x41, 0x0a, 0x13, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, - 0x6c, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x14, 0x0a, 0x05, - 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x61, 0x79, - 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0d, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xbe, 0x01, 0x0a, 0x12, 0x45, 0x70, 0x6f, - 0x63, 0x68, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, - 0x4a, 0x0a, 0x06, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x32, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, - 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x52, 0x06, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x1a, 0x5c, 0x0a, 0x0b, 0x45, - 0x70, 0x6f, 0x63, 0x68, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, - 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x37, 0x0a, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x16, 0x0a, 0x14, 0x45, 0x6c, 0x69, - 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x22, 0xe5, 0x01, 0x0a, 0x15, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, - 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x0d, 0x65, - 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, - 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, - 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x45, 0x6c, - 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x52, 0x0d, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x1a, - 0x68, 0x0a, 0x12, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, - 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, - 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x70, 0x6f, 0x63, - 0x68, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x12, 0x0a, 0x10, 0x50, 0x72, 0x6f, - 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x3c, 0x0a, - 0x08, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x79, - 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, - 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x22, 0x47, 0x0a, 0x09, 0x50, - 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x12, 0x3a, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x70, - 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x70, + 0x61, 0x31, 0x2e, 0x57, 0x61, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x65, + 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x69, 0x6e, + 0x64, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x20, 0x77, 0x61, 0x69, 0x74, + 0x69, 0x6e, 0x67, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x12, 0x5f, 0x0a, 0x14, + 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x72, + 0x65, 0x61, 0x64, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, + 0x50, 0x6f, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x61, + 0x64, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x12, 0x70, 0x6f, 0x65, 0x74, 0x43, + 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x61, 0x64, 0x79, 0x12, 0x52, 0x0a, + 0x0f, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, + 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, + 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, + 0x00, 0x52, 0x0e, 0x70, 0x6f, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, + 0x64, 0x12, 0x64, 0x0a, 0x17, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x70, 0x6f, + 0x65, 0x74, 0x5f, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x65, 0x6e, 0x64, 0x18, 0x09, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, + 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, + 0x6f, 0x65, 0x74, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x45, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x48, 0x00, 0x52, 0x13, 0x77, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x65, 0x74, 0x52, + 0x6f, 0x75, 0x6e, 0x64, 0x45, 0x6e, 0x64, 0x12, 0x5c, 0x0a, 0x13, 0x70, 0x6f, 0x65, 0x74, 0x5f, + 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x18, 0x0a, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, + 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x50, 0x72, + 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x48, 0x00, 0x52, 0x11, 0x70, 0x6f, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x63, + 0x65, 0x69, 0x76, 0x65, 0x64, 0x12, 0x62, 0x0a, 0x15, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, + 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x73, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, 0x0b, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, + 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, + 0x74, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x48, 0x00, 0x52, 0x13, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, + 0x50, 0x6f, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x53, 0x0a, 0x10, 0x70, 0x6f, 0x73, + 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x79, 0x18, 0x0c, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, + 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x50, 0x72, 0x6f, + 0x6f, 0x66, 0x52, 0x65, 0x61, 0x64, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x0e, + 0x70, 0x6f, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x61, 0x64, 0x79, 0x12, 0x40, + 0x0a, 0x09, 0x61, 0x74, 0x78, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x79, 0x18, 0x0d, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, 0x74, 0x78, 0x52, 0x65, 0x61, 0x64, 0x79, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x08, 0x61, 0x74, 0x78, 0x52, 0x65, 0x61, 0x64, 0x79, + 0x12, 0x52, 0x0a, 0x0f, 0x61, 0x74, 0x78, 0x5f, 0x62, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, + 0x74, 0x65, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, + 0x74, 0x78, 0x42, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x65, 0x64, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x48, 0x00, 0x52, 0x0e, 0x61, 0x74, 0x78, 0x42, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, + 0x73, 0x74, 0x65, 0x64, 0x12, 0x5b, 0x0a, 0x12, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, + 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x75, + 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x11, + 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, + 0x64, 0x42, 0x0a, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0x10, 0x0a, + 0x0e, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x22, + 0x4b, 0x0a, 0x08, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x3f, 0x0a, 0x07, 0x68, + 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, + 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x22, 0xd1, 0x01, 0x0a, + 0x16, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5a, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, - 0x73, 0x61, 0x6c, 0x73, 0x22, 0xc4, 0x01, 0x0a, 0x11, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, - 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a, 0x09, 0x70, 0x72, - 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x1a, 0x5b, - 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, - 0x65, 0x79, 0x12, 0x33, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, - 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x2a, 0xc3, 0x02, 0x0a, 0x0d, - 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0f, 0x0a, - 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x17, - 0x0a, 0x13, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x41, 0x54, 0x58, 0x5f, 0x53, - 0x59, 0x4e, 0x43, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x45, 0x54, 0x52, 0x59, - 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x28, 0x0a, 0x24, 0x57, 0x41, 0x49, 0x54, 0x49, 0x4e, 0x47, - 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, - 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x57, 0x49, 0x4e, 0x44, 0x4f, 0x57, 0x10, 0x03, 0x12, - 0x18, 0x0a, 0x14, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, 0x47, - 0x45, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x4f, 0x45, - 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x45, 0x52, 0x45, 0x44, 0x10, 0x05, 0x12, 0x1b, - 0x0a, 0x17, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, - 0x52, 0x4f, 0x55, 0x4e, 0x44, 0x5f, 0x45, 0x4e, 0x44, 0x10, 0x06, 0x12, 0x17, 0x0a, 0x13, 0x50, - 0x4f, 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x43, 0x45, 0x49, 0x56, - 0x45, 0x44, 0x10, 0x07, 0x12, 0x19, 0x0a, 0x15, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, 0x54, 0x49, - 0x4e, 0x47, 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x10, 0x08, 0x12, - 0x14, 0x0a, 0x10, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, - 0x41, 0x44, 0x59, 0x10, 0x09, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x54, 0x58, 0x5f, 0x52, 0x45, 0x41, - 0x44, 0x59, 0x10, 0x0a, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x54, 0x58, 0x5f, 0x42, 0x52, 0x4f, 0x41, - 0x44, 0x43, 0x41, 0x53, 0x54, 0x45, 0x44, 0x10, 0x0b, 0x12, 0x16, 0x0a, 0x12, 0x50, 0x52, 0x4f, - 0x50, 0x4f, 0x53, 0x41, 0x4c, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, 0x45, 0x44, 0x10, - 0x0c, 0x32, 0xa7, 0x03, 0x0a, 0x19, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, - 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, - 0x61, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, - 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, - 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, - 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x12, 0x57, 0x0a, 0x08, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x23, + 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, + 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x69, 0x65, 0x73, 0x1a, 0x5b, 0x0a, 0x0f, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, + 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x32, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, + 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, + 0x22, 0x11, 0x0a, 0x0f, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x22, 0x80, 0x01, 0x0a, 0x0a, 0x50, 0x6f, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x12, 0x3a, 0x0a, 0x0b, 0x70, 0x68, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68, 0x69, 0x66, + 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x0a, 0x70, 0x68, 0x61, 0x73, 0x65, 0x53, 0x68, 0x69, 0x66, 0x74, 0x12, 0x36, + 0x0a, 0x09, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x5f, 0x67, 0x61, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x63, 0x79, + 0x63, 0x6c, 0x65, 0x47, 0x61, 0x70, 0x22, 0x60, 0x0a, 0x10, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x6f, + 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x70, 0x6f, 0x65, 0x74, 0x73, + 0x12, 0x36, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1e, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x5e, 0x0a, 0x0d, 0x45, 0x6c, 0x69, 0x67, + 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x4d, 0x0a, 0x0d, 0x65, 0x6c, 0x69, + 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x27, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x45, 0x6c, + 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0d, 0x65, 0x6c, 0x69, 0x67, 0x69, + 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x22, 0x41, 0x0a, 0x13, 0x50, 0x72, 0x6f, 0x70, + 0x6f, 0x73, 0x61, 0x6c, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, + 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, + 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xbe, 0x01, 0x0a, 0x12, + 0x45, 0x70, 0x6f, 0x63, 0x68, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, + 0x65, 0x73, 0x12, 0x4a, 0x0a, 0x06, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, + 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x45, 0x6c, 0x69, + 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, + 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x1a, 0x5c, + 0x0a, 0x0b, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, + 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, + 0x37, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, - 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, - 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x66, 0x0a, 0x0d, 0x45, - 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x28, 0x2e, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, - 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, - 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, - 0x12, 0x24, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, + 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, + 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x16, 0x0a, 0x14, + 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x22, 0xe5, 0x01, 0x0a, 0x15, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, + 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, + 0x0a, 0x0d, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, + 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, + 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x52, 0x0d, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, + 0x65, 0x73, 0x1a, 0x68, 0x0a, 0x12, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3c, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, + 0x70, 0x6f, 0x63, 0x68, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, + 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x12, 0x0a, 0x10, + 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x22, 0x3c, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x12, 0x14, 0x0a, 0x05, + 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x61, 0x79, + 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x22, 0x47, + 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x12, 0x3a, 0x0a, 0x09, 0x70, + 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, + 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x52, 0x09, 0x70, 0x72, + 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x22, 0xc4, 0x01, 0x0a, 0x11, 0x50, 0x72, 0x6f, 0x70, + 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a, + 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x34, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, - 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, - 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x1a, - 0x0a, 0xfa, 0xd2, 0xe4, 0x93, 0x02, 0x04, 0x12, 0x02, 0x56, 0x32, 0x42, 0xe6, 0x01, 0x0a, 0x16, - 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x17, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, - 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, - 0x01, 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, - 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, - 0x73, 0x68, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x6d, 0x65, 0x73, 0x68, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, - 0x53, 0x58, 0x58, 0xaa, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, - 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, - 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x1e, - 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, - 0x13, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x3a, 0x3a, 0x56, 0x32, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, + 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, + 0x73, 0x1a, 0x5b, 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x33, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, + 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, + 0x61, 0x6c, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x2a, 0xc3, + 0x02, 0x0a, 0x0d, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, + 0x00, 0x12, 0x17, 0x0a, 0x13, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x41, 0x54, + 0x58, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x45, + 0x54, 0x52, 0x59, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x28, 0x0a, 0x24, 0x57, 0x41, 0x49, 0x54, + 0x49, 0x4e, 0x47, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, + 0x49, 0x53, 0x54, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x57, 0x49, 0x4e, 0x44, 0x4f, 0x57, + 0x10, 0x03, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4c, 0x4c, + 0x45, 0x4e, 0x47, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f, + 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x45, 0x52, 0x45, 0x44, 0x10, + 0x05, 0x12, 0x1b, 0x0a, 0x17, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, + 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x55, 0x4e, 0x44, 0x5f, 0x45, 0x4e, 0x44, 0x10, 0x06, 0x12, 0x17, + 0x0a, 0x13, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x43, + 0x45, 0x49, 0x56, 0x45, 0x44, 0x10, 0x07, 0x12, 0x19, 0x0a, 0x15, 0x47, 0x45, 0x4e, 0x45, 0x52, + 0x41, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, + 0x10, 0x08, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, + 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x09, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x54, 0x58, 0x5f, + 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x0a, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x54, 0x58, 0x5f, 0x42, + 0x52, 0x4f, 0x41, 0x44, 0x43, 0x41, 0x53, 0x54, 0x45, 0x44, 0x10, 0x0b, 0x12, 0x16, 0x0a, 0x12, + 0x50, 0x52, 0x4f, 0x50, 0x4f, 0x53, 0x41, 0x4c, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, + 0x45, 0x44, 0x10, 0x0c, 0x32, 0xa7, 0x03, 0x0a, 0x19, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, + 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x12, 0x61, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, + 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x57, 0x0a, 0x08, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, + 0x6f, 0x12, 0x23, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, + 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x66, + 0x0a, 0x0d, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, + 0x28, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, + 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, + 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, + 0x61, 0x6c, 0x73, 0x12, 0x24, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, + 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, + 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, + 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x1a, 0x0a, 0xfa, 0xd2, 0xe4, 0x93, 0x02, 0x04, 0x12, 0x02, 0x56, 0x32, 0x42, 0xe6, + 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, + 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x17, 0x53, 0x6d, 0x65, 0x73, 0x68, + 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x50, 0x72, 0x6f, + 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, + 0x73, 0x68, 0x2e, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x12, 0x53, 0x70, + 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0xe2, 0x02, 0x1e, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0xea, 0x02, 0x13, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x3a, 0x3a, 0x56, + 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -1337,69 +1945,89 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP() []byte { } var file_spacemesh_v2alpha1_smeshing_identities_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes = make([]protoimpl.MessageInfo, 23) +var file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes = make([]protoimpl.MessageInfo, 33) var file_spacemesh_v2alpha1_smeshing_identities_proto_goTypes = []interface{}{ - (IdentityState)(0), // 0: spacemesh.v2alpha1.IdentityState - (*IdentityStatesRequest)(nil), // 1: spacemesh.v2alpha1.IdentityStatesRequest - (*ErrorInfo)(nil), // 2: spacemesh.v2alpha1.ErrorInfo - (*PoETRegistration)(nil), // 3: spacemesh.v2alpha1.PoETRegistration - (*SubmittedRegistrations)(nil), // 4: spacemesh.v2alpha1.SubmittedRegistrations - (*IdentityStateInfo)(nil), // 5: spacemesh.v2alpha1.IdentityStateInfo - (*Identity)(nil), // 6: spacemesh.v2alpha1.Identity - (*IdentityStatesResponse)(nil), // 7: spacemesh.v2alpha1.IdentityStatesResponse - (*PoetInfoRequest)(nil), // 8: spacemesh.v2alpha1.PoetInfoRequest - (*PoetConfig)(nil), // 9: spacemesh.v2alpha1.PoetConfig - (*PoetInfoResponse)(nil), // 10: spacemesh.v2alpha1.PoetInfoResponse - (*Eligibilities)(nil), // 11: spacemesh.v2alpha1.Eligibilities - (*ProposalEligibility)(nil), // 12: spacemesh.v2alpha1.ProposalEligibility - (*EpochEligibilities)(nil), // 13: spacemesh.v2alpha1.EpochEligibilities - (*EligibilitiesRequest)(nil), // 14: spacemesh.v2alpha1.EligibilitiesRequest - (*EligibilitiesResponse)(nil), // 15: spacemesh.v2alpha1.EligibilitiesResponse - (*ProposalsRequest)(nil), // 16: spacemesh.v2alpha1.ProposalsRequest - (*Proposal)(nil), // 17: spacemesh.v2alpha1.Proposal - (*Proposals)(nil), // 18: spacemesh.v2alpha1.Proposals - (*ProposalsResponse)(nil), // 19: spacemesh.v2alpha1.ProposalsResponse - nil, // 20: spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry - nil, // 21: spacemesh.v2alpha1.EpochEligibilities.EpochsEntry - nil, // 22: spacemesh.v2alpha1.EligibilitiesResponse.EligibilitiesEntry - nil, // 23: spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry - (*timestamppb.Timestamp)(nil), // 24: google.protobuf.Timestamp - (*durationpb.Duration)(nil), // 25: google.protobuf.Duration + (IdentityState)(0), // 0: spacemesh.v2alpha1.IdentityState + (*IdentityStatesRequest)(nil), // 1: spacemesh.v2alpha1.IdentityStatesRequest + (*RetryingState)(nil), // 2: spacemesh.v2alpha1.RetryingState + (*WaitForAtxSyncedState)(nil), // 3: spacemesh.v2alpha1.WaitForAtxSyncedState + (*WaitingForPoetRegistrationWindowState)(nil), // 4: spacemesh.v2alpha1.WaitingForPoetRegistrationWindowState + (*PoetChallengeReadyState)(nil), // 5: spacemesh.v2alpha1.PoetChallengeReadyState + (*PoETRegistration)(nil), // 6: spacemesh.v2alpha1.PoETRegistration + (*PoetRegisteredState)(nil), // 7: spacemesh.v2alpha1.PoetRegisteredState + (*WaitForPoetRoundEndState)(nil), // 8: spacemesh.v2alpha1.WaitForPoetRoundEndState + (*PoetProofReceivedState)(nil), // 9: spacemesh.v2alpha1.PoetProofReceivedState + (*GeneratingPostProofState)(nil), // 10: spacemesh.v2alpha1.GeneratingPostProofState + (*PostProofReadyState)(nil), // 11: spacemesh.v2alpha1.PostProofReadyState + (*AtxReadyState)(nil), // 12: spacemesh.v2alpha1.AtxReadyState + (*AtxBroadcastedState)(nil), // 13: spacemesh.v2alpha1.AtxBroadcastedState + (*ProposalPublishedState)(nil), // 14: spacemesh.v2alpha1.ProposalPublishedState + (*IdentityStateInfo)(nil), // 15: spacemesh.v2alpha1.IdentityStateInfo + (*Identity)(nil), // 16: spacemesh.v2alpha1.Identity + (*IdentityStatesResponse)(nil), // 17: spacemesh.v2alpha1.IdentityStatesResponse + (*PoetInfoRequest)(nil), // 18: spacemesh.v2alpha1.PoetInfoRequest + (*PoetConfig)(nil), // 19: spacemesh.v2alpha1.PoetConfig + (*PoetInfoResponse)(nil), // 20: spacemesh.v2alpha1.PoetInfoResponse + (*Eligibilities)(nil), // 21: spacemesh.v2alpha1.Eligibilities + (*ProposalEligibility)(nil), // 22: spacemesh.v2alpha1.ProposalEligibility + (*EpochEligibilities)(nil), // 23: spacemesh.v2alpha1.EpochEligibilities + (*EligibilitiesRequest)(nil), // 24: spacemesh.v2alpha1.EligibilitiesRequest + (*EligibilitiesResponse)(nil), // 25: spacemesh.v2alpha1.EligibilitiesResponse + (*ProposalsRequest)(nil), // 26: spacemesh.v2alpha1.ProposalsRequest + (*Proposal)(nil), // 27: spacemesh.v2alpha1.Proposal + (*Proposals)(nil), // 28: spacemesh.v2alpha1.Proposals + (*ProposalsResponse)(nil), // 29: spacemesh.v2alpha1.ProposalsResponse + nil, // 30: spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry + nil, // 31: spacemesh.v2alpha1.EpochEligibilities.EpochsEntry + nil, // 32: spacemesh.v2alpha1.EligibilitiesResponse.EligibilitiesEntry + nil, // 33: spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry + (*timestamppb.Timestamp)(nil), // 34: google.protobuf.Timestamp + (*durationpb.Duration)(nil), // 35: google.protobuf.Duration } var file_spacemesh_v2alpha1_smeshing_identities_proto_depIdxs = []int32{ - 24, // 0: spacemesh.v2alpha1.PoETRegistration.round_end:type_name -> google.protobuf.Timestamp - 3, // 1: spacemesh.v2alpha1.SubmittedRegistrations.registrations:type_name -> spacemesh.v2alpha1.PoETRegistration + 34, // 0: spacemesh.v2alpha1.PoETRegistration.round_end:type_name -> google.protobuf.Timestamp + 6, // 1: spacemesh.v2alpha1.PoetRegisteredState.registrations:type_name -> spacemesh.v2alpha1.PoETRegistration 0, // 2: spacemesh.v2alpha1.IdentityStateInfo.state:type_name -> spacemesh.v2alpha1.IdentityState - 24, // 3: spacemesh.v2alpha1.IdentityStateInfo.time:type_name -> google.protobuf.Timestamp - 2, // 4: spacemesh.v2alpha1.IdentityStateInfo.error:type_name -> spacemesh.v2alpha1.ErrorInfo - 4, // 5: spacemesh.v2alpha1.IdentityStateInfo.submitted_registrations:type_name -> spacemesh.v2alpha1.SubmittedRegistrations - 5, // 6: spacemesh.v2alpha1.Identity.history:type_name -> spacemesh.v2alpha1.IdentityStateInfo - 20, // 7: spacemesh.v2alpha1.IdentityStatesResponse.identities:type_name -> spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry - 25, // 8: spacemesh.v2alpha1.PoetConfig.phase_shift:type_name -> google.protobuf.Duration - 25, // 9: spacemesh.v2alpha1.PoetConfig.cycle_gap:type_name -> google.protobuf.Duration - 9, // 10: spacemesh.v2alpha1.PoetInfoResponse.config:type_name -> spacemesh.v2alpha1.PoetConfig - 12, // 11: spacemesh.v2alpha1.Eligibilities.eligibilities:type_name -> spacemesh.v2alpha1.ProposalEligibility - 21, // 12: spacemesh.v2alpha1.EpochEligibilities.epochs:type_name -> spacemesh.v2alpha1.EpochEligibilities.EpochsEntry - 22, // 13: spacemesh.v2alpha1.EligibilitiesResponse.eligibilities:type_name -> spacemesh.v2alpha1.EligibilitiesResponse.EligibilitiesEntry - 17, // 14: spacemesh.v2alpha1.Proposals.proposals:type_name -> spacemesh.v2alpha1.Proposal - 23, // 15: spacemesh.v2alpha1.ProposalsResponse.proposals:type_name -> spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry - 6, // 16: spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry.value:type_name -> spacemesh.v2alpha1.Identity - 11, // 17: spacemesh.v2alpha1.EpochEligibilities.EpochsEntry.value:type_name -> spacemesh.v2alpha1.Eligibilities - 13, // 18: spacemesh.v2alpha1.EligibilitiesResponse.EligibilitiesEntry.value:type_name -> spacemesh.v2alpha1.EpochEligibilities - 18, // 19: spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry.value:type_name -> spacemesh.v2alpha1.Proposals - 1, // 20: spacemesh.v2alpha1.SmeshingIdentitiesService.States:input_type -> spacemesh.v2alpha1.IdentityStatesRequest - 8, // 21: spacemesh.v2alpha1.SmeshingIdentitiesService.PoetInfo:input_type -> spacemesh.v2alpha1.PoetInfoRequest - 14, // 22: spacemesh.v2alpha1.SmeshingIdentitiesService.Eligibilities:input_type -> spacemesh.v2alpha1.EligibilitiesRequest - 16, // 23: spacemesh.v2alpha1.SmeshingIdentitiesService.Proposals:input_type -> spacemesh.v2alpha1.ProposalsRequest - 7, // 24: spacemesh.v2alpha1.SmeshingIdentitiesService.States:output_type -> spacemesh.v2alpha1.IdentityStatesResponse - 10, // 25: spacemesh.v2alpha1.SmeshingIdentitiesService.PoetInfo:output_type -> spacemesh.v2alpha1.PoetInfoResponse - 15, // 26: spacemesh.v2alpha1.SmeshingIdentitiesService.Eligibilities:output_type -> spacemesh.v2alpha1.EligibilitiesResponse - 19, // 27: spacemesh.v2alpha1.SmeshingIdentitiesService.Proposals:output_type -> spacemesh.v2alpha1.ProposalsResponse - 24, // [24:28] is the sub-list for method output_type - 20, // [20:24] is the sub-list for method input_type - 20, // [20:20] is the sub-list for extension type_name - 20, // [20:20] is the sub-list for extension extendee - 0, // [0:20] is the sub-list for field type_name + 34, // 3: spacemesh.v2alpha1.IdentityStateInfo.time:type_name -> google.protobuf.Timestamp + 2, // 4: spacemesh.v2alpha1.IdentityStateInfo.retrying:type_name -> spacemesh.v2alpha1.RetryingState + 3, // 5: spacemesh.v2alpha1.IdentityStateInfo.wait_for_atx_synced:type_name -> spacemesh.v2alpha1.WaitForAtxSyncedState + 4, // 6: spacemesh.v2alpha1.IdentityStateInfo.waiting_for_poet_registration_window:type_name -> spacemesh.v2alpha1.WaitingForPoetRegistrationWindowState + 5, // 7: spacemesh.v2alpha1.IdentityStateInfo.poet_challenge_ready:type_name -> spacemesh.v2alpha1.PoetChallengeReadyState + 7, // 8: spacemesh.v2alpha1.IdentityStateInfo.poet_registered:type_name -> spacemesh.v2alpha1.PoetRegisteredState + 8, // 9: spacemesh.v2alpha1.IdentityStateInfo.wait_for_poet_round_end:type_name -> spacemesh.v2alpha1.WaitForPoetRoundEndState + 9, // 10: spacemesh.v2alpha1.IdentityStateInfo.poet_proof_received:type_name -> spacemesh.v2alpha1.PoetProofReceivedState + 10, // 11: spacemesh.v2alpha1.IdentityStateInfo.generating_post_proof:type_name -> spacemesh.v2alpha1.GeneratingPostProofState + 11, // 12: spacemesh.v2alpha1.IdentityStateInfo.post_proof_ready:type_name -> spacemesh.v2alpha1.PostProofReadyState + 12, // 13: spacemesh.v2alpha1.IdentityStateInfo.atx_ready:type_name -> spacemesh.v2alpha1.AtxReadyState + 13, // 14: spacemesh.v2alpha1.IdentityStateInfo.atx_broadcasted:type_name -> spacemesh.v2alpha1.AtxBroadcastedState + 14, // 15: spacemesh.v2alpha1.IdentityStateInfo.proposal_published:type_name -> spacemesh.v2alpha1.ProposalPublishedState + 15, // 16: spacemesh.v2alpha1.Identity.history:type_name -> spacemesh.v2alpha1.IdentityStateInfo + 30, // 17: spacemesh.v2alpha1.IdentityStatesResponse.identities:type_name -> spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry + 35, // 18: spacemesh.v2alpha1.PoetConfig.phase_shift:type_name -> google.protobuf.Duration + 35, // 19: spacemesh.v2alpha1.PoetConfig.cycle_gap:type_name -> google.protobuf.Duration + 19, // 20: spacemesh.v2alpha1.PoetInfoResponse.config:type_name -> spacemesh.v2alpha1.PoetConfig + 22, // 21: spacemesh.v2alpha1.Eligibilities.eligibilities:type_name -> spacemesh.v2alpha1.ProposalEligibility + 31, // 22: spacemesh.v2alpha1.EpochEligibilities.epochs:type_name -> spacemesh.v2alpha1.EpochEligibilities.EpochsEntry + 32, // 23: spacemesh.v2alpha1.EligibilitiesResponse.eligibilities:type_name -> spacemesh.v2alpha1.EligibilitiesResponse.EligibilitiesEntry + 27, // 24: spacemesh.v2alpha1.Proposals.proposals:type_name -> spacemesh.v2alpha1.Proposal + 33, // 25: spacemesh.v2alpha1.ProposalsResponse.proposals:type_name -> spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry + 16, // 26: spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry.value:type_name -> spacemesh.v2alpha1.Identity + 21, // 27: spacemesh.v2alpha1.EpochEligibilities.EpochsEntry.value:type_name -> spacemesh.v2alpha1.Eligibilities + 23, // 28: spacemesh.v2alpha1.EligibilitiesResponse.EligibilitiesEntry.value:type_name -> spacemesh.v2alpha1.EpochEligibilities + 28, // 29: spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry.value:type_name -> spacemesh.v2alpha1.Proposals + 1, // 30: spacemesh.v2alpha1.SmeshingIdentitiesService.States:input_type -> spacemesh.v2alpha1.IdentityStatesRequest + 18, // 31: spacemesh.v2alpha1.SmeshingIdentitiesService.PoetInfo:input_type -> spacemesh.v2alpha1.PoetInfoRequest + 24, // 32: spacemesh.v2alpha1.SmeshingIdentitiesService.Eligibilities:input_type -> spacemesh.v2alpha1.EligibilitiesRequest + 26, // 33: spacemesh.v2alpha1.SmeshingIdentitiesService.Proposals:input_type -> spacemesh.v2alpha1.ProposalsRequest + 17, // 34: spacemesh.v2alpha1.SmeshingIdentitiesService.States:output_type -> spacemesh.v2alpha1.IdentityStatesResponse + 20, // 35: spacemesh.v2alpha1.SmeshingIdentitiesService.PoetInfo:output_type -> spacemesh.v2alpha1.PoetInfoResponse + 25, // 36: spacemesh.v2alpha1.SmeshingIdentitiesService.Eligibilities:output_type -> spacemesh.v2alpha1.EligibilitiesResponse + 29, // 37: spacemesh.v2alpha1.SmeshingIdentitiesService.Proposals:output_type -> spacemesh.v2alpha1.ProposalsResponse + 34, // [34:38] is the sub-list for method output_type + 30, // [30:34] is the sub-list for method input_type + 30, // [30:30] is the sub-list for extension type_name + 30, // [30:30] is the sub-list for extension extendee + 0, // [0:30] is the sub-list for field type_name } func init() { file_spacemesh_v2alpha1_smeshing_identities_proto_init() } @@ -1421,7 +2049,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ErrorInfo); i { + switch v := v.(*RetryingState); i { case 0: return &v.state case 1: @@ -1433,7 +2061,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PoETRegistration); i { + switch v := v.(*WaitForAtxSyncedState); i { case 0: return &v.state case 1: @@ -1445,7 +2073,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SubmittedRegistrations); i { + switch v := v.(*WaitingForPoetRegistrationWindowState); i { case 0: return &v.state case 1: @@ -1457,7 +2085,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IdentityStateInfo); i { + switch v := v.(*PoetChallengeReadyState); i { case 0: return &v.state case 1: @@ -1469,7 +2097,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Identity); i { + switch v := v.(*PoETRegistration); i { case 0: return &v.state case 1: @@ -1481,7 +2109,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IdentityStatesResponse); i { + switch v := v.(*PoetRegisteredState); i { case 0: return &v.state case 1: @@ -1493,7 +2121,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PoetInfoRequest); i { + switch v := v.(*WaitForPoetRoundEndState); i { case 0: return &v.state case 1: @@ -1505,7 +2133,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PoetConfig); i { + switch v := v.(*PoetProofReceivedState); i { case 0: return &v.state case 1: @@ -1517,7 +2145,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PoetInfoResponse); i { + switch v := v.(*GeneratingPostProofState); i { case 0: return &v.state case 1: @@ -1529,7 +2157,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Eligibilities); i { + switch v := v.(*PostProofReadyState); i { case 0: return &v.state case 1: @@ -1541,7 +2169,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProposalEligibility); i { + switch v := v.(*AtxReadyState); i { case 0: return &v.state case 1: @@ -1553,7 +2181,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EpochEligibilities); i { + switch v := v.(*AtxBroadcastedState); i { case 0: return &v.state case 1: @@ -1565,7 +2193,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EligibilitiesRequest); i { + switch v := v.(*ProposalPublishedState); i { case 0: return &v.state case 1: @@ -1577,7 +2205,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EligibilitiesResponse); i { + switch v := v.(*IdentityStateInfo); i { case 0: return &v.state case 1: @@ -1589,7 +2217,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProposalsRequest); i { + switch v := v.(*Identity); i { case 0: return &v.state case 1: @@ -1601,7 +2229,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proposal); i { + switch v := v.(*IdentityStatesResponse); i { case 0: return &v.state case 1: @@ -1613,7 +2241,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proposals); i { + switch v := v.(*PoetInfoRequest); i { case 0: return &v.state case 1: @@ -1625,6 +2253,126 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PoetConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PoetInfoResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Eligibilities); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProposalEligibility); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EpochEligibilities); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EligibilitiesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EligibilitiesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProposalsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Proposal); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Proposals); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ProposalsResponse); i { case 0: return &v.state @@ -1637,11 +2385,19 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } } - file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[4].OneofWrappers = []interface{}{ - (*IdentityStateInfo_Error)(nil), - (*IdentityStateInfo_PoetUrl)(nil), - (*IdentityStateInfo_SubmittedRegistrations)(nil), - (*IdentityStateInfo_Message)(nil), + file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[14].OneofWrappers = []interface{}{ + (*IdentityStateInfo_Retrying)(nil), + (*IdentityStateInfo_WaitForAtxSynced)(nil), + (*IdentityStateInfo_WaitingForPoetRegistrationWindow)(nil), + (*IdentityStateInfo_PoetChallengeReady)(nil), + (*IdentityStateInfo_PoetRegistered)(nil), + (*IdentityStateInfo_WaitForPoetRoundEnd)(nil), + (*IdentityStateInfo_PoetProofReceived)(nil), + (*IdentityStateInfo_GeneratingPostProof)(nil), + (*IdentityStateInfo_PostProofReady)(nil), + (*IdentityStateInfo_AtxReady)(nil), + (*IdentityStateInfo_AtxBroadcasted)(nil), + (*IdentityStateInfo_ProposalPublished)(nil), } type x struct{} out := protoimpl.TypeBuilder{ @@ -1649,7 +2405,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc, NumEnums: 1, - NumMessages: 23, + NumMessages: 33, NumExtensions: 0, NumServices: 1, }, diff --git a/release/openapi/swagger/src/api.swagger.json b/release/openapi/swagger/src/api.swagger.json index bee7328f..0be59d23 100644 --- a/release/openapi/swagger/src/api.swagger.json +++ b/release/openapi/swagger/src/api.swagger.json @@ -1203,6 +1203,18 @@ } } }, + "v2alpha1AtxBroadcastedState": { + "type": "object", + "properties": { + "atxId": { + "type": "string", + "format": "byte" + } + } + }, + "v2alpha1AtxReadyState": { + "type": "object" + }, "v2alpha1ContentsDrainVault": { "type": "object", "properties": { @@ -1308,14 +1320,6 @@ } } }, - "v2alpha1ErrorInfo": { - "type": "object", - "properties": { - "message": { - "type": "string" - } - } - }, "v2alpha1EstimateGasRequest": { "type": "object", "properties": { @@ -1339,6 +1343,9 @@ } } }, + "v2alpha1GeneratingPostProofState": { + "type": "object" + }, "v2alpha1Identity": { "type": "object", "properties": { @@ -1373,28 +1380,52 @@ "v2alpha1IdentityStateInfo": { "type": "object", "properties": { - "error": { - "$ref": "#/definitions/v2alpha1ErrorInfo" + "atxBroadcasted": { + "$ref": "#/definitions/v2alpha1AtxBroadcastedState" }, - "message": { - "type": "string" + "atxReady": { + "$ref": "#/definitions/v2alpha1AtxReadyState" }, - "poetUrl": { - "type": "string" + "generatingPostProof": { + "$ref": "#/definitions/v2alpha1GeneratingPostProofState" + }, + "poetChallengeReady": { + "$ref": "#/definitions/v2alpha1PoetChallengeReadyState" + }, + "poetProofReceived": { + "$ref": "#/definitions/v2alpha1PoetProofReceivedState" + }, + "poetRegistered": { + "$ref": "#/definitions/v2alpha1PoetRegisteredState" + }, + "postProofReady": { + "$ref": "#/definitions/v2alpha1PostProofReadyState" + }, + "proposalPublished": { + "$ref": "#/definitions/v2alpha1ProposalPublishedState" }, "publishEpoch": { "type": "integer", "format": "int64" }, + "retrying": { + "$ref": "#/definitions/v2alpha1RetryingState" + }, "state": { "$ref": "#/definitions/v2alpha1IdentityState" }, - "submittedRegistrations": { - "$ref": "#/definitions/v2alpha1SubmittedRegistrations" - }, "time": { "type": "string", "format": "date-time" + }, + "waitForAtxSynced": { + "$ref": "#/definitions/v2alpha1WaitForAtxSyncedState" + }, + "waitForPoetRoundEnd": { + "$ref": "#/definitions/v2alpha1WaitForPoetRoundEndState" + }, + "waitingForPoetRegistrationWindow": { + "$ref": "#/definitions/v2alpha1WaitingForPoetRegistrationWindowState" } } }, @@ -1526,6 +1557,9 @@ } } }, + "v2alpha1PoetChallengeReadyState": { + "type": "object" + }, "v2alpha1PoetConfig": { "type": "object", "properties": { @@ -1555,6 +1589,42 @@ } } }, + "v2alpha1PoetProofReceivedState": { + "type": "object", + "properties": { + "poetUrl": { + "type": "string" + } + } + }, + "v2alpha1PoetRegisteredState": { + "type": "object", + "properties": { + "registrations": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/v2alpha1PoETRegistration" + } + } + } + }, + "v2alpha1PostProofReadyState": { + "type": "object" + }, + "v2alpha1ProposalPublishedState": { + "type": "object", + "properties": { + "layer": { + "type": "integer", + "format": "int64" + }, + "proposal": { + "type": "string", + "format": "byte" + } + } + }, "v2alpha1ProposalsRequest": { "type": "object" }, @@ -1569,6 +1639,14 @@ } } }, + "v2alpha1RetryingState": { + "type": "object", + "properties": { + "message": { + "type": "string" + } + } + }, "v2alpha1RewardList": { "type": "object", "properties": { @@ -1628,18 +1706,6 @@ "DESC" ] }, - "v2alpha1SubmittedRegistrations": { - "type": "object", - "properties": { - "registrations": { - "type": "array", - "items": { - "type": "object", - "$ref": "#/definitions/v2alpha1PoETRegistration" - } - } - } - }, "v2alpha1TransactionContents": { "type": "object", "properties": { @@ -1741,6 +1807,15 @@ "$ref": "#/definitions/spacemeshv2alpha1TransactionState" } } + }, + "v2alpha1WaitForAtxSyncedState": { + "type": "object" + }, + "v2alpha1WaitForPoetRoundEndState": { + "type": "object" + }, + "v2alpha1WaitingForPoetRegistrationWindowState": { + "type": "object" } }, "tags": [ diff --git a/spacemesh/v2alpha1/smeshing_identities.proto b/spacemesh/v2alpha1/smeshing_identities.proto index dbe5d332..c85f1f82 100644 --- a/spacemesh/v2alpha1/smeshing_identities.proto +++ b/spacemesh/v2alpha1/smeshing_identities.proto @@ -6,6 +6,7 @@ import "google/api/annotations.proto"; import "google/api/visibility.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; +import "google/protobuf/empty.proto"; message IdentityStatesRequest {} @@ -30,9 +31,12 @@ enum IdentityState { PROPOSAL_PUBLISHED = 12; } -message ErrorInfo { +message RetryingState { string message = 1; } +message WaitForAtxSyncedState {} +message WaitingForPoetRegistrationWindowState {} +message PoetChallengeReadyState {} message PoETRegistration { bytes challenge_hash = 1; @@ -40,20 +44,42 @@ message PoETRegistration { string round_id = 3; google.protobuf.Timestamp round_end = 4; } - -message SubmittedRegistrations { +message PoetRegisteredState { repeated PoETRegistration registrations = 1; } +message WaitForPoetRoundEndState {} +message PoetProofReceivedState { + string poet_url = 1; +} +message GeneratingPostProofState {} +message PostProofReadyState {} +message AtxReadyState {} +message AtxBroadcastedState { + bytes atx_id = 1; +} +message ProposalPublishedState { + bytes proposal = 1; + uint32 layer = 2; +} + message IdentityStateInfo { IdentityState state = 1; optional uint32 publish_epoch = 2; google.protobuf.Timestamp time = 3; oneof metadata { - ErrorInfo error = 4; - string poet_url = 5; - SubmittedRegistrations submitted_registrations = 6; - string message = 7; + RetryingState retrying = 4; + WaitForAtxSyncedState wait_for_atx_synced = 5; + WaitingForPoetRegistrationWindowState waiting_for_poet_registration_window = 6; + PoetChallengeReadyState poet_challenge_ready = 7; + PoetRegisteredState poet_registered = 8; + WaitForPoetRoundEndState wait_for_poet_round_end = 9; + PoetProofReceivedState poet_proof_received = 10; + GeneratingPostProofState generating_post_proof = 11; + PostProofReadyState post_proof_ready = 12; + AtxReadyState atx_ready = 13; + AtxBroadcastedState atx_broadcasted = 14; + ProposalPublishedState proposal_published = 15; } } From b6ace316dc2bd375e489075cdb46594dc2f51777 Mon Sep 17 00:00:00 2001 From: Kacper Sawicki Date: Fri, 29 Nov 2024 14:29:57 +0100 Subject: [PATCH 35/41] Add round_end and publish_epoch_end to WaitForPoetRoundEnd --- .../v2alpha1/smeshing_identities.pb.go | 610 +++++++++--------- release/openapi/swagger/src/api.swagger.json | 12 +- spacemesh/v2alpha1/smeshing_identities.proto | 5 +- 3 files changed, 334 insertions(+), 293 deletions(-) diff --git a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go index 7e2817a7..b20c938a 100644 --- a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go +++ b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go @@ -425,6 +425,9 @@ type WaitForPoetRoundEndState struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + + RoundEnd *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=round_end,json=roundEnd,proto3" json:"round_end,omitempty"` + PublishEpochEnd *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=publish_epoch_end,json=publishEpochEnd,proto3" json:"publish_epoch_end,omitempty"` } func (x *WaitForPoetRoundEndState) Reset() { @@ -459,6 +462,20 @@ func (*WaitForPoetRoundEndState) Descriptor() ([]byte, []int) { return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{7} } +func (x *WaitForPoetRoundEndState) GetRoundEnd() *timestamppb.Timestamp { + if x != nil { + return x.RoundEnd + } + return nil +} + +func (x *WaitForPoetRoundEndState) GetPublishEpochEnd() *timestamppb.Timestamp { + if x != nil { + return x.PublishEpochEnd + } + return nil +} + type PoetProofReceivedState struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1675,261 +1692,270 @@ var file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc = []byte{ 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x45, 0x54, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x1a, 0x0a, 0x18, 0x57, 0x61, 0x69, - 0x74, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x45, 0x6e, 0x64, - 0x53, 0x74, 0x61, 0x74, 0x65, 0x22, 0x33, 0x0a, 0x16, 0x50, 0x6f, 0x65, 0x74, 0x50, 0x72, 0x6f, - 0x6f, 0x66, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, - 0x19, 0x0a, 0x08, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x07, 0x70, 0x6f, 0x65, 0x74, 0x55, 0x72, 0x6c, 0x22, 0x1a, 0x0a, 0x18, 0x47, 0x65, - 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6f, - 0x66, 0x53, 0x74, 0x61, 0x74, 0x65, 0x22, 0x15, 0x0a, 0x13, 0x50, 0x6f, 0x73, 0x74, 0x50, 0x72, - 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x61, 0x64, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x22, 0x0f, 0x0a, - 0x0d, 0x41, 0x74, 0x78, 0x52, 0x65, 0x61, 0x64, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x22, 0x2c, - 0x0a, 0x13, 0x41, 0x74, 0x78, 0x42, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x65, 0x64, - 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x61, 0x74, 0x78, 0x5f, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x61, 0x74, 0x78, 0x49, 0x64, 0x22, 0x4a, 0x0a, 0x16, - 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, - 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, - 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, - 0x61, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0d, 0x52, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x22, 0x94, 0x0a, 0x0a, 0x11, 0x49, 0x64, 0x65, - 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x37, - 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, - 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x28, 0x0a, 0x0d, 0x70, 0x75, 0x62, 0x6c, 0x69, - 0x73, 0x68, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x01, - 0x52, 0x0c, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x88, 0x01, - 0x01, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, - 0x65, 0x12, 0x3f, 0x0a, 0x08, 0x72, 0x65, 0x74, 0x72, 0x79, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, - 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x74, 0x72, 0x79, 0x69, 0x6e, - 0x67, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x08, 0x72, 0x65, 0x74, 0x72, 0x79, 0x69, - 0x6e, 0x67, 0x12, 0x5a, 0x0a, 0x13, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x61, - 0x74, 0x78, 0x5f, 0x73, 0x79, 0x6e, 0x63, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x41, 0x74, 0x78, 0x53, - 0x79, 0x6e, 0x63, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x10, 0x77, 0x61, - 0x69, 0x74, 0x46, 0x6f, 0x72, 0x41, 0x74, 0x78, 0x53, 0x79, 0x6e, 0x63, 0x65, 0x64, 0x12, 0x8b, - 0x01, 0x0a, 0x24, 0x77, 0x61, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x70, - 0x6f, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x5f, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x57, 0x61, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x65, - 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x69, 0x6e, - 0x64, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x20, 0x77, 0x61, 0x69, 0x74, - 0x69, 0x6e, 0x67, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x12, 0x5f, 0x0a, 0x14, - 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x72, - 0x65, 0x61, 0x64, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x50, 0x6f, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x61, - 0x64, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x12, 0x70, 0x6f, 0x65, 0x74, 0x43, - 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x61, 0x64, 0x79, 0x12, 0x52, 0x0a, - 0x0f, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, - 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, - 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, - 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, - 0x00, 0x52, 0x0e, 0x70, 0x6f, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, - 0x64, 0x12, 0x64, 0x0a, 0x17, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x70, 0x6f, - 0x65, 0x74, 0x5f, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x65, 0x6e, 0x64, 0x18, 0x09, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, - 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, - 0x6f, 0x65, 0x74, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x45, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, - 0x48, 0x00, 0x52, 0x13, 0x77, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x65, 0x74, 0x52, - 0x6f, 0x75, 0x6e, 0x64, 0x45, 0x6e, 0x64, 0x12, 0x5c, 0x0a, 0x13, 0x70, 0x6f, 0x65, 0x74, 0x5f, - 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x18, 0x0a, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, - 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x50, 0x72, - 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, - 0x48, 0x00, 0x52, 0x11, 0x70, 0x6f, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x63, - 0x65, 0x69, 0x76, 0x65, 0x64, 0x12, 0x62, 0x0a, 0x15, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, - 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x73, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, 0x0b, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, - 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, - 0x74, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x53, 0x74, 0x61, - 0x74, 0x65, 0x48, 0x00, 0x52, 0x13, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, - 0x50, 0x6f, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x53, 0x0a, 0x10, 0x70, 0x6f, 0x73, - 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x79, 0x18, 0x0c, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, - 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x50, 0x72, 0x6f, - 0x6f, 0x66, 0x52, 0x65, 0x61, 0x64, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x0e, - 0x70, 0x6f, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x61, 0x64, 0x79, 0x12, 0x40, - 0x0a, 0x09, 0x61, 0x74, 0x78, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x79, 0x18, 0x0d, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, 0x74, 0x78, 0x52, 0x65, 0x61, 0x64, 0x79, 0x53, - 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x08, 0x61, 0x74, 0x78, 0x52, 0x65, 0x61, 0x64, 0x79, - 0x12, 0x52, 0x0a, 0x0f, 0x61, 0x74, 0x78, 0x5f, 0x62, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, - 0x74, 0x65, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, - 0x74, 0x78, 0x42, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x65, 0x64, 0x53, 0x74, 0x61, - 0x74, 0x65, 0x48, 0x00, 0x52, 0x0e, 0x61, 0x74, 0x78, 0x42, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, - 0x73, 0x74, 0x65, 0x64, 0x12, 0x5b, 0x0a, 0x12, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, - 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x75, - 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x11, - 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, - 0x64, 0x42, 0x0a, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0x10, 0x0a, - 0x0e, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x22, - 0x4b, 0x0a, 0x08, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x3f, 0x0a, 0x07, 0x68, - 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x73, + 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x9b, 0x01, 0x0a, 0x18, 0x57, 0x61, + 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x45, 0x6e, + 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x37, 0x0a, 0x09, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x5f, + 0x65, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, + 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x08, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x45, 0x6e, 0x64, 0x12, + 0x46, 0x0a, 0x11, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, + 0x5f, 0x65, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x45, + 0x70, 0x6f, 0x63, 0x68, 0x45, 0x6e, 0x64, 0x22, 0x33, 0x0a, 0x16, 0x50, 0x6f, 0x65, 0x74, 0x50, + 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x6f, 0x65, 0x74, 0x55, 0x72, 0x6c, 0x22, 0x1a, 0x0a, 0x18, + 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x73, 0x74, 0x50, 0x72, + 0x6f, 0x6f, 0x66, 0x53, 0x74, 0x61, 0x74, 0x65, 0x22, 0x15, 0x0a, 0x13, 0x50, 0x6f, 0x73, 0x74, + 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x61, 0x64, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x22, + 0x0f, 0x0a, 0x0d, 0x41, 0x74, 0x78, 0x52, 0x65, 0x61, 0x64, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x22, 0x2c, 0x0a, 0x13, 0x41, 0x74, 0x78, 0x42, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, + 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x61, 0x74, 0x78, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x61, 0x74, 0x78, 0x49, 0x64, 0x22, 0x4a, + 0x0a, 0x16, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, + 0x68, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, + 0x6f, 0x73, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, + 0x6f, 0x73, 0x61, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x22, 0x94, 0x0a, 0x0a, 0x11, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x37, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x28, 0x0a, 0x0d, 0x70, 0x75, 0x62, + 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, + 0x48, 0x01, 0x52, 0x0c, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x45, 0x70, 0x6f, 0x63, 0x68, + 0x88, 0x01, 0x01, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, + 0x69, 0x6d, 0x65, 0x12, 0x3f, 0x0a, 0x08, 0x72, 0x65, 0x74, 0x72, 0x79, 0x69, 0x6e, 0x67, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, + 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x74, 0x72, 0x79, + 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x08, 0x72, 0x65, 0x74, 0x72, + 0x79, 0x69, 0x6e, 0x67, 0x12, 0x5a, 0x0a, 0x13, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x66, 0x6f, 0x72, + 0x5f, 0x61, 0x74, 0x78, 0x5f, 0x73, 0x79, 0x6e, 0x63, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x41, 0x74, + 0x78, 0x53, 0x79, 0x6e, 0x63, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x10, + 0x77, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x41, 0x74, 0x78, 0x53, 0x79, 0x6e, 0x63, 0x65, 0x64, + 0x12, 0x8b, 0x01, 0x0a, 0x24, 0x77, 0x61, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x66, 0x6f, 0x72, + 0x5f, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x39, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2e, 0x57, 0x61, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x46, 0x6f, 0x72, 0x50, + 0x6f, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, + 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x20, 0x77, 0x61, + 0x69, 0x74, 0x69, 0x6e, 0x67, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, + 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x12, 0x5f, + 0x0a, 0x14, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, + 0x5f, 0x72, 0x65, 0x61, 0x64, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, - 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x22, 0xd1, 0x01, 0x0a, - 0x16, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5a, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, - 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x73, 0x70, + 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, + 0x65, 0x61, 0x64, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x12, 0x70, 0x6f, 0x65, + 0x74, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x61, 0x64, 0x79, 0x12, + 0x52, 0x0a, 0x0f, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, + 0x65, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, + 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x48, 0x00, 0x52, 0x0e, 0x70, 0x6f, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, + 0x72, 0x65, 0x64, 0x12, 0x64, 0x0a, 0x17, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x5f, + 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x65, 0x6e, 0x64, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, + 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, + 0x72, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x45, 0x6e, 0x64, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x48, 0x00, 0x52, 0x13, 0x77, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x65, + 0x74, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x45, 0x6e, 0x64, 0x12, 0x5c, 0x0a, 0x13, 0x70, 0x6f, 0x65, + 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, + 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, + 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, + 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x48, 0x00, 0x52, 0x11, 0x70, 0x6f, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, + 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x12, 0x62, 0x0a, 0x15, 0x67, 0x65, 0x6e, 0x65, 0x72, + 0x61, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x73, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x6f, 0x66, + 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, + 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x65, + 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x13, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, + 0x6e, 0x67, 0x50, 0x6f, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x53, 0x0a, 0x10, 0x70, + 0x6f, 0x73, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x79, 0x18, + 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, + 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x50, + 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x61, 0x64, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, + 0x52, 0x0e, 0x70, 0x6f, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x61, 0x64, 0x79, + 0x12, 0x40, 0x0a, 0x09, 0x61, 0x74, 0x78, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x79, 0x18, 0x0d, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, + 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, 0x74, 0x78, 0x52, 0x65, 0x61, 0x64, + 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x08, 0x61, 0x74, 0x78, 0x52, 0x65, 0x61, + 0x64, 0x79, 0x12, 0x52, 0x0a, 0x0f, 0x61, 0x74, 0x78, 0x5f, 0x62, 0x72, 0x6f, 0x61, 0x64, 0x63, + 0x61, 0x73, 0x74, 0x65, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, - 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, - 0x69, 0x65, 0x73, 0x1a, 0x5b, 0x0a, 0x0f, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, - 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x32, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, - 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, - 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, - 0x22, 0x11, 0x0a, 0x0f, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x22, 0x80, 0x01, 0x0a, 0x0a, 0x50, 0x6f, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x12, 0x3a, 0x0a, 0x0b, 0x70, 0x68, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68, 0x69, 0x66, - 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x0a, 0x70, 0x68, 0x61, 0x73, 0x65, 0x53, 0x68, 0x69, 0x66, 0x74, 0x12, 0x36, - 0x0a, 0x09, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x5f, 0x67, 0x61, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x63, 0x79, - 0x63, 0x6c, 0x65, 0x47, 0x61, 0x70, 0x22, 0x60, 0x0a, 0x10, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, - 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x6f, - 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x70, 0x6f, 0x65, 0x74, 0x73, - 0x12, 0x36, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1e, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x5e, 0x0a, 0x0d, 0x45, 0x6c, 0x69, 0x67, - 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x4d, 0x0a, 0x0d, 0x65, 0x6c, 0x69, - 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x27, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x45, 0x6c, - 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0d, 0x65, 0x6c, 0x69, 0x67, 0x69, - 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x22, 0x41, 0x0a, 0x13, 0x50, 0x72, 0x6f, 0x70, - 0x6f, 0x73, 0x61, 0x6c, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, - 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, - 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xbe, 0x01, 0x0a, 0x12, - 0x45, 0x70, 0x6f, 0x63, 0x68, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, - 0x65, 0x73, 0x12, 0x4a, 0x0a, 0x06, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, - 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x45, 0x6c, 0x69, - 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, - 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x1a, 0x5c, - 0x0a, 0x0b, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, - 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, - 0x37, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, + 0x2e, 0x41, 0x74, 0x78, 0x42, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x65, 0x64, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x0e, 0x61, 0x74, 0x78, 0x42, 0x72, 0x6f, 0x61, 0x64, + 0x63, 0x61, 0x73, 0x74, 0x65, 0x64, 0x12, 0x5b, 0x0a, 0x12, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, + 0x61, 0x6c, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x64, 0x18, 0x0f, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, + 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, + 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, + 0x52, 0x11, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, + 0x68, 0x65, 0x64, 0x42, 0x0a, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, + 0x10, 0x0a, 0x0e, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x65, 0x70, 0x6f, 0x63, + 0x68, 0x22, 0x4b, 0x0a, 0x08, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x3f, 0x0a, + 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, - 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x16, 0x0a, 0x14, - 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x22, 0xe5, 0x01, 0x0a, 0x15, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, - 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, - 0x0a, 0x0d, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, - 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, - 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x52, 0x0d, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, - 0x65, 0x73, 0x1a, 0x68, 0x0a, 0x12, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x22, 0xd1, + 0x01, 0x0a, 0x16, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5a, 0x0a, 0x0a, 0x69, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x69, 0x65, 0x73, 0x1a, 0x5b, 0x0a, 0x0f, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3c, 0x0a, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, - 0x70, 0x6f, 0x63, 0x68, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, - 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x12, 0x0a, 0x10, - 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x22, 0x3c, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x12, 0x14, 0x0a, 0x05, - 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x61, 0x79, - 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x22, 0x47, - 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x12, 0x3a, 0x0a, 0x09, 0x70, - 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, - 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x52, 0x09, 0x70, 0x72, - 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x22, 0xc4, 0x01, 0x0a, 0x11, 0x50, 0x72, 0x6f, 0x70, - 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x32, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, + 0x38, 0x01, 0x22, 0x11, 0x0a, 0x0f, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x80, 0x01, 0x0a, 0x0a, 0x50, 0x6f, 0x65, 0x74, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3a, 0x0a, 0x0b, 0x70, 0x68, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68, + 0x69, 0x66, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x70, 0x68, 0x61, 0x73, 0x65, 0x53, 0x68, 0x69, 0x66, 0x74, + 0x12, 0x36, 0x0a, 0x09, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x5f, 0x67, 0x61, 0x70, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, + 0x63, 0x79, 0x63, 0x6c, 0x65, 0x47, 0x61, 0x70, 0x22, 0x60, 0x0a, 0x10, 0x50, 0x6f, 0x65, 0x74, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, + 0x70, 0x6f, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x70, 0x6f, 0x65, + 0x74, 0x73, 0x12, 0x36, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, + 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x5e, 0x0a, 0x0d, 0x45, 0x6c, + 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x4d, 0x0a, 0x0d, 0x65, + 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, + 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, + 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0d, 0x65, 0x6c, 0x69, + 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x22, 0x41, 0x0a, 0x13, 0x50, 0x72, + 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x79, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xbe, 0x01, + 0x0a, 0x12, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, + 0x74, 0x69, 0x65, 0x73, 0x12, 0x4a, 0x0a, 0x06, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, + 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x45, + 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, + 0x63, 0x68, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x73, + 0x1a, 0x5c, 0x0a, 0x0b, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, + 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, + 0x79, 0x12, 0x37, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x69, 0x65, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x16, + 0x0a, 0x14, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xe5, 0x01, 0x0a, 0x15, 0x45, 0x6c, 0x69, 0x67, 0x69, + 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x62, 0x0a, 0x0d, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, + 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, + 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, + 0x74, 0x69, 0x65, 0x73, 0x1a, 0x68, 0x0a, 0x12, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, + 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3c, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x69, 0x65, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x12, + 0x0a, 0x10, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x22, 0x3c, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x12, 0x14, + 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, + 0x22, 0x47, 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x12, 0x3a, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x34, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, - 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, - 0x73, 0x1a, 0x5b, 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x33, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, - 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, - 0x61, 0x6c, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x2a, 0xc3, - 0x02, 0x0a, 0x0d, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, - 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, - 0x00, 0x12, 0x17, 0x0a, 0x13, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x41, 0x54, - 0x58, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x45, - 0x54, 0x52, 0x59, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x28, 0x0a, 0x24, 0x57, 0x41, 0x49, 0x54, - 0x49, 0x4e, 0x47, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, - 0x49, 0x53, 0x54, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x57, 0x49, 0x4e, 0x44, 0x4f, 0x57, - 0x10, 0x03, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4c, 0x4c, - 0x45, 0x4e, 0x47, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f, - 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x45, 0x52, 0x45, 0x44, 0x10, - 0x05, 0x12, 0x1b, 0x0a, 0x17, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, - 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x55, 0x4e, 0x44, 0x5f, 0x45, 0x4e, 0x44, 0x10, 0x06, 0x12, 0x17, - 0x0a, 0x13, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x43, - 0x45, 0x49, 0x56, 0x45, 0x44, 0x10, 0x07, 0x12, 0x19, 0x0a, 0x15, 0x47, 0x45, 0x4e, 0x45, 0x52, - 0x41, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, - 0x10, 0x08, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, - 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x09, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x54, 0x58, 0x5f, - 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x0a, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x54, 0x58, 0x5f, 0x42, - 0x52, 0x4f, 0x41, 0x44, 0x43, 0x41, 0x53, 0x54, 0x45, 0x44, 0x10, 0x0b, 0x12, 0x16, 0x0a, 0x12, - 0x50, 0x52, 0x4f, 0x50, 0x4f, 0x53, 0x41, 0x4c, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, - 0x45, 0x44, 0x10, 0x0c, 0x32, 0xa7, 0x03, 0x0a, 0x19, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, - 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x12, 0x61, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, - 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, - 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x57, 0x0a, 0x08, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, - 0x6f, 0x12, 0x23, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, - 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, - 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x66, - 0x0a, 0x0d, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, - 0x28, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, - 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, - 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, - 0x61, 0x6c, 0x73, 0x12, 0x24, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, - 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, - 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, - 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x1a, 0x0a, 0xfa, 0xd2, 0xe4, 0x93, 0x02, 0x04, 0x12, 0x02, 0x56, 0x32, 0x42, 0xe6, - 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, - 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x17, 0x53, 0x6d, 0x65, 0x73, 0x68, - 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x50, 0x72, 0x6f, - 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, - 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, - 0x73, 0x68, 0x2e, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x12, 0x53, 0x70, - 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0xe2, 0x02, 0x1e, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0xea, 0x02, 0x13, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x3a, 0x3a, 0x56, - 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x32, 0x1c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x52, 0x09, + 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x22, 0xc4, 0x01, 0x0a, 0x11, 0x50, 0x72, + 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x52, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, + 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, + 0x61, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, + 0x61, 0x6c, 0x73, 0x1a, 0x5b, 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x33, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, + 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, + 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, + 0x2a, 0xc3, 0x02, 0x0a, 0x0d, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, + 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, + 0x41, 0x54, 0x58, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, + 0x52, 0x45, 0x54, 0x52, 0x59, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x28, 0x0a, 0x24, 0x57, 0x41, + 0x49, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, + 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x57, 0x49, 0x4e, 0x44, + 0x4f, 0x57, 0x10, 0x03, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x43, 0x48, 0x41, + 0x4c, 0x4c, 0x45, 0x4e, 0x47, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x04, 0x12, 0x13, + 0x0a, 0x0f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x45, 0x52, 0x45, + 0x44, 0x10, 0x05, 0x12, 0x1b, 0x0a, 0x17, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, + 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x55, 0x4e, 0x44, 0x5f, 0x45, 0x4e, 0x44, 0x10, 0x06, + 0x12, 0x17, 0x0a, 0x13, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, + 0x45, 0x43, 0x45, 0x49, 0x56, 0x45, 0x44, 0x10, 0x07, 0x12, 0x19, 0x0a, 0x15, 0x47, 0x45, 0x4e, + 0x45, 0x52, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, + 0x4f, 0x46, 0x10, 0x08, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, + 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x09, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x54, + 0x58, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x0a, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x54, 0x58, + 0x5f, 0x42, 0x52, 0x4f, 0x41, 0x44, 0x43, 0x41, 0x53, 0x54, 0x45, 0x44, 0x10, 0x0b, 0x12, 0x16, + 0x0a, 0x12, 0x50, 0x52, 0x4f, 0x50, 0x4f, 0x53, 0x41, 0x4c, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, + 0x53, 0x48, 0x45, 0x44, 0x10, 0x0c, 0x32, 0xa7, 0x03, 0x0a, 0x19, 0x53, 0x6d, 0x65, 0x73, 0x68, + 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x12, 0x61, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, 0x29, + 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x57, 0x0a, 0x08, 0x50, 0x6f, 0x65, 0x74, 0x49, + 0x6e, 0x66, 0x6f, 0x12, 0x23, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, + 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, + 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x66, 0x0a, 0x0d, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, + 0x73, 0x12, 0x28, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, + 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x70, + 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x12, 0x24, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, + 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, + 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x1a, 0x0a, 0xfa, 0xd2, 0xe4, 0x93, 0x02, 0x04, 0x12, 0x02, 0x56, 0x32, + 0x42, 0xe6, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, + 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x17, 0x53, 0x6d, 0x65, + 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x50, + 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, + 0x6f, 0x6d, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, + 0x70, 0x69, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x3b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, + 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x12, + 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0xe2, 0x02, 0x1e, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, + 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0xea, 0x02, 0x13, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x3a, + 0x3a, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, } var ( @@ -1987,47 +2013,49 @@ var file_spacemesh_v2alpha1_smeshing_identities_proto_goTypes = []interface{}{ var file_spacemesh_v2alpha1_smeshing_identities_proto_depIdxs = []int32{ 34, // 0: spacemesh.v2alpha1.PoETRegistration.round_end:type_name -> google.protobuf.Timestamp 6, // 1: spacemesh.v2alpha1.PoetRegisteredState.registrations:type_name -> spacemesh.v2alpha1.PoETRegistration - 0, // 2: spacemesh.v2alpha1.IdentityStateInfo.state:type_name -> spacemesh.v2alpha1.IdentityState - 34, // 3: spacemesh.v2alpha1.IdentityStateInfo.time:type_name -> google.protobuf.Timestamp - 2, // 4: spacemesh.v2alpha1.IdentityStateInfo.retrying:type_name -> spacemesh.v2alpha1.RetryingState - 3, // 5: spacemesh.v2alpha1.IdentityStateInfo.wait_for_atx_synced:type_name -> spacemesh.v2alpha1.WaitForAtxSyncedState - 4, // 6: spacemesh.v2alpha1.IdentityStateInfo.waiting_for_poet_registration_window:type_name -> spacemesh.v2alpha1.WaitingForPoetRegistrationWindowState - 5, // 7: spacemesh.v2alpha1.IdentityStateInfo.poet_challenge_ready:type_name -> spacemesh.v2alpha1.PoetChallengeReadyState - 7, // 8: spacemesh.v2alpha1.IdentityStateInfo.poet_registered:type_name -> spacemesh.v2alpha1.PoetRegisteredState - 8, // 9: spacemesh.v2alpha1.IdentityStateInfo.wait_for_poet_round_end:type_name -> spacemesh.v2alpha1.WaitForPoetRoundEndState - 9, // 10: spacemesh.v2alpha1.IdentityStateInfo.poet_proof_received:type_name -> spacemesh.v2alpha1.PoetProofReceivedState - 10, // 11: spacemesh.v2alpha1.IdentityStateInfo.generating_post_proof:type_name -> spacemesh.v2alpha1.GeneratingPostProofState - 11, // 12: spacemesh.v2alpha1.IdentityStateInfo.post_proof_ready:type_name -> spacemesh.v2alpha1.PostProofReadyState - 12, // 13: spacemesh.v2alpha1.IdentityStateInfo.atx_ready:type_name -> spacemesh.v2alpha1.AtxReadyState - 13, // 14: spacemesh.v2alpha1.IdentityStateInfo.atx_broadcasted:type_name -> spacemesh.v2alpha1.AtxBroadcastedState - 14, // 15: spacemesh.v2alpha1.IdentityStateInfo.proposal_published:type_name -> spacemesh.v2alpha1.ProposalPublishedState - 15, // 16: spacemesh.v2alpha1.Identity.history:type_name -> spacemesh.v2alpha1.IdentityStateInfo - 30, // 17: spacemesh.v2alpha1.IdentityStatesResponse.identities:type_name -> spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry - 35, // 18: spacemesh.v2alpha1.PoetConfig.phase_shift:type_name -> google.protobuf.Duration - 35, // 19: spacemesh.v2alpha1.PoetConfig.cycle_gap:type_name -> google.protobuf.Duration - 19, // 20: spacemesh.v2alpha1.PoetInfoResponse.config:type_name -> spacemesh.v2alpha1.PoetConfig - 22, // 21: spacemesh.v2alpha1.Eligibilities.eligibilities:type_name -> spacemesh.v2alpha1.ProposalEligibility - 31, // 22: spacemesh.v2alpha1.EpochEligibilities.epochs:type_name -> spacemesh.v2alpha1.EpochEligibilities.EpochsEntry - 32, // 23: spacemesh.v2alpha1.EligibilitiesResponse.eligibilities:type_name -> spacemesh.v2alpha1.EligibilitiesResponse.EligibilitiesEntry - 27, // 24: spacemesh.v2alpha1.Proposals.proposals:type_name -> spacemesh.v2alpha1.Proposal - 33, // 25: spacemesh.v2alpha1.ProposalsResponse.proposals:type_name -> spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry - 16, // 26: spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry.value:type_name -> spacemesh.v2alpha1.Identity - 21, // 27: spacemesh.v2alpha1.EpochEligibilities.EpochsEntry.value:type_name -> spacemesh.v2alpha1.Eligibilities - 23, // 28: spacemesh.v2alpha1.EligibilitiesResponse.EligibilitiesEntry.value:type_name -> spacemesh.v2alpha1.EpochEligibilities - 28, // 29: spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry.value:type_name -> spacemesh.v2alpha1.Proposals - 1, // 30: spacemesh.v2alpha1.SmeshingIdentitiesService.States:input_type -> spacemesh.v2alpha1.IdentityStatesRequest - 18, // 31: spacemesh.v2alpha1.SmeshingIdentitiesService.PoetInfo:input_type -> spacemesh.v2alpha1.PoetInfoRequest - 24, // 32: spacemesh.v2alpha1.SmeshingIdentitiesService.Eligibilities:input_type -> spacemesh.v2alpha1.EligibilitiesRequest - 26, // 33: spacemesh.v2alpha1.SmeshingIdentitiesService.Proposals:input_type -> spacemesh.v2alpha1.ProposalsRequest - 17, // 34: spacemesh.v2alpha1.SmeshingIdentitiesService.States:output_type -> spacemesh.v2alpha1.IdentityStatesResponse - 20, // 35: spacemesh.v2alpha1.SmeshingIdentitiesService.PoetInfo:output_type -> spacemesh.v2alpha1.PoetInfoResponse - 25, // 36: spacemesh.v2alpha1.SmeshingIdentitiesService.Eligibilities:output_type -> spacemesh.v2alpha1.EligibilitiesResponse - 29, // 37: spacemesh.v2alpha1.SmeshingIdentitiesService.Proposals:output_type -> spacemesh.v2alpha1.ProposalsResponse - 34, // [34:38] is the sub-list for method output_type - 30, // [30:34] is the sub-list for method input_type - 30, // [30:30] is the sub-list for extension type_name - 30, // [30:30] is the sub-list for extension extendee - 0, // [0:30] is the sub-list for field type_name + 34, // 2: spacemesh.v2alpha1.WaitForPoetRoundEndState.round_end:type_name -> google.protobuf.Timestamp + 34, // 3: spacemesh.v2alpha1.WaitForPoetRoundEndState.publish_epoch_end:type_name -> google.protobuf.Timestamp + 0, // 4: spacemesh.v2alpha1.IdentityStateInfo.state:type_name -> spacemesh.v2alpha1.IdentityState + 34, // 5: spacemesh.v2alpha1.IdentityStateInfo.time:type_name -> google.protobuf.Timestamp + 2, // 6: spacemesh.v2alpha1.IdentityStateInfo.retrying:type_name -> spacemesh.v2alpha1.RetryingState + 3, // 7: spacemesh.v2alpha1.IdentityStateInfo.wait_for_atx_synced:type_name -> spacemesh.v2alpha1.WaitForAtxSyncedState + 4, // 8: spacemesh.v2alpha1.IdentityStateInfo.waiting_for_poet_registration_window:type_name -> spacemesh.v2alpha1.WaitingForPoetRegistrationWindowState + 5, // 9: spacemesh.v2alpha1.IdentityStateInfo.poet_challenge_ready:type_name -> spacemesh.v2alpha1.PoetChallengeReadyState + 7, // 10: spacemesh.v2alpha1.IdentityStateInfo.poet_registered:type_name -> spacemesh.v2alpha1.PoetRegisteredState + 8, // 11: spacemesh.v2alpha1.IdentityStateInfo.wait_for_poet_round_end:type_name -> spacemesh.v2alpha1.WaitForPoetRoundEndState + 9, // 12: spacemesh.v2alpha1.IdentityStateInfo.poet_proof_received:type_name -> spacemesh.v2alpha1.PoetProofReceivedState + 10, // 13: spacemesh.v2alpha1.IdentityStateInfo.generating_post_proof:type_name -> spacemesh.v2alpha1.GeneratingPostProofState + 11, // 14: spacemesh.v2alpha1.IdentityStateInfo.post_proof_ready:type_name -> spacemesh.v2alpha1.PostProofReadyState + 12, // 15: spacemesh.v2alpha1.IdentityStateInfo.atx_ready:type_name -> spacemesh.v2alpha1.AtxReadyState + 13, // 16: spacemesh.v2alpha1.IdentityStateInfo.atx_broadcasted:type_name -> spacemesh.v2alpha1.AtxBroadcastedState + 14, // 17: spacemesh.v2alpha1.IdentityStateInfo.proposal_published:type_name -> spacemesh.v2alpha1.ProposalPublishedState + 15, // 18: spacemesh.v2alpha1.Identity.history:type_name -> spacemesh.v2alpha1.IdentityStateInfo + 30, // 19: spacemesh.v2alpha1.IdentityStatesResponse.identities:type_name -> spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry + 35, // 20: spacemesh.v2alpha1.PoetConfig.phase_shift:type_name -> google.protobuf.Duration + 35, // 21: spacemesh.v2alpha1.PoetConfig.cycle_gap:type_name -> google.protobuf.Duration + 19, // 22: spacemesh.v2alpha1.PoetInfoResponse.config:type_name -> spacemesh.v2alpha1.PoetConfig + 22, // 23: spacemesh.v2alpha1.Eligibilities.eligibilities:type_name -> spacemesh.v2alpha1.ProposalEligibility + 31, // 24: spacemesh.v2alpha1.EpochEligibilities.epochs:type_name -> spacemesh.v2alpha1.EpochEligibilities.EpochsEntry + 32, // 25: spacemesh.v2alpha1.EligibilitiesResponse.eligibilities:type_name -> spacemesh.v2alpha1.EligibilitiesResponse.EligibilitiesEntry + 27, // 26: spacemesh.v2alpha1.Proposals.proposals:type_name -> spacemesh.v2alpha1.Proposal + 33, // 27: spacemesh.v2alpha1.ProposalsResponse.proposals:type_name -> spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry + 16, // 28: spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry.value:type_name -> spacemesh.v2alpha1.Identity + 21, // 29: spacemesh.v2alpha1.EpochEligibilities.EpochsEntry.value:type_name -> spacemesh.v2alpha1.Eligibilities + 23, // 30: spacemesh.v2alpha1.EligibilitiesResponse.EligibilitiesEntry.value:type_name -> spacemesh.v2alpha1.EpochEligibilities + 28, // 31: spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry.value:type_name -> spacemesh.v2alpha1.Proposals + 1, // 32: spacemesh.v2alpha1.SmeshingIdentitiesService.States:input_type -> spacemesh.v2alpha1.IdentityStatesRequest + 18, // 33: spacemesh.v2alpha1.SmeshingIdentitiesService.PoetInfo:input_type -> spacemesh.v2alpha1.PoetInfoRequest + 24, // 34: spacemesh.v2alpha1.SmeshingIdentitiesService.Eligibilities:input_type -> spacemesh.v2alpha1.EligibilitiesRequest + 26, // 35: spacemesh.v2alpha1.SmeshingIdentitiesService.Proposals:input_type -> spacemesh.v2alpha1.ProposalsRequest + 17, // 36: spacemesh.v2alpha1.SmeshingIdentitiesService.States:output_type -> spacemesh.v2alpha1.IdentityStatesResponse + 20, // 37: spacemesh.v2alpha1.SmeshingIdentitiesService.PoetInfo:output_type -> spacemesh.v2alpha1.PoetInfoResponse + 25, // 38: spacemesh.v2alpha1.SmeshingIdentitiesService.Eligibilities:output_type -> spacemesh.v2alpha1.EligibilitiesResponse + 29, // 39: spacemesh.v2alpha1.SmeshingIdentitiesService.Proposals:output_type -> spacemesh.v2alpha1.ProposalsResponse + 36, // [36:40] is the sub-list for method output_type + 32, // [32:36] is the sub-list for method input_type + 32, // [32:32] is the sub-list for extension type_name + 32, // [32:32] is the sub-list for extension extendee + 0, // [0:32] is the sub-list for field type_name } func init() { file_spacemesh_v2alpha1_smeshing_identities_proto_init() } diff --git a/release/openapi/swagger/src/api.swagger.json b/release/openapi/swagger/src/api.swagger.json index 0be59d23..4c5464ee 100644 --- a/release/openapi/swagger/src/api.swagger.json +++ b/release/openapi/swagger/src/api.swagger.json @@ -1812,7 +1812,17 @@ "type": "object" }, "v2alpha1WaitForPoetRoundEndState": { - "type": "object" + "type": "object", + "properties": { + "publishEpochEnd": { + "type": "string", + "format": "date-time" + }, + "roundEnd": { + "type": "string", + "format": "date-time" + } + } }, "v2alpha1WaitingForPoetRegistrationWindowState": { "type": "object" diff --git a/spacemesh/v2alpha1/smeshing_identities.proto b/spacemesh/v2alpha1/smeshing_identities.proto index c85f1f82..4fe2db56 100644 --- a/spacemesh/v2alpha1/smeshing_identities.proto +++ b/spacemesh/v2alpha1/smeshing_identities.proto @@ -48,7 +48,10 @@ message PoetRegisteredState { repeated PoETRegistration registrations = 1; } -message WaitForPoetRoundEndState {} +message WaitForPoetRoundEndState { + google.protobuf.Timestamp round_end = 1; + google.protobuf.Timestamp publish_epoch_end = 2; +} message PoetProofReceivedState { string poet_url = 1; } From 3c53db62b27db402b8515a4fbb99f44bbdf7ee2d Mon Sep 17 00:00:00 2001 From: Kacper Sawicki Date: Mon, 2 Dec 2024 12:42:39 +0100 Subject: [PATCH 36/41] Change eligibilities response key name to identities --- .../v2alpha1/smeshing_identities.pb.go | 207 +++++++++--------- release/openapi/swagger/src/api.swagger.json | 2 +- spacemesh/v2alpha1/smeshing_identities.proto | 2 +- 3 files changed, 105 insertions(+), 106 deletions(-) diff --git a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go index b20c938a..f75a6dcd 100644 --- a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go +++ b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go @@ -1420,7 +1420,7 @@ type EligibilitiesResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Eligibilities map[string]*EpochEligibilities `protobuf:"bytes,1,rep,name=eligibilities,proto3" json:"eligibilities,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Identities map[string]*EpochEligibilities `protobuf:"bytes,1,rep,name=identities,proto3" json:"identities,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } func (x *EligibilitiesResponse) Reset() { @@ -1455,9 +1455,9 @@ func (*EligibilitiesResponse) Descriptor() ([]byte, []int) { return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{24} } -func (x *EligibilitiesResponse) GetEligibilities() map[string]*EpochEligibilities { +func (x *EligibilitiesResponse) GetIdentities() map[string]*EpochEligibilities { if x != nil { - return x.Eligibilities + return x.Identities } return nil } @@ -1856,106 +1856,105 @@ var file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc = []byte{ 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x16, 0x0a, 0x14, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xe5, 0x01, 0x0a, 0x15, 0x45, 0x6c, 0x69, 0x67, 0x69, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xd9, 0x01, 0x0a, 0x15, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x62, 0x0a, 0x0d, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, - 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, - 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, - 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, - 0x74, 0x69, 0x65, 0x73, 0x1a, 0x68, 0x0a, 0x12, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, - 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, - 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3c, 0x0a, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, - 0x69, 0x65, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x12, - 0x0a, 0x10, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x22, 0x3c, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x12, 0x14, - 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, - 0x61, 0x79, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, - 0x22, 0x47, 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x12, 0x3a, 0x0a, - 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x1c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x52, 0x09, - 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x22, 0xc4, 0x01, 0x0a, 0x11, 0x50, 0x72, - 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x52, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, - 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, - 0x61, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, - 0x61, 0x6c, 0x73, 0x1a, 0x5b, 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, - 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x33, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, + 0x12, 0x59, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, + 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, + 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, + 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, + 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x1a, 0x65, 0x0a, 0x0f, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, + 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, + 0x12, 0x3c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x26, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, + 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, + 0x38, 0x01, 0x22, 0x12, 0x0a, 0x10, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x3c, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, + 0x61, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, + 0x6f, 0x73, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, + 0x6f, 0x73, 0x61, 0x6c, 0x22, 0x47, 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, + 0x73, 0x12, 0x3a, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, + 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, + 0x61, 0x6c, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x22, 0xc4, 0x01, + 0x0a, 0x11, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, - 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, - 0x2a, 0xc3, 0x02, 0x0a, 0x0d, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, - 0x74, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, - 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, - 0x41, 0x54, 0x58, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, - 0x52, 0x45, 0x54, 0x52, 0x59, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x28, 0x0a, 0x24, 0x57, 0x41, - 0x49, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, - 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x57, 0x49, 0x4e, 0x44, - 0x4f, 0x57, 0x10, 0x03, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x43, 0x48, 0x41, - 0x4c, 0x4c, 0x45, 0x4e, 0x47, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x04, 0x12, 0x13, - 0x0a, 0x0f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x45, 0x52, 0x45, - 0x44, 0x10, 0x05, 0x12, 0x1b, 0x0a, 0x17, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, - 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x55, 0x4e, 0x44, 0x5f, 0x45, 0x4e, 0x44, 0x10, 0x06, - 0x12, 0x17, 0x0a, 0x13, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, - 0x45, 0x43, 0x45, 0x49, 0x56, 0x45, 0x44, 0x10, 0x07, 0x12, 0x19, 0x0a, 0x15, 0x47, 0x45, 0x4e, - 0x45, 0x52, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, - 0x4f, 0x46, 0x10, 0x08, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, - 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x09, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x54, - 0x58, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x0a, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x54, 0x58, - 0x5f, 0x42, 0x52, 0x4f, 0x41, 0x44, 0x43, 0x41, 0x53, 0x54, 0x45, 0x44, 0x10, 0x0b, 0x12, 0x16, - 0x0a, 0x12, 0x50, 0x52, 0x4f, 0x50, 0x4f, 0x53, 0x41, 0x4c, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, - 0x53, 0x48, 0x45, 0x44, 0x10, 0x0c, 0x32, 0xa7, 0x03, 0x0a, 0x19, 0x53, 0x6d, 0x65, 0x73, 0x68, - 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x12, 0x61, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, 0x29, - 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, - 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, - 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x57, 0x0a, 0x08, 0x50, 0x6f, 0x65, 0x74, 0x49, - 0x6e, 0x66, 0x6f, 0x12, 0x23, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, - 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, - 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, - 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, - 0x12, 0x66, 0x0a, 0x0d, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, - 0x73, 0x12, 0x28, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, - 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x70, - 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x12, 0x24, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, - 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, - 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x1a, 0x0a, 0xfa, 0xd2, 0xe4, 0x93, 0x02, 0x04, 0x12, 0x02, 0x56, 0x32, - 0x42, 0xe6, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, - 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x17, 0x53, 0x6d, 0x65, - 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x50, - 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, - 0x6f, 0x6d, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, - 0x70, 0x69, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x3b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, - 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x12, - 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0xe2, 0x02, 0x1e, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, - 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, - 0x61, 0x74, 0x61, 0xea, 0x02, 0x13, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x3a, - 0x3a, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, + 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x72, + 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x70, 0x72, + 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x1a, 0x5b, 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x70, 0x6f, + 0x73, 0x61, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x33, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, + 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x3a, 0x02, 0x38, 0x01, 0x2a, 0xc3, 0x02, 0x0a, 0x0d, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, + 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x57, 0x41, 0x49, 0x54, 0x5f, + 0x46, 0x4f, 0x52, 0x5f, 0x41, 0x54, 0x58, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x45, 0x44, 0x10, 0x01, + 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x45, 0x54, 0x52, 0x59, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x28, + 0x0a, 0x24, 0x57, 0x41, 0x49, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, + 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, + 0x57, 0x49, 0x4e, 0x44, 0x4f, 0x57, 0x10, 0x03, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4f, 0x45, 0x54, + 0x5f, 0x43, 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, 0x47, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, + 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, + 0x54, 0x45, 0x52, 0x45, 0x44, 0x10, 0x05, 0x12, 0x1b, 0x0a, 0x17, 0x57, 0x41, 0x49, 0x54, 0x5f, + 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x55, 0x4e, 0x44, 0x5f, 0x45, + 0x4e, 0x44, 0x10, 0x06, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, + 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x43, 0x45, 0x49, 0x56, 0x45, 0x44, 0x10, 0x07, 0x12, 0x19, 0x0a, + 0x15, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x4f, 0x53, 0x54, + 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x10, 0x08, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x4f, 0x53, 0x54, + 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x09, 0x12, 0x0d, + 0x0a, 0x09, 0x41, 0x54, 0x58, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x0a, 0x12, 0x13, 0x0a, + 0x0f, 0x41, 0x54, 0x58, 0x5f, 0x42, 0x52, 0x4f, 0x41, 0x44, 0x43, 0x41, 0x53, 0x54, 0x45, 0x44, + 0x10, 0x0b, 0x12, 0x16, 0x0a, 0x12, 0x50, 0x52, 0x4f, 0x50, 0x4f, 0x53, 0x41, 0x4c, 0x5f, 0x50, + 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, 0x45, 0x44, 0x10, 0x0c, 0x32, 0xa7, 0x03, 0x0a, 0x19, 0x53, + 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, + 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x61, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x73, 0x12, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, + 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x57, 0x0a, 0x08, 0x50, + 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x23, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, + 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, + 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x66, 0x0a, 0x0d, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, + 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x28, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, + 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, + 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, + 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x09, + 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x12, 0x24, 0x2e, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, + 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x25, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x1a, 0x0a, 0xfa, 0xd2, 0xe4, 0x93, 0x02, 0x04, + 0x12, 0x02, 0x56, 0x32, 0x42, 0xe6, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, + 0x17, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x69, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, + 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2f, 0x67, + 0x6f, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, 0x32, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x3b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x76, 0x32, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, 0x02, 0x12, 0x53, + 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0xca, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x1e, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, + 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x13, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, + 0x65, 0x73, 0x68, 0x3a, 0x3a, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -2005,7 +2004,7 @@ var file_spacemesh_v2alpha1_smeshing_identities_proto_goTypes = []interface{}{ (*ProposalsResponse)(nil), // 29: spacemesh.v2alpha1.ProposalsResponse nil, // 30: spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry nil, // 31: spacemesh.v2alpha1.EpochEligibilities.EpochsEntry - nil, // 32: spacemesh.v2alpha1.EligibilitiesResponse.EligibilitiesEntry + nil, // 32: spacemesh.v2alpha1.EligibilitiesResponse.IdentitiesEntry nil, // 33: spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry (*timestamppb.Timestamp)(nil), // 34: google.protobuf.Timestamp (*durationpb.Duration)(nil), // 35: google.protobuf.Duration @@ -2036,12 +2035,12 @@ var file_spacemesh_v2alpha1_smeshing_identities_proto_depIdxs = []int32{ 19, // 22: spacemesh.v2alpha1.PoetInfoResponse.config:type_name -> spacemesh.v2alpha1.PoetConfig 22, // 23: spacemesh.v2alpha1.Eligibilities.eligibilities:type_name -> spacemesh.v2alpha1.ProposalEligibility 31, // 24: spacemesh.v2alpha1.EpochEligibilities.epochs:type_name -> spacemesh.v2alpha1.EpochEligibilities.EpochsEntry - 32, // 25: spacemesh.v2alpha1.EligibilitiesResponse.eligibilities:type_name -> spacemesh.v2alpha1.EligibilitiesResponse.EligibilitiesEntry + 32, // 25: spacemesh.v2alpha1.EligibilitiesResponse.identities:type_name -> spacemesh.v2alpha1.EligibilitiesResponse.IdentitiesEntry 27, // 26: spacemesh.v2alpha1.Proposals.proposals:type_name -> spacemesh.v2alpha1.Proposal 33, // 27: spacemesh.v2alpha1.ProposalsResponse.proposals:type_name -> spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry 16, // 28: spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry.value:type_name -> spacemesh.v2alpha1.Identity 21, // 29: spacemesh.v2alpha1.EpochEligibilities.EpochsEntry.value:type_name -> spacemesh.v2alpha1.Eligibilities - 23, // 30: spacemesh.v2alpha1.EligibilitiesResponse.EligibilitiesEntry.value:type_name -> spacemesh.v2alpha1.EpochEligibilities + 23, // 30: spacemesh.v2alpha1.EligibilitiesResponse.IdentitiesEntry.value:type_name -> spacemesh.v2alpha1.EpochEligibilities 28, // 31: spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry.value:type_name -> spacemesh.v2alpha1.Proposals 1, // 32: spacemesh.v2alpha1.SmeshingIdentitiesService.States:input_type -> spacemesh.v2alpha1.IdentityStatesRequest 18, // 33: spacemesh.v2alpha1.SmeshingIdentitiesService.PoetInfo:input_type -> spacemesh.v2alpha1.PoetInfoRequest diff --git a/release/openapi/swagger/src/api.swagger.json b/release/openapi/swagger/src/api.swagger.json index 4c5464ee..b05574f0 100644 --- a/release/openapi/swagger/src/api.swagger.json +++ b/release/openapi/swagger/src/api.swagger.json @@ -1301,7 +1301,7 @@ "v2alpha1EligibilitiesResponse": { "type": "object", "properties": { - "eligibilities": { + "identities": { "type": "object", "additionalProperties": { "$ref": "#/definitions/v2alpha1EpochEligibilities" diff --git a/spacemesh/v2alpha1/smeshing_identities.proto b/spacemesh/v2alpha1/smeshing_identities.proto index 4fe2db56..b15ad6f8 100644 --- a/spacemesh/v2alpha1/smeshing_identities.proto +++ b/spacemesh/v2alpha1/smeshing_identities.proto @@ -124,7 +124,7 @@ message EpochEligibilities { message EligibilitiesRequest {} message EligibilitiesResponse { - map eligibilities = 1; + map identities = 1; } message ProposalsRequest {} From 3fd744e6ad4548b80887aa69776f8f0025f88245 Mon Sep 17 00:00:00 2001 From: Kacper Sawicki Date: Wed, 4 Dec 2024 12:47:54 +0100 Subject: [PATCH 37/41] Add PROPOSAL_PUBLISH_FAILED state --- .../v2alpha1/smeshing_identities.pb.go | 828 ++++++++++-------- release/openapi/swagger/src/api.swagger.json | 20 + spacemesh/v2alpha1/smeshing_identities.proto | 11 +- 3 files changed, 498 insertions(+), 361 deletions(-) diff --git a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go index f75a6dcd..65ac45bb 100644 --- a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go +++ b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go @@ -40,7 +40,8 @@ const ( IdentityState_POST_PROOF_READY IdentityState = 9 IdentityState_ATX_READY IdentityState = 10 IdentityState_ATX_BROADCASTED IdentityState = 11 - IdentityState_PROPOSAL_PUBLISHED IdentityState = 12 + IdentityState_PROPOSAL_PUBLISH_FAILED IdentityState = 12 + IdentityState_PROPOSAL_PUBLISHED IdentityState = 13 ) // Enum value maps for IdentityState. @@ -58,7 +59,8 @@ var ( 9: "POST_PROOF_READY", 10: "ATX_READY", 11: "ATX_BROADCASTED", - 12: "PROPOSAL_PUBLISHED", + 12: "PROPOSAL_PUBLISH_FAILED", + 13: "PROPOSAL_PUBLISHED", } IdentityState_value = map[string]int32{ "UNSPECIFIED": 0, @@ -73,7 +75,8 @@ var ( "POST_PROOF_READY": 9, "ATX_READY": 10, "ATX_BROADCASTED": 11, - "PROPOSAL_PUBLISHED": 12, + "PROPOSAL_PUBLISH_FAILED": 12, + "PROPOSAL_PUBLISHED": 13, } ) @@ -684,6 +687,69 @@ func (x *AtxBroadcastedState) GetAtxId() []byte { return nil } +type ProposalPublishFailedState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` + Proposal []byte `protobuf:"bytes,2,opt,name=proposal,proto3" json:"proposal,omitempty"` + Layer uint32 `protobuf:"varint,3,opt,name=layer,proto3" json:"layer,omitempty"` +} + +func (x *ProposalPublishFailedState) Reset() { + *x = ProposalPublishFailedState{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProposalPublishFailedState) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProposalPublishFailedState) ProtoMessage() {} + +func (x *ProposalPublishFailedState) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ProposalPublishFailedState.ProtoReflect.Descriptor instead. +func (*ProposalPublishFailedState) Descriptor() ([]byte, []int) { + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{13} +} + +func (x *ProposalPublishFailedState) GetMessage() string { + if x != nil { + return x.Message + } + return "" +} + +func (x *ProposalPublishFailedState) GetProposal() []byte { + if x != nil { + return x.Proposal + } + return nil +} + +func (x *ProposalPublishFailedState) GetLayer() uint32 { + if x != nil { + return x.Layer + } + return 0 +} + type ProposalPublishedState struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -696,7 +762,7 @@ type ProposalPublishedState struct { func (x *ProposalPublishedState) Reset() { *x = ProposalPublishedState{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[13] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -709,7 +775,7 @@ func (x *ProposalPublishedState) String() string { func (*ProposalPublishedState) ProtoMessage() {} func (x *ProposalPublishedState) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[13] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -722,7 +788,7 @@ func (x *ProposalPublishedState) ProtoReflect() protoreflect.Message { // Deprecated: Use ProposalPublishedState.ProtoReflect.Descriptor instead. func (*ProposalPublishedState) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{13} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{14} } func (x *ProposalPublishedState) GetProposal() []byte { @@ -760,6 +826,7 @@ type IdentityStateInfo struct { // *IdentityStateInfo_PostProofReady // *IdentityStateInfo_AtxReady // *IdentityStateInfo_AtxBroadcasted + // *IdentityStateInfo_ProposalPublishFailed // *IdentityStateInfo_ProposalPublished Metadata isIdentityStateInfo_Metadata `protobuf_oneof:"metadata"` } @@ -767,7 +834,7 @@ type IdentityStateInfo struct { func (x *IdentityStateInfo) Reset() { *x = IdentityStateInfo{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[14] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -780,7 +847,7 @@ func (x *IdentityStateInfo) String() string { func (*IdentityStateInfo) ProtoMessage() {} func (x *IdentityStateInfo) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[14] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -793,7 +860,7 @@ func (x *IdentityStateInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use IdentityStateInfo.ProtoReflect.Descriptor instead. func (*IdentityStateInfo) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{14} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{15} } func (x *IdentityStateInfo) GetState() IdentityState { @@ -901,6 +968,13 @@ func (x *IdentityStateInfo) GetAtxBroadcasted() *AtxBroadcastedState { return nil } +func (x *IdentityStateInfo) GetProposalPublishFailed() *ProposalPublishFailedState { + if x, ok := x.GetMetadata().(*IdentityStateInfo_ProposalPublishFailed); ok { + return x.ProposalPublishFailed + } + return nil +} + func (x *IdentityStateInfo) GetProposalPublished() *ProposalPublishedState { if x, ok := x.GetMetadata().(*IdentityStateInfo_ProposalPublished); ok { return x.ProposalPublished @@ -956,8 +1030,12 @@ type IdentityStateInfo_AtxBroadcasted struct { AtxBroadcasted *AtxBroadcastedState `protobuf:"bytes,14,opt,name=atx_broadcasted,json=atxBroadcasted,proto3,oneof"` } +type IdentityStateInfo_ProposalPublishFailed struct { + ProposalPublishFailed *ProposalPublishFailedState `protobuf:"bytes,15,opt,name=proposal_publish_failed,json=proposalPublishFailed,proto3,oneof"` +} + type IdentityStateInfo_ProposalPublished struct { - ProposalPublished *ProposalPublishedState `protobuf:"bytes,15,opt,name=proposal_published,json=proposalPublished,proto3,oneof"` + ProposalPublished *ProposalPublishedState `protobuf:"bytes,16,opt,name=proposal_published,json=proposalPublished,proto3,oneof"` } func (*IdentityStateInfo_Retrying) isIdentityStateInfo_Metadata() {} @@ -982,6 +1060,8 @@ func (*IdentityStateInfo_AtxReady) isIdentityStateInfo_Metadata() {} func (*IdentityStateInfo_AtxBroadcasted) isIdentityStateInfo_Metadata() {} +func (*IdentityStateInfo_ProposalPublishFailed) isIdentityStateInfo_Metadata() {} + func (*IdentityStateInfo_ProposalPublished) isIdentityStateInfo_Metadata() {} type Identity struct { @@ -995,7 +1075,7 @@ type Identity struct { func (x *Identity) Reset() { *x = Identity{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[15] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1008,7 +1088,7 @@ func (x *Identity) String() string { func (*Identity) ProtoMessage() {} func (x *Identity) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[15] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1021,7 +1101,7 @@ func (x *Identity) ProtoReflect() protoreflect.Message { // Deprecated: Use Identity.ProtoReflect.Descriptor instead. func (*Identity) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{15} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{16} } func (x *Identity) GetHistory() []*IdentityStateInfo { @@ -1042,7 +1122,7 @@ type IdentityStatesResponse struct { func (x *IdentityStatesResponse) Reset() { *x = IdentityStatesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[16] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1055,7 +1135,7 @@ func (x *IdentityStatesResponse) String() string { func (*IdentityStatesResponse) ProtoMessage() {} func (x *IdentityStatesResponse) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[16] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1068,7 +1148,7 @@ func (x *IdentityStatesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use IdentityStatesResponse.ProtoReflect.Descriptor instead. func (*IdentityStatesResponse) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{16} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{17} } func (x *IdentityStatesResponse) GetIdentities() map[string]*Identity { @@ -1088,7 +1168,7 @@ type PoetInfoRequest struct { func (x *PoetInfoRequest) Reset() { *x = PoetInfoRequest{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[17] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1101,7 +1181,7 @@ func (x *PoetInfoRequest) String() string { func (*PoetInfoRequest) ProtoMessage() {} func (x *PoetInfoRequest) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[17] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1114,7 +1194,7 @@ func (x *PoetInfoRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use PoetInfoRequest.ProtoReflect.Descriptor instead. func (*PoetInfoRequest) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{17} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{18} } type PoetConfig struct { @@ -1129,7 +1209,7 @@ type PoetConfig struct { func (x *PoetConfig) Reset() { *x = PoetConfig{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[18] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1142,7 +1222,7 @@ func (x *PoetConfig) String() string { func (*PoetConfig) ProtoMessage() {} func (x *PoetConfig) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[18] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1155,7 +1235,7 @@ func (x *PoetConfig) ProtoReflect() protoreflect.Message { // Deprecated: Use PoetConfig.ProtoReflect.Descriptor instead. func (*PoetConfig) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{18} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{19} } func (x *PoetConfig) GetPhaseShift() *durationpb.Duration { @@ -1184,7 +1264,7 @@ type PoetInfoResponse struct { func (x *PoetInfoResponse) Reset() { *x = PoetInfoResponse{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[19] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1197,7 +1277,7 @@ func (x *PoetInfoResponse) String() string { func (*PoetInfoResponse) ProtoMessage() {} func (x *PoetInfoResponse) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[19] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1210,7 +1290,7 @@ func (x *PoetInfoResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use PoetInfoResponse.ProtoReflect.Descriptor instead. func (*PoetInfoResponse) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{19} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{20} } func (x *PoetInfoResponse) GetPoets() []string { @@ -1239,7 +1319,7 @@ type Eligibilities struct { func (x *Eligibilities) Reset() { *x = Eligibilities{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[20] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1252,7 +1332,7 @@ func (x *Eligibilities) String() string { func (*Eligibilities) ProtoMessage() {} func (x *Eligibilities) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[20] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1265,7 +1345,7 @@ func (x *Eligibilities) ProtoReflect() protoreflect.Message { // Deprecated: Use Eligibilities.ProtoReflect.Descriptor instead. func (*Eligibilities) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{20} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{21} } func (x *Eligibilities) GetEligibilities() []*ProposalEligibility { @@ -1287,7 +1367,7 @@ type ProposalEligibility struct { func (x *ProposalEligibility) Reset() { *x = ProposalEligibility{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[21] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1300,7 +1380,7 @@ func (x *ProposalEligibility) String() string { func (*ProposalEligibility) ProtoMessage() {} func (x *ProposalEligibility) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[21] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1313,7 +1393,7 @@ func (x *ProposalEligibility) ProtoReflect() protoreflect.Message { // Deprecated: Use ProposalEligibility.ProtoReflect.Descriptor instead. func (*ProposalEligibility) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{21} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{22} } func (x *ProposalEligibility) GetLayer() uint32 { @@ -1341,7 +1421,7 @@ type EpochEligibilities struct { func (x *EpochEligibilities) Reset() { *x = EpochEligibilities{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[22] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1354,7 +1434,7 @@ func (x *EpochEligibilities) String() string { func (*EpochEligibilities) ProtoMessage() {} func (x *EpochEligibilities) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[22] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[23] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1367,7 +1447,7 @@ func (x *EpochEligibilities) ProtoReflect() protoreflect.Message { // Deprecated: Use EpochEligibilities.ProtoReflect.Descriptor instead. func (*EpochEligibilities) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{22} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{23} } func (x *EpochEligibilities) GetEpochs() map[uint32]*Eligibilities { @@ -1386,7 +1466,7 @@ type EligibilitiesRequest struct { func (x *EligibilitiesRequest) Reset() { *x = EligibilitiesRequest{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[23] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1399,7 +1479,7 @@ func (x *EligibilitiesRequest) String() string { func (*EligibilitiesRequest) ProtoMessage() {} func (x *EligibilitiesRequest) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[23] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[24] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1412,7 +1492,7 @@ func (x *EligibilitiesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use EligibilitiesRequest.ProtoReflect.Descriptor instead. func (*EligibilitiesRequest) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{23} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{24} } type EligibilitiesResponse struct { @@ -1426,7 +1506,7 @@ type EligibilitiesResponse struct { func (x *EligibilitiesResponse) Reset() { *x = EligibilitiesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[24] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1439,7 +1519,7 @@ func (x *EligibilitiesResponse) String() string { func (*EligibilitiesResponse) ProtoMessage() {} func (x *EligibilitiesResponse) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[24] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[25] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1452,7 +1532,7 @@ func (x *EligibilitiesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use EligibilitiesResponse.ProtoReflect.Descriptor instead. func (*EligibilitiesResponse) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{24} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{25} } func (x *EligibilitiesResponse) GetIdentities() map[string]*EpochEligibilities { @@ -1471,7 +1551,7 @@ type ProposalsRequest struct { func (x *ProposalsRequest) Reset() { *x = ProposalsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[25] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1484,7 +1564,7 @@ func (x *ProposalsRequest) String() string { func (*ProposalsRequest) ProtoMessage() {} func (x *ProposalsRequest) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[25] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[26] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1497,7 +1577,7 @@ func (x *ProposalsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ProposalsRequest.ProtoReflect.Descriptor instead. func (*ProposalsRequest) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{25} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{26} } type Proposal struct { @@ -1512,7 +1592,7 @@ type Proposal struct { func (x *Proposal) Reset() { *x = Proposal{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[26] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1525,7 +1605,7 @@ func (x *Proposal) String() string { func (*Proposal) ProtoMessage() {} func (x *Proposal) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[26] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[27] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1538,7 +1618,7 @@ func (x *Proposal) ProtoReflect() protoreflect.Message { // Deprecated: Use Proposal.ProtoReflect.Descriptor instead. func (*Proposal) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{26} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{27} } func (x *Proposal) GetLayer() uint32 { @@ -1566,7 +1646,7 @@ type Proposals struct { func (x *Proposals) Reset() { *x = Proposals{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[27] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1579,7 +1659,7 @@ func (x *Proposals) String() string { func (*Proposals) ProtoMessage() {} func (x *Proposals) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[27] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[28] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1592,7 +1672,7 @@ func (x *Proposals) ProtoReflect() protoreflect.Message { // Deprecated: Use Proposals.ProtoReflect.Descriptor instead. func (*Proposals) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{27} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{28} } func (x *Proposals) GetProposals() []*Proposal { @@ -1613,7 +1693,7 @@ type ProposalsResponse struct { func (x *ProposalsResponse) Reset() { *x = ProposalsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[28] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1626,7 +1706,7 @@ func (x *ProposalsResponse) String() string { func (*ProposalsResponse) ProtoMessage() {} func (x *ProposalsResponse) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[28] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[29] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1639,7 +1719,7 @@ func (x *ProposalsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ProposalsResponse.ProtoReflect.Descriptor instead. func (*ProposalsResponse) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{28} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{29} } func (x *ProposalsResponse) GetProposals() map[string]*Proposals { @@ -1712,249 +1792,264 @@ var file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc = []byte{ 0x0f, 0x0a, 0x0d, 0x41, 0x74, 0x78, 0x52, 0x65, 0x61, 0x64, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x22, 0x2c, 0x0a, 0x13, 0x41, 0x74, 0x78, 0x42, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x61, 0x74, 0x78, 0x5f, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x61, 0x74, 0x78, 0x49, 0x64, 0x22, 0x4a, - 0x0a, 0x16, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, - 0x68, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, - 0x6f, 0x73, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, - 0x6f, 0x73, 0x61, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x22, 0x94, 0x0a, 0x0a, 0x11, 0x49, - 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, - 0x12, 0x37, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x61, 0x74, 0x78, 0x49, 0x64, 0x22, 0x68, + 0x0a, 0x1a, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, + 0x68, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, + 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, + 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, + 0x61, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x22, 0x4a, 0x0a, 0x16, 0x50, 0x72, 0x6f, 0x70, + 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x64, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x12, 0x14, + 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x22, 0xfe, 0x0a, 0x0a, 0x11, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x37, 0x0a, 0x05, 0x73, 0x74, + 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, + 0x61, 0x74, 0x65, 0x12, 0x28, 0x0a, 0x0d, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x65, + 0x70, 0x6f, 0x63, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x01, 0x52, 0x0c, 0x70, 0x75, + 0x62, 0x6c, 0x69, 0x73, 0x68, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x88, 0x01, 0x01, 0x12, 0x2e, 0x0a, + 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, + 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x3f, 0x0a, + 0x08, 0x72, 0x65, 0x74, 0x72, 0x79, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, - 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x28, 0x0a, 0x0d, 0x70, 0x75, 0x62, - 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, - 0x48, 0x01, 0x52, 0x0c, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x45, 0x70, 0x6f, 0x63, 0x68, - 0x88, 0x01, 0x01, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, - 0x69, 0x6d, 0x65, 0x12, 0x3f, 0x0a, 0x08, 0x72, 0x65, 0x74, 0x72, 0x79, 0x69, 0x6e, 0x67, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, - 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x74, 0x72, 0x79, - 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x08, 0x72, 0x65, 0x74, 0x72, - 0x79, 0x69, 0x6e, 0x67, 0x12, 0x5a, 0x0a, 0x13, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x66, 0x6f, 0x72, - 0x5f, 0x61, 0x74, 0x78, 0x5f, 0x73, 0x79, 0x6e, 0x63, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x41, 0x74, - 0x78, 0x53, 0x79, 0x6e, 0x63, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x10, - 0x77, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x41, 0x74, 0x78, 0x53, 0x79, 0x6e, 0x63, 0x65, 0x64, - 0x12, 0x8b, 0x01, 0x0a, 0x24, 0x77, 0x61, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x66, 0x6f, 0x72, - 0x5f, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x5f, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x39, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x57, 0x61, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x46, 0x6f, 0x72, 0x50, - 0x6f, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, - 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x20, 0x77, 0x61, - 0x69, 0x74, 0x69, 0x6e, 0x67, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x12, 0x5f, - 0x0a, 0x14, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, - 0x5f, 0x72, 0x65, 0x61, 0x64, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, - 0x65, 0x61, 0x64, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x12, 0x70, 0x6f, 0x65, - 0x74, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x61, 0x64, 0x79, 0x12, - 0x52, 0x0a, 0x0f, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, - 0x65, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, - 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, - 0x65, 0x48, 0x00, 0x52, 0x0e, 0x70, 0x6f, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, - 0x72, 0x65, 0x64, 0x12, 0x64, 0x0a, 0x17, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x5f, - 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x65, 0x6e, 0x64, 0x18, 0x09, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, - 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, - 0x72, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x45, 0x6e, 0x64, 0x53, 0x74, 0x61, - 0x74, 0x65, 0x48, 0x00, 0x52, 0x13, 0x77, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x65, - 0x74, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x45, 0x6e, 0x64, 0x12, 0x5c, 0x0a, 0x13, 0x70, 0x6f, 0x65, - 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, - 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, - 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, - 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x53, 0x74, 0x61, - 0x74, 0x65, 0x48, 0x00, 0x52, 0x11, 0x70, 0x6f, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, - 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x12, 0x62, 0x0a, 0x15, 0x67, 0x65, 0x6e, 0x65, 0x72, - 0x61, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x73, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x6f, 0x66, - 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, - 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x65, - 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x53, - 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x13, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, - 0x6e, 0x67, 0x50, 0x6f, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x53, 0x0a, 0x10, 0x70, - 0x6f, 0x73, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x79, 0x18, - 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, - 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x50, - 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x61, 0x64, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, - 0x52, 0x0e, 0x70, 0x6f, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x61, 0x64, 0x79, - 0x12, 0x40, 0x0a, 0x09, 0x61, 0x74, 0x78, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x79, 0x18, 0x0d, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, - 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, 0x74, 0x78, 0x52, 0x65, 0x61, 0x64, - 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x08, 0x61, 0x74, 0x78, 0x52, 0x65, 0x61, - 0x64, 0x79, 0x12, 0x52, 0x0a, 0x0f, 0x61, 0x74, 0x78, 0x5f, 0x62, 0x72, 0x6f, 0x61, 0x64, 0x63, - 0x61, 0x73, 0x74, 0x65, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x70, + 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x74, 0x72, 0x79, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x48, 0x00, 0x52, 0x08, 0x72, 0x65, 0x74, 0x72, 0x79, 0x69, 0x6e, 0x67, 0x12, 0x5a, + 0x0a, 0x13, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x61, 0x74, 0x78, 0x5f, 0x73, + 0x79, 0x6e, 0x63, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x41, 0x74, 0x78, 0x42, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x65, 0x64, 0x53, - 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x0e, 0x61, 0x74, 0x78, 0x42, 0x72, 0x6f, 0x61, 0x64, - 0x63, 0x61, 0x73, 0x74, 0x65, 0x64, 0x12, 0x5b, 0x0a, 0x12, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, - 0x61, 0x6c, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x64, 0x18, 0x0f, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, - 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, - 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, - 0x52, 0x11, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, - 0x68, 0x65, 0x64, 0x42, 0x0a, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, - 0x10, 0x0a, 0x0e, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x65, 0x70, 0x6f, 0x63, - 0x68, 0x22, 0x4b, 0x0a, 0x08, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x3f, 0x0a, - 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, + 0x2e, 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x41, 0x74, 0x78, 0x53, 0x79, 0x6e, 0x63, 0x65, + 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x10, 0x77, 0x61, 0x69, 0x74, 0x46, 0x6f, + 0x72, 0x41, 0x74, 0x78, 0x53, 0x79, 0x6e, 0x63, 0x65, 0x64, 0x12, 0x8b, 0x01, 0x0a, 0x24, 0x77, + 0x61, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x70, 0x6f, 0x65, 0x74, 0x5f, + 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x77, 0x69, 0x6e, + 0x64, 0x6f, 0x77, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x57, + 0x61, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x65, 0x67, + 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x20, 0x77, 0x61, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x46, + 0x6f, 0x72, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x12, 0x5f, 0x0a, 0x14, 0x70, 0x6f, 0x65, 0x74, + 0x5f, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x79, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, + 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, + 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x61, 0x64, 0x79, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x12, 0x70, 0x6f, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6c, 0x6c, + 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x61, 0x64, 0x79, 0x12, 0x52, 0x0a, 0x0f, 0x70, 0x6f, 0x65, + 0x74, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x18, 0x08, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, + 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, + 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x0e, 0x70, + 0x6f, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x12, 0x64, 0x0a, + 0x17, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x72, + 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x65, 0x6e, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, - 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x22, 0xd1, - 0x01, 0x0a, 0x16, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5a, 0x0a, 0x0a, 0x69, 0x64, 0x65, - 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, + 0x68, 0x61, 0x31, 0x2e, 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x65, 0x74, 0x52, + 0x6f, 0x75, 0x6e, 0x64, 0x45, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x13, + 0x77, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x6f, 0x75, 0x6e, 0x64, + 0x45, 0x6e, 0x64, 0x12, 0x5c, 0x0a, 0x13, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x6f, + 0x66, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, + 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x11, + 0x70, 0x6f, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, + 0x64, 0x12, 0x62, 0x0a, 0x15, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x5f, + 0x70, 0x6f, 0x73, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x2c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, + 0x50, 0x6f, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, + 0x52, 0x13, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x73, 0x74, + 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x53, 0x0a, 0x10, 0x70, 0x6f, 0x73, 0x74, 0x5f, 0x70, 0x72, + 0x6f, 0x6f, 0x66, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x79, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x27, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, + 0x61, 0x64, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x0e, 0x70, 0x6f, 0x73, 0x74, + 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x61, 0x64, 0x79, 0x12, 0x40, 0x0a, 0x09, 0x61, 0x74, + 0x78, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x79, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, - 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, - 0x69, 0x74, 0x69, 0x65, 0x73, 0x1a, 0x5b, 0x0a, 0x0f, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, - 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x32, 0x0a, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, - 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, - 0x38, 0x01, 0x22, 0x11, 0x0a, 0x0f, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x80, 0x01, 0x0a, 0x0a, 0x50, 0x6f, 0x65, 0x74, 0x43, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3a, 0x0a, 0x0b, 0x70, 0x68, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68, - 0x69, 0x66, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x70, 0x68, 0x61, 0x73, 0x65, 0x53, 0x68, 0x69, 0x66, 0x74, - 0x12, 0x36, 0x0a, 0x09, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x5f, 0x67, 0x61, 0x70, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, - 0x63, 0x79, 0x63, 0x6c, 0x65, 0x47, 0x61, 0x70, 0x22, 0x60, 0x0a, 0x10, 0x50, 0x6f, 0x65, 0x74, - 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, - 0x70, 0x6f, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x70, 0x6f, 0x65, - 0x74, 0x73, 0x12, 0x36, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, - 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x5e, 0x0a, 0x0d, 0x45, 0x6c, - 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x4d, 0x0a, 0x0d, 0x65, - 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, - 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, - 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0d, 0x65, 0x6c, 0x69, - 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x22, 0x41, 0x0a, 0x13, 0x50, 0x72, - 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, - 0x79, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, - 0x52, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xbe, 0x01, - 0x0a, 0x12, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, - 0x74, 0x69, 0x65, 0x73, 0x12, 0x4a, 0x0a, 0x06, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, - 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x45, - 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, - 0x63, 0x68, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x73, - 0x1a, 0x5c, 0x0a, 0x0b, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, - 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, - 0x79, 0x12, 0x37, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, - 0x69, 0x65, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x16, - 0x0a, 0x14, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xd9, 0x01, 0x0a, 0x15, 0x45, 0x6c, 0x69, 0x67, 0x69, - 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x59, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, + 0x61, 0x31, 0x2e, 0x41, 0x74, 0x78, 0x52, 0x65, 0x61, 0x64, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x48, 0x00, 0x52, 0x08, 0x61, 0x74, 0x78, 0x52, 0x65, 0x61, 0x64, 0x79, 0x12, 0x52, 0x0a, 0x0f, + 0x61, 0x74, 0x78, 0x5f, 0x62, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x65, 0x64, 0x18, + 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, + 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, 0x74, 0x78, 0x42, 0x72, + 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, + 0x52, 0x0e, 0x61, 0x74, 0x78, 0x42, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x65, 0x64, + 0x12, 0x68, 0x0a, 0x17, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x5f, 0x70, 0x75, 0x62, + 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x2e, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, + 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x48, 0x00, 0x52, 0x15, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x75, 0x62, + 0x6c, 0x69, 0x73, 0x68, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x12, 0x5b, 0x0a, 0x12, 0x70, 0x72, + 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x64, + 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, + 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, + 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x64, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x48, 0x00, 0x52, 0x11, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x75, + 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x64, 0x42, 0x0a, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, + 0x65, 0x70, 0x6f, 0x63, 0x68, 0x22, 0x4b, 0x0a, 0x08, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x12, 0x3f, 0x0a, 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, + 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, + 0x72, 0x79, 0x22, 0xd1, 0x01, 0x0a, 0x16, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5a, 0x0a, + 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x3a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x49, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x69, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x1a, 0x5b, 0x0a, 0x0f, 0x49, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, + 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x32, + 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x11, 0x0a, 0x0f, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x80, 0x01, 0x0a, 0x0a, 0x50, 0x6f, + 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3a, 0x0a, 0x0b, 0x70, 0x68, 0x61, 0x73, + 0x65, 0x5f, 0x73, 0x68, 0x69, 0x66, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x70, 0x68, 0x61, 0x73, 0x65, 0x53, + 0x68, 0x69, 0x66, 0x74, 0x12, 0x36, 0x0a, 0x09, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x5f, 0x67, 0x61, + 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x08, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x47, 0x61, 0x70, 0x22, 0x60, 0x0a, 0x10, + 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x14, 0x0a, 0x05, 0x70, 0x6f, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, + 0x05, 0x70, 0x6f, 0x65, 0x74, 0x73, 0x12, 0x36, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, + 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, + 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x5e, + 0x0a, 0x0d, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, + 0x4d, 0x0a, 0x0d, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, + 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, + 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, + 0x6f, 0x73, 0x61, 0x6c, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, + 0x0d, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x22, 0x41, + 0x0a, 0x13, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, + 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x22, 0xbe, 0x01, 0x0a, 0x12, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x45, 0x6c, 0x69, 0x67, 0x69, + 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x4a, 0x0a, 0x06, 0x65, 0x70, 0x6f, 0x63, + 0x68, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x70, + 0x6f, 0x63, 0x68, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, + 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x65, 0x70, + 0x6f, 0x63, 0x68, 0x73, 0x1a, 0x5c, 0x0a, 0x0b, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x37, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, - 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, - 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, - 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x1a, 0x65, 0x0a, 0x0f, 0x49, - 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, - 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, - 0x12, 0x3c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x26, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, - 0x38, 0x01, 0x22, 0x12, 0x0a, 0x10, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x3c, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, - 0x61, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0d, 0x52, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, - 0x6f, 0x73, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, - 0x6f, 0x73, 0x61, 0x6c, 0x22, 0x47, 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, - 0x73, 0x12, 0x3a, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, - 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, - 0x61, 0x6c, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x22, 0xc4, 0x01, - 0x0a, 0x11, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, - 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, - 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x72, - 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x70, 0x72, - 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x1a, 0x5b, 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x70, 0x6f, - 0x73, 0x61, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x33, 0x0a, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x70, 0x61, + 0x38, 0x01, 0x22, 0x16, 0x0a, 0x14, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xd9, 0x01, 0x0a, 0x15, 0x45, + 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, + 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, + 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x1a, + 0x65, 0x0a, 0x0f, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, + 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x45, 0x6c, + 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x12, 0x0a, 0x10, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, + 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x3c, 0x0a, 0x08, 0x50, 0x72, + 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, + 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, + 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x22, 0x47, 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x70, + 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x12, 0x3a, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, + 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, + 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, + 0x73, 0x22, 0xc4, 0x01, 0x0a, 0x11, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, + 0x73, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x3a, 0x02, 0x38, 0x01, 0x2a, 0xc3, 0x02, 0x0a, 0x0d, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, - 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, - 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x57, 0x41, 0x49, 0x54, 0x5f, - 0x46, 0x4f, 0x52, 0x5f, 0x41, 0x54, 0x58, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x45, 0x44, 0x10, 0x01, - 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x45, 0x54, 0x52, 0x59, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x28, - 0x0a, 0x24, 0x57, 0x41, 0x49, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, - 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, - 0x57, 0x49, 0x4e, 0x44, 0x4f, 0x57, 0x10, 0x03, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4f, 0x45, 0x54, - 0x5f, 0x43, 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, 0x47, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, - 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, - 0x54, 0x45, 0x52, 0x45, 0x44, 0x10, 0x05, 0x12, 0x1b, 0x0a, 0x17, 0x57, 0x41, 0x49, 0x54, 0x5f, - 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x55, 0x4e, 0x44, 0x5f, 0x45, - 0x4e, 0x44, 0x10, 0x06, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, - 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x43, 0x45, 0x49, 0x56, 0x45, 0x44, 0x10, 0x07, 0x12, 0x19, 0x0a, - 0x15, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x4f, 0x53, 0x54, - 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x10, 0x08, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x4f, 0x53, 0x54, - 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x09, 0x12, 0x0d, - 0x0a, 0x09, 0x41, 0x54, 0x58, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x0a, 0x12, 0x13, 0x0a, - 0x0f, 0x41, 0x54, 0x58, 0x5f, 0x42, 0x52, 0x4f, 0x41, 0x44, 0x43, 0x41, 0x53, 0x54, 0x45, 0x44, - 0x10, 0x0b, 0x12, 0x16, 0x0a, 0x12, 0x50, 0x52, 0x4f, 0x50, 0x4f, 0x53, 0x41, 0x4c, 0x5f, 0x50, - 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, 0x45, 0x44, 0x10, 0x0c, 0x32, 0xa7, 0x03, 0x0a, 0x19, 0x53, - 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, - 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x61, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, - 0x65, 0x73, 0x12, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, - 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, - 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, + 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x1a, 0x5b, 0x0a, 0x0e, 0x50, + 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, + 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, + 0x33, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, + 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x2a, 0xe0, 0x02, 0x0a, 0x0d, 0x49, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, + 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x57, + 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x41, 0x54, 0x58, 0x5f, 0x53, 0x59, 0x4e, 0x43, + 0x45, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x45, 0x54, 0x52, 0x59, 0x49, 0x4e, 0x47, + 0x10, 0x02, 0x12, 0x28, 0x0a, 0x24, 0x57, 0x41, 0x49, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x46, 0x4f, + 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x41, 0x54, + 0x49, 0x4f, 0x4e, 0x5f, 0x57, 0x49, 0x4e, 0x44, 0x4f, 0x57, 0x10, 0x03, 0x12, 0x18, 0x0a, 0x14, + 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, 0x47, 0x45, 0x5f, 0x52, + 0x45, 0x41, 0x44, 0x59, 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, + 0x45, 0x47, 0x49, 0x53, 0x54, 0x45, 0x52, 0x45, 0x44, 0x10, 0x05, 0x12, 0x1b, 0x0a, 0x17, 0x57, + 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x55, + 0x4e, 0x44, 0x5f, 0x45, 0x4e, 0x44, 0x10, 0x06, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x4f, 0x45, 0x54, + 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x43, 0x45, 0x49, 0x56, 0x45, 0x44, 0x10, + 0x07, 0x12, 0x19, 0x0a, 0x15, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x5f, + 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x10, 0x08, 0x12, 0x14, 0x0a, 0x10, + 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, + 0x10, 0x09, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x54, 0x58, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, + 0x0a, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x54, 0x58, 0x5f, 0x42, 0x52, 0x4f, 0x41, 0x44, 0x43, 0x41, + 0x53, 0x54, 0x45, 0x44, 0x10, 0x0b, 0x12, 0x1b, 0x0a, 0x17, 0x50, 0x52, 0x4f, 0x50, 0x4f, 0x53, + 0x41, 0x4c, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, + 0x44, 0x10, 0x0c, 0x12, 0x16, 0x0a, 0x12, 0x50, 0x52, 0x4f, 0x50, 0x4f, 0x53, 0x41, 0x4c, 0x5f, + 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, 0x45, 0x44, 0x10, 0x0d, 0x32, 0xa7, 0x03, 0x0a, 0x19, + 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, + 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x61, 0x0a, 0x06, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, + 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, + 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x57, 0x0a, 0x08, + 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x23, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, + 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x57, 0x0a, 0x08, 0x50, - 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x23, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, - 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, - 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x12, 0x66, 0x0a, 0x0d, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, - 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x28, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, - 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, - 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, - 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x09, - 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x12, 0x24, 0x2e, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, - 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x25, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x1a, 0x0a, 0xfa, 0xd2, 0xe4, 0x93, 0x02, 0x04, - 0x12, 0x02, 0x56, 0x32, 0x42, 0xe6, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, - 0x17, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, - 0x69, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, - 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, - 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2f, 0x67, - 0x6f, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, 0x32, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x3b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x76, 0x32, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, 0x02, 0x12, 0x53, - 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0xca, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x1e, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, - 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x13, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, - 0x65, 0x73, 0x68, 0x3a, 0x3a, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x66, 0x0a, 0x0d, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, + 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x28, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, + 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, + 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5a, 0x0a, + 0x09, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x12, 0x24, 0x2e, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, + 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x25, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x1a, 0x0a, 0xfa, 0xd2, 0xe4, 0x93, 0x02, + 0x04, 0x12, 0x02, 0x56, 0x32, 0x42, 0xe6, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x42, 0x17, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x69, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, 0x69, 0x74, + 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, + 0x68, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2f, + 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, 0x32, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x76, + 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, 0x02, 0x12, + 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0xca, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, + 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x1e, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, + 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, + 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x13, 0x53, 0x70, 0x61, 0x63, 0x65, + 0x6d, 0x65, 0x73, 0x68, 0x3a, 0x3a, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -1970,7 +2065,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP() []byte { } var file_spacemesh_v2alpha1_smeshing_identities_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes = make([]protoimpl.MessageInfo, 33) +var file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes = make([]protoimpl.MessageInfo, 34) var file_spacemesh_v2alpha1_smeshing_identities_proto_goTypes = []interface{}{ (IdentityState)(0), // 0: spacemesh.v2alpha1.IdentityState (*IdentityStatesRequest)(nil), // 1: spacemesh.v2alpha1.IdentityStatesRequest @@ -1986,36 +2081,37 @@ var file_spacemesh_v2alpha1_smeshing_identities_proto_goTypes = []interface{}{ (*PostProofReadyState)(nil), // 11: spacemesh.v2alpha1.PostProofReadyState (*AtxReadyState)(nil), // 12: spacemesh.v2alpha1.AtxReadyState (*AtxBroadcastedState)(nil), // 13: spacemesh.v2alpha1.AtxBroadcastedState - (*ProposalPublishedState)(nil), // 14: spacemesh.v2alpha1.ProposalPublishedState - (*IdentityStateInfo)(nil), // 15: spacemesh.v2alpha1.IdentityStateInfo - (*Identity)(nil), // 16: spacemesh.v2alpha1.Identity - (*IdentityStatesResponse)(nil), // 17: spacemesh.v2alpha1.IdentityStatesResponse - (*PoetInfoRequest)(nil), // 18: spacemesh.v2alpha1.PoetInfoRequest - (*PoetConfig)(nil), // 19: spacemesh.v2alpha1.PoetConfig - (*PoetInfoResponse)(nil), // 20: spacemesh.v2alpha1.PoetInfoResponse - (*Eligibilities)(nil), // 21: spacemesh.v2alpha1.Eligibilities - (*ProposalEligibility)(nil), // 22: spacemesh.v2alpha1.ProposalEligibility - (*EpochEligibilities)(nil), // 23: spacemesh.v2alpha1.EpochEligibilities - (*EligibilitiesRequest)(nil), // 24: spacemesh.v2alpha1.EligibilitiesRequest - (*EligibilitiesResponse)(nil), // 25: spacemesh.v2alpha1.EligibilitiesResponse - (*ProposalsRequest)(nil), // 26: spacemesh.v2alpha1.ProposalsRequest - (*Proposal)(nil), // 27: spacemesh.v2alpha1.Proposal - (*Proposals)(nil), // 28: spacemesh.v2alpha1.Proposals - (*ProposalsResponse)(nil), // 29: spacemesh.v2alpha1.ProposalsResponse - nil, // 30: spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry - nil, // 31: spacemesh.v2alpha1.EpochEligibilities.EpochsEntry - nil, // 32: spacemesh.v2alpha1.EligibilitiesResponse.IdentitiesEntry - nil, // 33: spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry - (*timestamppb.Timestamp)(nil), // 34: google.protobuf.Timestamp - (*durationpb.Duration)(nil), // 35: google.protobuf.Duration + (*ProposalPublishFailedState)(nil), // 14: spacemesh.v2alpha1.ProposalPublishFailedState + (*ProposalPublishedState)(nil), // 15: spacemesh.v2alpha1.ProposalPublishedState + (*IdentityStateInfo)(nil), // 16: spacemesh.v2alpha1.IdentityStateInfo + (*Identity)(nil), // 17: spacemesh.v2alpha1.Identity + (*IdentityStatesResponse)(nil), // 18: spacemesh.v2alpha1.IdentityStatesResponse + (*PoetInfoRequest)(nil), // 19: spacemesh.v2alpha1.PoetInfoRequest + (*PoetConfig)(nil), // 20: spacemesh.v2alpha1.PoetConfig + (*PoetInfoResponse)(nil), // 21: spacemesh.v2alpha1.PoetInfoResponse + (*Eligibilities)(nil), // 22: spacemesh.v2alpha1.Eligibilities + (*ProposalEligibility)(nil), // 23: spacemesh.v2alpha1.ProposalEligibility + (*EpochEligibilities)(nil), // 24: spacemesh.v2alpha1.EpochEligibilities + (*EligibilitiesRequest)(nil), // 25: spacemesh.v2alpha1.EligibilitiesRequest + (*EligibilitiesResponse)(nil), // 26: spacemesh.v2alpha1.EligibilitiesResponse + (*ProposalsRequest)(nil), // 27: spacemesh.v2alpha1.ProposalsRequest + (*Proposal)(nil), // 28: spacemesh.v2alpha1.Proposal + (*Proposals)(nil), // 29: spacemesh.v2alpha1.Proposals + (*ProposalsResponse)(nil), // 30: spacemesh.v2alpha1.ProposalsResponse + nil, // 31: spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry + nil, // 32: spacemesh.v2alpha1.EpochEligibilities.EpochsEntry + nil, // 33: spacemesh.v2alpha1.EligibilitiesResponse.IdentitiesEntry + nil, // 34: spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry + (*timestamppb.Timestamp)(nil), // 35: google.protobuf.Timestamp + (*durationpb.Duration)(nil), // 36: google.protobuf.Duration } var file_spacemesh_v2alpha1_smeshing_identities_proto_depIdxs = []int32{ - 34, // 0: spacemesh.v2alpha1.PoETRegistration.round_end:type_name -> google.protobuf.Timestamp + 35, // 0: spacemesh.v2alpha1.PoETRegistration.round_end:type_name -> google.protobuf.Timestamp 6, // 1: spacemesh.v2alpha1.PoetRegisteredState.registrations:type_name -> spacemesh.v2alpha1.PoETRegistration - 34, // 2: spacemesh.v2alpha1.WaitForPoetRoundEndState.round_end:type_name -> google.protobuf.Timestamp - 34, // 3: spacemesh.v2alpha1.WaitForPoetRoundEndState.publish_epoch_end:type_name -> google.protobuf.Timestamp + 35, // 2: spacemesh.v2alpha1.WaitForPoetRoundEndState.round_end:type_name -> google.protobuf.Timestamp + 35, // 3: spacemesh.v2alpha1.WaitForPoetRoundEndState.publish_epoch_end:type_name -> google.protobuf.Timestamp 0, // 4: spacemesh.v2alpha1.IdentityStateInfo.state:type_name -> spacemesh.v2alpha1.IdentityState - 34, // 5: spacemesh.v2alpha1.IdentityStateInfo.time:type_name -> google.protobuf.Timestamp + 35, // 5: spacemesh.v2alpha1.IdentityStateInfo.time:type_name -> google.protobuf.Timestamp 2, // 6: spacemesh.v2alpha1.IdentityStateInfo.retrying:type_name -> spacemesh.v2alpha1.RetryingState 3, // 7: spacemesh.v2alpha1.IdentityStateInfo.wait_for_atx_synced:type_name -> spacemesh.v2alpha1.WaitForAtxSyncedState 4, // 8: spacemesh.v2alpha1.IdentityStateInfo.waiting_for_poet_registration_window:type_name -> spacemesh.v2alpha1.WaitingForPoetRegistrationWindowState @@ -2027,34 +2123,35 @@ var file_spacemesh_v2alpha1_smeshing_identities_proto_depIdxs = []int32{ 11, // 14: spacemesh.v2alpha1.IdentityStateInfo.post_proof_ready:type_name -> spacemesh.v2alpha1.PostProofReadyState 12, // 15: spacemesh.v2alpha1.IdentityStateInfo.atx_ready:type_name -> spacemesh.v2alpha1.AtxReadyState 13, // 16: spacemesh.v2alpha1.IdentityStateInfo.atx_broadcasted:type_name -> spacemesh.v2alpha1.AtxBroadcastedState - 14, // 17: spacemesh.v2alpha1.IdentityStateInfo.proposal_published:type_name -> spacemesh.v2alpha1.ProposalPublishedState - 15, // 18: spacemesh.v2alpha1.Identity.history:type_name -> spacemesh.v2alpha1.IdentityStateInfo - 30, // 19: spacemesh.v2alpha1.IdentityStatesResponse.identities:type_name -> spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry - 35, // 20: spacemesh.v2alpha1.PoetConfig.phase_shift:type_name -> google.protobuf.Duration - 35, // 21: spacemesh.v2alpha1.PoetConfig.cycle_gap:type_name -> google.protobuf.Duration - 19, // 22: spacemesh.v2alpha1.PoetInfoResponse.config:type_name -> spacemesh.v2alpha1.PoetConfig - 22, // 23: spacemesh.v2alpha1.Eligibilities.eligibilities:type_name -> spacemesh.v2alpha1.ProposalEligibility - 31, // 24: spacemesh.v2alpha1.EpochEligibilities.epochs:type_name -> spacemesh.v2alpha1.EpochEligibilities.EpochsEntry - 32, // 25: spacemesh.v2alpha1.EligibilitiesResponse.identities:type_name -> spacemesh.v2alpha1.EligibilitiesResponse.IdentitiesEntry - 27, // 26: spacemesh.v2alpha1.Proposals.proposals:type_name -> spacemesh.v2alpha1.Proposal - 33, // 27: spacemesh.v2alpha1.ProposalsResponse.proposals:type_name -> spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry - 16, // 28: spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry.value:type_name -> spacemesh.v2alpha1.Identity - 21, // 29: spacemesh.v2alpha1.EpochEligibilities.EpochsEntry.value:type_name -> spacemesh.v2alpha1.Eligibilities - 23, // 30: spacemesh.v2alpha1.EligibilitiesResponse.IdentitiesEntry.value:type_name -> spacemesh.v2alpha1.EpochEligibilities - 28, // 31: spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry.value:type_name -> spacemesh.v2alpha1.Proposals - 1, // 32: spacemesh.v2alpha1.SmeshingIdentitiesService.States:input_type -> spacemesh.v2alpha1.IdentityStatesRequest - 18, // 33: spacemesh.v2alpha1.SmeshingIdentitiesService.PoetInfo:input_type -> spacemesh.v2alpha1.PoetInfoRequest - 24, // 34: spacemesh.v2alpha1.SmeshingIdentitiesService.Eligibilities:input_type -> spacemesh.v2alpha1.EligibilitiesRequest - 26, // 35: spacemesh.v2alpha1.SmeshingIdentitiesService.Proposals:input_type -> spacemesh.v2alpha1.ProposalsRequest - 17, // 36: spacemesh.v2alpha1.SmeshingIdentitiesService.States:output_type -> spacemesh.v2alpha1.IdentityStatesResponse - 20, // 37: spacemesh.v2alpha1.SmeshingIdentitiesService.PoetInfo:output_type -> spacemesh.v2alpha1.PoetInfoResponse - 25, // 38: spacemesh.v2alpha1.SmeshingIdentitiesService.Eligibilities:output_type -> spacemesh.v2alpha1.EligibilitiesResponse - 29, // 39: spacemesh.v2alpha1.SmeshingIdentitiesService.Proposals:output_type -> spacemesh.v2alpha1.ProposalsResponse - 36, // [36:40] is the sub-list for method output_type - 32, // [32:36] is the sub-list for method input_type - 32, // [32:32] is the sub-list for extension type_name - 32, // [32:32] is the sub-list for extension extendee - 0, // [0:32] is the sub-list for field type_name + 14, // 17: spacemesh.v2alpha1.IdentityStateInfo.proposal_publish_failed:type_name -> spacemesh.v2alpha1.ProposalPublishFailedState + 15, // 18: spacemesh.v2alpha1.IdentityStateInfo.proposal_published:type_name -> spacemesh.v2alpha1.ProposalPublishedState + 16, // 19: spacemesh.v2alpha1.Identity.history:type_name -> spacemesh.v2alpha1.IdentityStateInfo + 31, // 20: spacemesh.v2alpha1.IdentityStatesResponse.identities:type_name -> spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry + 36, // 21: spacemesh.v2alpha1.PoetConfig.phase_shift:type_name -> google.protobuf.Duration + 36, // 22: spacemesh.v2alpha1.PoetConfig.cycle_gap:type_name -> google.protobuf.Duration + 20, // 23: spacemesh.v2alpha1.PoetInfoResponse.config:type_name -> spacemesh.v2alpha1.PoetConfig + 23, // 24: spacemesh.v2alpha1.Eligibilities.eligibilities:type_name -> spacemesh.v2alpha1.ProposalEligibility + 32, // 25: spacemesh.v2alpha1.EpochEligibilities.epochs:type_name -> spacemesh.v2alpha1.EpochEligibilities.EpochsEntry + 33, // 26: spacemesh.v2alpha1.EligibilitiesResponse.identities:type_name -> spacemesh.v2alpha1.EligibilitiesResponse.IdentitiesEntry + 28, // 27: spacemesh.v2alpha1.Proposals.proposals:type_name -> spacemesh.v2alpha1.Proposal + 34, // 28: spacemesh.v2alpha1.ProposalsResponse.proposals:type_name -> spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry + 17, // 29: spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry.value:type_name -> spacemesh.v2alpha1.Identity + 22, // 30: spacemesh.v2alpha1.EpochEligibilities.EpochsEntry.value:type_name -> spacemesh.v2alpha1.Eligibilities + 24, // 31: spacemesh.v2alpha1.EligibilitiesResponse.IdentitiesEntry.value:type_name -> spacemesh.v2alpha1.EpochEligibilities + 29, // 32: spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry.value:type_name -> spacemesh.v2alpha1.Proposals + 1, // 33: spacemesh.v2alpha1.SmeshingIdentitiesService.States:input_type -> spacemesh.v2alpha1.IdentityStatesRequest + 19, // 34: spacemesh.v2alpha1.SmeshingIdentitiesService.PoetInfo:input_type -> spacemesh.v2alpha1.PoetInfoRequest + 25, // 35: spacemesh.v2alpha1.SmeshingIdentitiesService.Eligibilities:input_type -> spacemesh.v2alpha1.EligibilitiesRequest + 27, // 36: spacemesh.v2alpha1.SmeshingIdentitiesService.Proposals:input_type -> spacemesh.v2alpha1.ProposalsRequest + 18, // 37: spacemesh.v2alpha1.SmeshingIdentitiesService.States:output_type -> spacemesh.v2alpha1.IdentityStatesResponse + 21, // 38: spacemesh.v2alpha1.SmeshingIdentitiesService.PoetInfo:output_type -> spacemesh.v2alpha1.PoetInfoResponse + 26, // 39: spacemesh.v2alpha1.SmeshingIdentitiesService.Eligibilities:output_type -> spacemesh.v2alpha1.EligibilitiesResponse + 30, // 40: spacemesh.v2alpha1.SmeshingIdentitiesService.Proposals:output_type -> spacemesh.v2alpha1.ProposalsResponse + 37, // [37:41] is the sub-list for method output_type + 33, // [33:37] is the sub-list for method input_type + 33, // [33:33] is the sub-list for extension type_name + 33, // [33:33] is the sub-list for extension extendee + 0, // [0:33] is the sub-list for field type_name } func init() { file_spacemesh_v2alpha1_smeshing_identities_proto_init() } @@ -2220,7 +2317,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProposalPublishedState); i { + switch v := v.(*ProposalPublishFailedState); i { case 0: return &v.state case 1: @@ -2232,7 +2329,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IdentityStateInfo); i { + switch v := v.(*ProposalPublishedState); i { case 0: return &v.state case 1: @@ -2244,7 +2341,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Identity); i { + switch v := v.(*IdentityStateInfo); i { case 0: return &v.state case 1: @@ -2256,7 +2353,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IdentityStatesResponse); i { + switch v := v.(*Identity); i { case 0: return &v.state case 1: @@ -2268,7 +2365,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PoetInfoRequest); i { + switch v := v.(*IdentityStatesResponse); i { case 0: return &v.state case 1: @@ -2280,7 +2377,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PoetConfig); i { + switch v := v.(*PoetInfoRequest); i { case 0: return &v.state case 1: @@ -2292,7 +2389,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PoetInfoResponse); i { + switch v := v.(*PoetConfig); i { case 0: return &v.state case 1: @@ -2304,7 +2401,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Eligibilities); i { + switch v := v.(*PoetInfoResponse); i { case 0: return &v.state case 1: @@ -2316,7 +2413,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProposalEligibility); i { + switch v := v.(*Eligibilities); i { case 0: return &v.state case 1: @@ -2328,7 +2425,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EpochEligibilities); i { + switch v := v.(*ProposalEligibility); i { case 0: return &v.state case 1: @@ -2340,7 +2437,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EligibilitiesRequest); i { + switch v := v.(*EpochEligibilities); i { case 0: return &v.state case 1: @@ -2352,7 +2449,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EligibilitiesResponse); i { + switch v := v.(*EligibilitiesRequest); i { case 0: return &v.state case 1: @@ -2364,7 +2461,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProposalsRequest); i { + switch v := v.(*EligibilitiesResponse); i { case 0: return &v.state case 1: @@ -2376,7 +2473,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proposal); i { + switch v := v.(*ProposalsRequest); i { case 0: return &v.state case 1: @@ -2388,7 +2485,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proposals); i { + switch v := v.(*Proposal); i { case 0: return &v.state case 1: @@ -2400,6 +2497,18 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Proposals); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ProposalsResponse); i { case 0: return &v.state @@ -2412,7 +2521,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } } - file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[14].OneofWrappers = []interface{}{ + file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[15].OneofWrappers = []interface{}{ (*IdentityStateInfo_Retrying)(nil), (*IdentityStateInfo_WaitForAtxSynced)(nil), (*IdentityStateInfo_WaitingForPoetRegistrationWindow)(nil), @@ -2424,6 +2533,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { (*IdentityStateInfo_PostProofReady)(nil), (*IdentityStateInfo_AtxReady)(nil), (*IdentityStateInfo_AtxBroadcasted)(nil), + (*IdentityStateInfo_ProposalPublishFailed)(nil), (*IdentityStateInfo_ProposalPublished)(nil), } type x struct{} @@ -2432,7 +2542,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc, NumEnums: 1, - NumMessages: 33, + NumMessages: 34, NumExtensions: 0, NumServices: 1, }, diff --git a/release/openapi/swagger/src/api.swagger.json b/release/openapi/swagger/src/api.swagger.json index b05574f0..5e9b3078 100644 --- a/release/openapi/swagger/src/api.swagger.json +++ b/release/openapi/swagger/src/api.swagger.json @@ -1374,6 +1374,7 @@ "POST_PROOF_READY", "ATX_READY", "ATX_BROADCASTED", + "PROPOSAL_PUBLISH_FAILED", "PROPOSAL_PUBLISHED" ] }, @@ -1401,6 +1402,9 @@ "postProofReady": { "$ref": "#/definitions/v2alpha1PostProofReadyState" }, + "proposalPublishFailed": { + "$ref": "#/definitions/v2alpha1ProposalPublishFailedState" + }, "proposalPublished": { "$ref": "#/definitions/v2alpha1ProposalPublishedState" }, @@ -1612,6 +1616,22 @@ "v2alpha1PostProofReadyState": { "type": "object" }, + "v2alpha1ProposalPublishFailedState": { + "type": "object", + "properties": { + "layer": { + "type": "integer", + "format": "int64" + }, + "message": { + "type": "string" + }, + "proposal": { + "type": "string", + "format": "byte" + } + } + }, "v2alpha1ProposalPublishedState": { "type": "object", "properties": { diff --git a/spacemesh/v2alpha1/smeshing_identities.proto b/spacemesh/v2alpha1/smeshing_identities.proto index b15ad6f8..6201093c 100644 --- a/spacemesh/v2alpha1/smeshing_identities.proto +++ b/spacemesh/v2alpha1/smeshing_identities.proto @@ -28,7 +28,8 @@ enum IdentityState { ATX_READY = 10; ATX_BROADCASTED = 11; - PROPOSAL_PUBLISHED = 12; + PROPOSAL_PUBLISH_FAILED = 12; + PROPOSAL_PUBLISHED = 13; } message RetryingState { @@ -61,6 +62,11 @@ message AtxReadyState {} message AtxBroadcastedState { bytes atx_id = 1; } +message ProposalPublishFailedState { + string message = 1; + bytes proposal = 2; + uint32 layer = 3; +} message ProposalPublishedState { bytes proposal = 1; uint32 layer = 2; @@ -82,7 +88,8 @@ message IdentityStateInfo { PostProofReadyState post_proof_ready = 12; AtxReadyState atx_ready = 13; AtxBroadcastedState atx_broadcasted = 14; - ProposalPublishedState proposal_published = 15; + ProposalPublishFailedState proposal_publish_failed = 15; + ProposalPublishedState proposal_published = 16; } } From ba3ec7cd952d1ab9836237c73bca74f580137c8a Mon Sep 17 00:00:00 2001 From: Kacper Sawicki Date: Thu, 19 Dec 2024 13:52:53 +0100 Subject: [PATCH 38/41] Add eligible state to smesher states --- .../v2alpha1/smeshing_identities.pb.go | 795 ++++++++++-------- release/openapi/swagger/src/api.swagger.json | 22 +- spacemesh/v2alpha1/smeshing_identities.proto | 7 + 3 files changed, 473 insertions(+), 351 deletions(-) diff --git a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go index 65ac45bb..be36852c 100644 --- a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go +++ b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go @@ -42,6 +42,7 @@ const ( IdentityState_ATX_BROADCASTED IdentityState = 11 IdentityState_PROPOSAL_PUBLISH_FAILED IdentityState = 12 IdentityState_PROPOSAL_PUBLISHED IdentityState = 13 + IdentityState_ELIGIBLE IdentityState = 14 ) // Enum value maps for IdentityState. @@ -61,6 +62,7 @@ var ( 11: "ATX_BROADCASTED", 12: "PROPOSAL_PUBLISH_FAILED", 13: "PROPOSAL_PUBLISHED", + 14: "ELIGIBLE", } IdentityState_value = map[string]int32{ "UNSPECIFIED": 0, @@ -77,6 +79,7 @@ var ( "ATX_BROADCASTED": 11, "PROPOSAL_PUBLISH_FAILED": 12, "PROPOSAL_PUBLISHED": 13, + "ELIGIBLE": 14, } ) @@ -805,6 +808,61 @@ func (x *ProposalPublishedState) GetLayer() uint32 { return 0 } +type Eligible struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Epoch uint32 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"` + Layers []uint32 `protobuf:"varint,2,rep,packed,name=layers,proto3" json:"layers,omitempty"` +} + +func (x *Eligible) Reset() { + *x = Eligible{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Eligible) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Eligible) ProtoMessage() {} + +func (x *Eligible) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Eligible.ProtoReflect.Descriptor instead. +func (*Eligible) Descriptor() ([]byte, []int) { + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{15} +} + +func (x *Eligible) GetEpoch() uint32 { + if x != nil { + return x.Epoch + } + return 0 +} + +func (x *Eligible) GetLayers() []uint32 { + if x != nil { + return x.Layers + } + return nil +} + type IdentityStateInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -828,13 +886,14 @@ type IdentityStateInfo struct { // *IdentityStateInfo_AtxBroadcasted // *IdentityStateInfo_ProposalPublishFailed // *IdentityStateInfo_ProposalPublished + // *IdentityStateInfo_Eligible Metadata isIdentityStateInfo_Metadata `protobuf_oneof:"metadata"` } func (x *IdentityStateInfo) Reset() { *x = IdentityStateInfo{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[15] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -847,7 +906,7 @@ func (x *IdentityStateInfo) String() string { func (*IdentityStateInfo) ProtoMessage() {} func (x *IdentityStateInfo) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[15] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -860,7 +919,7 @@ func (x *IdentityStateInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use IdentityStateInfo.ProtoReflect.Descriptor instead. func (*IdentityStateInfo) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{15} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{16} } func (x *IdentityStateInfo) GetState() IdentityState { @@ -982,6 +1041,13 @@ func (x *IdentityStateInfo) GetProposalPublished() *ProposalPublishedState { return nil } +func (x *IdentityStateInfo) GetEligible() *Eligible { + if x, ok := x.GetMetadata().(*IdentityStateInfo_Eligible); ok { + return x.Eligible + } + return nil +} + type isIdentityStateInfo_Metadata interface { isIdentityStateInfo_Metadata() } @@ -1038,6 +1104,10 @@ type IdentityStateInfo_ProposalPublished struct { ProposalPublished *ProposalPublishedState `protobuf:"bytes,16,opt,name=proposal_published,json=proposalPublished,proto3,oneof"` } +type IdentityStateInfo_Eligible struct { + Eligible *Eligible `protobuf:"bytes,17,opt,name=eligible,proto3,oneof"` +} + func (*IdentityStateInfo_Retrying) isIdentityStateInfo_Metadata() {} func (*IdentityStateInfo_WaitForAtxSynced) isIdentityStateInfo_Metadata() {} @@ -1064,6 +1134,8 @@ func (*IdentityStateInfo_ProposalPublishFailed) isIdentityStateInfo_Metadata() { func (*IdentityStateInfo_ProposalPublished) isIdentityStateInfo_Metadata() {} +func (*IdentityStateInfo_Eligible) isIdentityStateInfo_Metadata() {} + type Identity struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1075,7 +1147,7 @@ type Identity struct { func (x *Identity) Reset() { *x = Identity{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[16] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1088,7 +1160,7 @@ func (x *Identity) String() string { func (*Identity) ProtoMessage() {} func (x *Identity) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[16] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1101,7 +1173,7 @@ func (x *Identity) ProtoReflect() protoreflect.Message { // Deprecated: Use Identity.ProtoReflect.Descriptor instead. func (*Identity) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{16} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{17} } func (x *Identity) GetHistory() []*IdentityStateInfo { @@ -1122,7 +1194,7 @@ type IdentityStatesResponse struct { func (x *IdentityStatesResponse) Reset() { *x = IdentityStatesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[17] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1135,7 +1207,7 @@ func (x *IdentityStatesResponse) String() string { func (*IdentityStatesResponse) ProtoMessage() {} func (x *IdentityStatesResponse) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[17] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1148,7 +1220,7 @@ func (x *IdentityStatesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use IdentityStatesResponse.ProtoReflect.Descriptor instead. func (*IdentityStatesResponse) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{17} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{18} } func (x *IdentityStatesResponse) GetIdentities() map[string]*Identity { @@ -1168,7 +1240,7 @@ type PoetInfoRequest struct { func (x *PoetInfoRequest) Reset() { *x = PoetInfoRequest{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[18] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1181,7 +1253,7 @@ func (x *PoetInfoRequest) String() string { func (*PoetInfoRequest) ProtoMessage() {} func (x *PoetInfoRequest) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[18] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1194,7 +1266,7 @@ func (x *PoetInfoRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use PoetInfoRequest.ProtoReflect.Descriptor instead. func (*PoetInfoRequest) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{18} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{19} } type PoetConfig struct { @@ -1209,7 +1281,7 @@ type PoetConfig struct { func (x *PoetConfig) Reset() { *x = PoetConfig{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[19] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1222,7 +1294,7 @@ func (x *PoetConfig) String() string { func (*PoetConfig) ProtoMessage() {} func (x *PoetConfig) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[19] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1235,7 +1307,7 @@ func (x *PoetConfig) ProtoReflect() protoreflect.Message { // Deprecated: Use PoetConfig.ProtoReflect.Descriptor instead. func (*PoetConfig) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{19} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{20} } func (x *PoetConfig) GetPhaseShift() *durationpb.Duration { @@ -1264,7 +1336,7 @@ type PoetInfoResponse struct { func (x *PoetInfoResponse) Reset() { *x = PoetInfoResponse{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[20] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1277,7 +1349,7 @@ func (x *PoetInfoResponse) String() string { func (*PoetInfoResponse) ProtoMessage() {} func (x *PoetInfoResponse) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[20] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1290,7 +1362,7 @@ func (x *PoetInfoResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use PoetInfoResponse.ProtoReflect.Descriptor instead. func (*PoetInfoResponse) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{20} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{21} } func (x *PoetInfoResponse) GetPoets() []string { @@ -1319,7 +1391,7 @@ type Eligibilities struct { func (x *Eligibilities) Reset() { *x = Eligibilities{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[21] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1332,7 +1404,7 @@ func (x *Eligibilities) String() string { func (*Eligibilities) ProtoMessage() {} func (x *Eligibilities) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[21] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1345,7 +1417,7 @@ func (x *Eligibilities) ProtoReflect() protoreflect.Message { // Deprecated: Use Eligibilities.ProtoReflect.Descriptor instead. func (*Eligibilities) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{21} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{22} } func (x *Eligibilities) GetEligibilities() []*ProposalEligibility { @@ -1367,7 +1439,7 @@ type ProposalEligibility struct { func (x *ProposalEligibility) Reset() { *x = ProposalEligibility{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[22] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1380,7 +1452,7 @@ func (x *ProposalEligibility) String() string { func (*ProposalEligibility) ProtoMessage() {} func (x *ProposalEligibility) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[22] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[23] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1393,7 +1465,7 @@ func (x *ProposalEligibility) ProtoReflect() protoreflect.Message { // Deprecated: Use ProposalEligibility.ProtoReflect.Descriptor instead. func (*ProposalEligibility) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{22} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{23} } func (x *ProposalEligibility) GetLayer() uint32 { @@ -1421,7 +1493,7 @@ type EpochEligibilities struct { func (x *EpochEligibilities) Reset() { *x = EpochEligibilities{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[23] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1434,7 +1506,7 @@ func (x *EpochEligibilities) String() string { func (*EpochEligibilities) ProtoMessage() {} func (x *EpochEligibilities) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[23] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[24] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1447,7 +1519,7 @@ func (x *EpochEligibilities) ProtoReflect() protoreflect.Message { // Deprecated: Use EpochEligibilities.ProtoReflect.Descriptor instead. func (*EpochEligibilities) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{23} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{24} } func (x *EpochEligibilities) GetEpochs() map[uint32]*Eligibilities { @@ -1466,7 +1538,7 @@ type EligibilitiesRequest struct { func (x *EligibilitiesRequest) Reset() { *x = EligibilitiesRequest{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[24] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1479,7 +1551,7 @@ func (x *EligibilitiesRequest) String() string { func (*EligibilitiesRequest) ProtoMessage() {} func (x *EligibilitiesRequest) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[24] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[25] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1492,7 +1564,7 @@ func (x *EligibilitiesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use EligibilitiesRequest.ProtoReflect.Descriptor instead. func (*EligibilitiesRequest) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{24} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{25} } type EligibilitiesResponse struct { @@ -1506,7 +1578,7 @@ type EligibilitiesResponse struct { func (x *EligibilitiesResponse) Reset() { *x = EligibilitiesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[25] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1519,7 +1591,7 @@ func (x *EligibilitiesResponse) String() string { func (*EligibilitiesResponse) ProtoMessage() {} func (x *EligibilitiesResponse) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[25] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[26] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1532,7 +1604,7 @@ func (x *EligibilitiesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use EligibilitiesResponse.ProtoReflect.Descriptor instead. func (*EligibilitiesResponse) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{25} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{26} } func (x *EligibilitiesResponse) GetIdentities() map[string]*EpochEligibilities { @@ -1551,7 +1623,7 @@ type ProposalsRequest struct { func (x *ProposalsRequest) Reset() { *x = ProposalsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[26] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1564,7 +1636,7 @@ func (x *ProposalsRequest) String() string { func (*ProposalsRequest) ProtoMessage() {} func (x *ProposalsRequest) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[26] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[27] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1577,7 +1649,7 @@ func (x *ProposalsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ProposalsRequest.ProtoReflect.Descriptor instead. func (*ProposalsRequest) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{26} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{27} } type Proposal struct { @@ -1592,7 +1664,7 @@ type Proposal struct { func (x *Proposal) Reset() { *x = Proposal{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[27] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1605,7 +1677,7 @@ func (x *Proposal) String() string { func (*Proposal) ProtoMessage() {} func (x *Proposal) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[27] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[28] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1618,7 +1690,7 @@ func (x *Proposal) ProtoReflect() protoreflect.Message { // Deprecated: Use Proposal.ProtoReflect.Descriptor instead. func (*Proposal) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{27} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{28} } func (x *Proposal) GetLayer() uint32 { @@ -1646,7 +1718,7 @@ type Proposals struct { func (x *Proposals) Reset() { *x = Proposals{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[28] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1659,7 +1731,7 @@ func (x *Proposals) String() string { func (*Proposals) ProtoMessage() {} func (x *Proposals) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[28] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[29] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1672,7 +1744,7 @@ func (x *Proposals) ProtoReflect() protoreflect.Message { // Deprecated: Use Proposals.ProtoReflect.Descriptor instead. func (*Proposals) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{28} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{29} } func (x *Proposals) GetProposals() []*Proposal { @@ -1693,7 +1765,7 @@ type ProposalsResponse struct { func (x *ProposalsResponse) Reset() { *x = ProposalsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[29] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1706,7 +1778,7 @@ func (x *ProposalsResponse) String() string { func (*ProposalsResponse) ProtoMessage() {} func (x *ProposalsResponse) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[29] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[30] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1719,7 +1791,7 @@ func (x *ProposalsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ProposalsResponse.ProtoReflect.Descriptor instead. func (*ProposalsResponse) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{29} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{30} } func (x *ProposalsResponse) GetProposals() map[string]*Proposals { @@ -1804,252 +1876,260 @@ var file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc = []byte{ 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, - 0x61, 0x79, 0x65, 0x72, 0x22, 0xfe, 0x0a, 0x0a, 0x11, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, - 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x37, 0x0a, 0x05, 0x73, 0x74, - 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, - 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, - 0x61, 0x74, 0x65, 0x12, 0x28, 0x0a, 0x0d, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x65, - 0x70, 0x6f, 0x63, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x01, 0x52, 0x0c, 0x70, 0x75, - 0x62, 0x6c, 0x69, 0x73, 0x68, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x88, 0x01, 0x01, 0x12, 0x2e, 0x0a, - 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, - 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x3f, 0x0a, - 0x08, 0x72, 0x65, 0x74, 0x72, 0x79, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x74, 0x72, 0x79, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, - 0x74, 0x65, 0x48, 0x00, 0x52, 0x08, 0x72, 0x65, 0x74, 0x72, 0x79, 0x69, 0x6e, 0x67, 0x12, 0x5a, - 0x0a, 0x13, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x61, 0x74, 0x78, 0x5f, 0x73, - 0x79, 0x6e, 0x63, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x73, 0x70, + 0x61, 0x79, 0x65, 0x72, 0x22, 0x38, 0x0a, 0x08, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x6c, 0x65, + 0x12, 0x14, 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x73, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x06, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x73, 0x22, 0xba, + 0x0b, 0x0a, 0x11, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x37, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, + 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x28, 0x0a, + 0x0d, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0d, 0x48, 0x01, 0x52, 0x0c, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x45, + 0x70, 0x6f, 0x63, 0x68, 0x88, 0x01, 0x01, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, + 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x3f, 0x0a, 0x08, 0x72, 0x65, 0x74, 0x72, 0x79, + 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, + 0x65, 0x74, 0x72, 0x79, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x08, + 0x72, 0x65, 0x74, 0x72, 0x79, 0x69, 0x6e, 0x67, 0x12, 0x5a, 0x0a, 0x13, 0x77, 0x61, 0x69, 0x74, + 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x61, 0x74, 0x78, 0x5f, 0x73, 0x79, 0x6e, 0x63, 0x65, 0x64, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, + 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x57, 0x61, 0x69, 0x74, 0x46, + 0x6f, 0x72, 0x41, 0x74, 0x78, 0x53, 0x79, 0x6e, 0x63, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x48, 0x00, 0x52, 0x10, 0x77, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x41, 0x74, 0x78, 0x53, 0x79, + 0x6e, 0x63, 0x65, 0x64, 0x12, 0x8b, 0x01, 0x0a, 0x24, 0x77, 0x61, 0x69, 0x74, 0x69, 0x6e, 0x67, + 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, + 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x57, 0x61, 0x69, 0x74, 0x69, 0x6e, 0x67, + 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, + 0x52, 0x20, 0x77, 0x61, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x65, 0x74, + 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x69, 0x6e, 0x64, + 0x6f, 0x77, 0x12, 0x5f, 0x0a, 0x14, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x63, 0x68, 0x61, 0x6c, 0x6c, + 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x2b, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, + 0x6e, 0x67, 0x65, 0x52, 0x65, 0x61, 0x64, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, + 0x12, 0x70, 0x6f, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, + 0x61, 0x64, 0x79, 0x12, 0x52, 0x0a, 0x0f, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x67, 0x69, + 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x0e, 0x70, 0x6f, 0x65, 0x74, 0x52, 0x65, 0x67, + 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x12, 0x64, 0x0a, 0x17, 0x77, 0x61, 0x69, 0x74, 0x5f, + 0x66, 0x6f, 0x72, 0x5f, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x65, + 0x6e, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x57, 0x61, + 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x45, 0x6e, + 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x13, 0x77, 0x61, 0x69, 0x74, 0x46, 0x6f, + 0x72, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x45, 0x6e, 0x64, 0x12, 0x5c, 0x0a, + 0x13, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x5f, 0x72, 0x65, 0x63, 0x65, + 0x69, 0x76, 0x65, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, + 0x50, 0x6f, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, + 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x11, 0x70, 0x6f, 0x65, 0x74, 0x50, 0x72, + 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x12, 0x62, 0x0a, 0x15, 0x67, + 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x73, 0x74, 0x5f, 0x70, + 0x72, 0x6f, 0x6f, 0x66, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, + 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x73, 0x74, 0x50, 0x72, + 0x6f, 0x6f, 0x66, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x13, 0x67, 0x65, 0x6e, 0x65, + 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x12, + 0x53, 0x0a, 0x10, 0x70, 0x6f, 0x73, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x5f, 0x72, 0x65, + 0x61, 0x64, 0x79, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, + 0x6f, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x61, 0x64, 0x79, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x48, 0x00, 0x52, 0x0e, 0x70, 0x6f, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, + 0x65, 0x61, 0x64, 0x79, 0x12, 0x40, 0x0a, 0x09, 0x61, 0x74, 0x78, 0x5f, 0x72, 0x65, 0x61, 0x64, + 0x79, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, + 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, 0x74, 0x78, + 0x52, 0x65, 0x61, 0x64, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x08, 0x61, 0x74, + 0x78, 0x52, 0x65, 0x61, 0x64, 0x79, 0x12, 0x52, 0x0a, 0x0f, 0x61, 0x74, 0x78, 0x5f, 0x62, 0x72, + 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x65, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x27, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, 0x74, 0x78, 0x42, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, + 0x74, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x0e, 0x61, 0x74, 0x78, 0x42, + 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x65, 0x64, 0x12, 0x68, 0x0a, 0x17, 0x70, 0x72, + 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x66, + 0x61, 0x69, 0x6c, 0x65, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x41, 0x74, 0x78, 0x53, 0x79, 0x6e, 0x63, 0x65, - 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x10, 0x77, 0x61, 0x69, 0x74, 0x46, 0x6f, - 0x72, 0x41, 0x74, 0x78, 0x53, 0x79, 0x6e, 0x63, 0x65, 0x64, 0x12, 0x8b, 0x01, 0x0a, 0x24, 0x77, - 0x61, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x70, 0x6f, 0x65, 0x74, 0x5f, - 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x77, 0x69, 0x6e, - 0x64, 0x6f, 0x77, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x57, - 0x61, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x53, - 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x20, 0x77, 0x61, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x46, - 0x6f, 0x72, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x12, 0x5f, 0x0a, 0x14, 0x70, 0x6f, 0x65, 0x74, - 0x5f, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x79, - 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, - 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, - 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x61, 0x64, 0x79, 0x53, 0x74, - 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x12, 0x70, 0x6f, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6c, 0x6c, - 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x61, 0x64, 0x79, 0x12, 0x52, 0x0a, 0x0f, 0x70, 0x6f, 0x65, - 0x74, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x18, 0x08, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, - 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x0e, 0x70, - 0x6f, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x12, 0x64, 0x0a, - 0x17, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x72, - 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x65, 0x6e, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, - 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x65, 0x74, 0x52, - 0x6f, 0x75, 0x6e, 0x64, 0x45, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x13, - 0x77, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x6f, 0x75, 0x6e, 0x64, - 0x45, 0x6e, 0x64, 0x12, 0x5c, 0x0a, 0x13, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x6f, - 0x66, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, + 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, + 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x15, 0x70, + 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x46, 0x61, + 0x69, 0x6c, 0x65, 0x64, 0x12, 0x5b, 0x0a, 0x12, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, + 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x64, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, - 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x11, - 0x70, 0x6f, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, - 0x64, 0x12, 0x62, 0x0a, 0x15, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x5f, - 0x70, 0x6f, 0x73, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x2c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, - 0x50, 0x6f, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, - 0x52, 0x13, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x73, 0x74, - 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x53, 0x0a, 0x10, 0x70, 0x6f, 0x73, 0x74, 0x5f, 0x70, 0x72, - 0x6f, 0x6f, 0x66, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x79, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x27, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, - 0x61, 0x64, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x0e, 0x70, 0x6f, 0x73, 0x74, - 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x61, 0x64, 0x79, 0x12, 0x40, 0x0a, 0x09, 0x61, 0x74, - 0x78, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x79, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x41, 0x74, 0x78, 0x52, 0x65, 0x61, 0x64, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, - 0x48, 0x00, 0x52, 0x08, 0x61, 0x74, 0x78, 0x52, 0x65, 0x61, 0x64, 0x79, 0x12, 0x52, 0x0a, 0x0f, - 0x61, 0x74, 0x78, 0x5f, 0x62, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x65, 0x64, 0x18, - 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, - 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, 0x74, 0x78, 0x42, 0x72, - 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, - 0x52, 0x0e, 0x61, 0x74, 0x78, 0x42, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x65, 0x64, - 0x12, 0x68, 0x0a, 0x17, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x5f, 0x70, 0x75, 0x62, - 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x2e, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, - 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, - 0x65, 0x48, 0x00, 0x52, 0x15, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x75, 0x62, - 0x6c, 0x69, 0x73, 0x68, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x12, 0x5b, 0x0a, 0x12, 0x70, 0x72, - 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x64, - 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, - 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, - 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x64, 0x53, 0x74, 0x61, - 0x74, 0x65, 0x48, 0x00, 0x52, 0x11, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x75, - 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x64, 0x42, 0x0a, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, - 0x61, 0x74, 0x61, 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, - 0x65, 0x70, 0x6f, 0x63, 0x68, 0x22, 0x4b, 0x0a, 0x08, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, - 0x79, 0x12, 0x3f, 0x0a, 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, - 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, - 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, - 0x72, 0x79, 0x22, 0xd1, 0x01, 0x0a, 0x16, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, - 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5a, 0x0a, - 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x3a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, - 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x49, 0x64, - 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x69, - 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x1a, 0x5b, 0x0a, 0x0f, 0x49, 0x64, 0x65, - 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, - 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x32, - 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x11, 0x0a, 0x0f, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, - 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x80, 0x01, 0x0a, 0x0a, 0x50, 0x6f, - 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3a, 0x0a, 0x0b, 0x70, 0x68, 0x61, 0x73, - 0x65, 0x5f, 0x73, 0x68, 0x69, 0x66, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x70, 0x68, 0x61, 0x73, 0x65, 0x53, - 0x68, 0x69, 0x66, 0x74, 0x12, 0x36, 0x0a, 0x09, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x5f, 0x67, 0x61, - 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x08, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x47, 0x61, 0x70, 0x22, 0x60, 0x0a, 0x10, - 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x14, 0x0a, 0x05, 0x70, 0x6f, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, - 0x05, 0x70, 0x6f, 0x65, 0x74, 0x73, 0x12, 0x36, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, - 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, - 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x5e, - 0x0a, 0x0d, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, - 0x4d, 0x0a, 0x0d, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, - 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, - 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, - 0x6f, 0x73, 0x61, 0x6c, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, - 0x0d, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x22, 0x41, - 0x0a, 0x13, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, - 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x22, 0xbe, 0x01, 0x0a, 0x12, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x45, 0x6c, 0x69, 0x67, 0x69, - 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x4a, 0x0a, 0x06, 0x65, 0x70, 0x6f, 0x63, - 0x68, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x70, - 0x6f, 0x63, 0x68, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, - 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x65, 0x70, - 0x6f, 0x63, 0x68, 0x73, 0x1a, 0x5c, 0x0a, 0x0b, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, - 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x37, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, - 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, - 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, - 0x38, 0x01, 0x22, 0x16, 0x0a, 0x14, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, - 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xd9, 0x01, 0x0a, 0x15, 0x45, - 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, - 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, - 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x75, + 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x11, + 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, + 0x64, 0x12, 0x3a, 0x0a, 0x08, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x6c, 0x65, 0x18, 0x11, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, + 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x6c, + 0x65, 0x48, 0x00, 0x52, 0x08, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x6c, 0x65, 0x42, 0x0a, 0x0a, + 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x70, 0x75, + 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x22, 0x4b, 0x0a, 0x08, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x3f, 0x0a, 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, + 0x72, 0x79, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x22, 0xd1, 0x01, 0x0a, 0x16, 0x49, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x5a, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, + 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x1a, - 0x65, 0x0a, 0x0f, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, + 0x5b, 0x0a, 0x0f, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, - 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x45, 0x6c, - 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x12, 0x0a, 0x10, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, - 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x3c, 0x0a, 0x08, 0x50, 0x72, - 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, - 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, - 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x22, 0x47, 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x70, - 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x12, 0x3a, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, - 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, - 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, - 0x73, 0x22, 0xc4, 0x01, 0x0a, 0x11, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, - 0x73, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x52, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x1a, 0x5b, 0x0a, 0x0e, 0x50, - 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, - 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, - 0x33, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, - 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x2a, 0xe0, 0x02, 0x0a, 0x0d, 0x49, 0x64, 0x65, - 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, - 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x57, - 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x41, 0x54, 0x58, 0x5f, 0x53, 0x59, 0x4e, 0x43, - 0x45, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x45, 0x54, 0x52, 0x59, 0x49, 0x4e, 0x47, - 0x10, 0x02, 0x12, 0x28, 0x0a, 0x24, 0x57, 0x41, 0x49, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x46, 0x4f, - 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x41, 0x54, - 0x49, 0x4f, 0x4e, 0x5f, 0x57, 0x49, 0x4e, 0x44, 0x4f, 0x57, 0x10, 0x03, 0x12, 0x18, 0x0a, 0x14, - 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, 0x47, 0x45, 0x5f, 0x52, - 0x45, 0x41, 0x44, 0x59, 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, - 0x45, 0x47, 0x49, 0x53, 0x54, 0x45, 0x52, 0x45, 0x44, 0x10, 0x05, 0x12, 0x1b, 0x0a, 0x17, 0x57, - 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x55, - 0x4e, 0x44, 0x5f, 0x45, 0x4e, 0x44, 0x10, 0x06, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x4f, 0x45, 0x54, - 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x43, 0x45, 0x49, 0x56, 0x45, 0x44, 0x10, - 0x07, 0x12, 0x19, 0x0a, 0x15, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x5f, - 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x10, 0x08, 0x12, 0x14, 0x0a, 0x10, - 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, - 0x10, 0x09, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x54, 0x58, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, - 0x0a, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x54, 0x58, 0x5f, 0x42, 0x52, 0x4f, 0x41, 0x44, 0x43, 0x41, - 0x53, 0x54, 0x45, 0x44, 0x10, 0x0b, 0x12, 0x1b, 0x0a, 0x17, 0x50, 0x52, 0x4f, 0x50, 0x4f, 0x53, - 0x41, 0x4c, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, - 0x44, 0x10, 0x0c, 0x12, 0x16, 0x0a, 0x12, 0x50, 0x52, 0x4f, 0x50, 0x4f, 0x53, 0x41, 0x4c, 0x5f, - 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, 0x45, 0x44, 0x10, 0x0d, 0x32, 0xa7, 0x03, 0x0a, 0x19, - 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, - 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x61, 0x0a, 0x06, 0x53, 0x74, 0x61, - 0x74, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, + 0x03, 0x6b, 0x65, 0x79, 0x12, 0x32, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, - 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, + 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x11, 0x0a, 0x0f, + 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, + 0x80, 0x01, 0x0a, 0x0a, 0x50, 0x6f, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3a, + 0x0a, 0x0b, 0x70, 0x68, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68, 0x69, 0x66, 0x74, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, + 0x70, 0x68, 0x61, 0x73, 0x65, 0x53, 0x68, 0x69, 0x66, 0x74, 0x12, 0x36, 0x0a, 0x09, 0x63, 0x79, + 0x63, 0x6c, 0x65, 0x5f, 0x67, 0x61, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x47, + 0x61, 0x70, 0x22, 0x60, 0x0a, 0x10, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x6f, 0x65, 0x74, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x70, 0x6f, 0x65, 0x74, 0x73, 0x12, 0x36, 0x0a, 0x06, + 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x06, 0x63, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x22, 0x5e, 0x0a, 0x0d, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, + 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x4d, 0x0a, 0x0d, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, + 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, + 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0d, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, + 0x74, 0x69, 0x65, 0x73, 0x22, 0x41, 0x0a, 0x13, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, + 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x61, 0x79, 0x65, + 0x72, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xbe, 0x01, 0x0a, 0x12, 0x45, 0x70, 0x6f, 0x63, + 0x68, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x4a, + 0x0a, 0x06, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, - 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x57, 0x0a, 0x08, - 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x23, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, - 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x66, 0x0a, 0x0d, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, - 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x28, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, - 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, - 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, - 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5a, 0x0a, - 0x09, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x12, 0x24, 0x2e, 0x73, 0x70, 0x61, + 0x68, 0x61, 0x31, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, + 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x52, 0x06, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x1a, 0x5c, 0x0a, 0x0b, 0x45, 0x70, + 0x6f, 0x63, 0x68, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x37, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, + 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x16, 0x0a, 0x14, 0x45, 0x6c, 0x69, 0x67, + 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x22, 0xd9, 0x01, 0x0a, 0x15, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, + 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0a, 0x69, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, + 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x69, 0x65, 0x73, 0x1a, 0x65, 0x0a, 0x0f, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3c, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, + 0x70, 0x6f, 0x63, 0x68, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, + 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x12, 0x0a, 0x10, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x25, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, + 0x22, 0x3c, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x12, 0x14, 0x0a, 0x05, + 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x61, 0x79, + 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x22, 0x47, + 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x12, 0x3a, 0x0a, 0x09, 0x70, + 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, + 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x52, 0x09, 0x70, 0x72, + 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x22, 0xc4, 0x01, 0x0a, 0x11, 0x50, 0x72, 0x6f, 0x70, + 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a, + 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x34, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x1a, 0x0a, 0xfa, 0xd2, 0xe4, 0x93, 0x02, - 0x04, 0x12, 0x02, 0x56, 0x32, 0x42, 0xe6, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x42, 0x17, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, - 0x74, 0x69, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, 0x69, 0x74, - 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, - 0x68, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2f, - 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, 0x32, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x76, - 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, 0x02, 0x12, - 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0xca, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, - 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x1e, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, - 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, - 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x13, 0x53, 0x70, 0x61, 0x63, 0x65, - 0x6d, 0x65, 0x73, 0x68, 0x3a, 0x3a, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, + 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, + 0x73, 0x1a, 0x5b, 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x33, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, + 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, + 0x61, 0x6c, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x2a, 0xee, + 0x02, 0x0a, 0x0d, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, + 0x00, 0x12, 0x17, 0x0a, 0x13, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x41, 0x54, + 0x58, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x45, + 0x54, 0x52, 0x59, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x28, 0x0a, 0x24, 0x57, 0x41, 0x49, 0x54, + 0x49, 0x4e, 0x47, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, + 0x49, 0x53, 0x54, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x57, 0x49, 0x4e, 0x44, 0x4f, 0x57, + 0x10, 0x03, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4c, 0x4c, + 0x45, 0x4e, 0x47, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f, + 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x45, 0x52, 0x45, 0x44, 0x10, + 0x05, 0x12, 0x1b, 0x0a, 0x17, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, + 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x55, 0x4e, 0x44, 0x5f, 0x45, 0x4e, 0x44, 0x10, 0x06, 0x12, 0x17, + 0x0a, 0x13, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x43, + 0x45, 0x49, 0x56, 0x45, 0x44, 0x10, 0x07, 0x12, 0x19, 0x0a, 0x15, 0x47, 0x45, 0x4e, 0x45, 0x52, + 0x41, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, + 0x10, 0x08, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, + 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x09, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x54, 0x58, 0x5f, + 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x0a, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x54, 0x58, 0x5f, 0x42, + 0x52, 0x4f, 0x41, 0x44, 0x43, 0x41, 0x53, 0x54, 0x45, 0x44, 0x10, 0x0b, 0x12, 0x1b, 0x0a, 0x17, + 0x50, 0x52, 0x4f, 0x50, 0x4f, 0x53, 0x41, 0x4c, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, + 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x0c, 0x12, 0x16, 0x0a, 0x12, 0x50, 0x52, 0x4f, + 0x50, 0x4f, 0x53, 0x41, 0x4c, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, 0x45, 0x44, 0x10, + 0x0d, 0x12, 0x0c, 0x0a, 0x08, 0x45, 0x4c, 0x49, 0x47, 0x49, 0x42, 0x4c, 0x45, 0x10, 0x0e, 0x32, + 0xa7, 0x03, 0x0a, 0x19, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x61, 0x0a, + 0x06, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, + 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, + 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x57, 0x0a, 0x08, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x23, 0x2e, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x24, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x66, 0x0a, 0x0d, 0x45, 0x6c, 0x69, + 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x28, 0x2e, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, + 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, + 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, + 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x5a, 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x12, 0x24, + 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, + 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, + 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x1a, 0x0a, 0xfa, + 0xd2, 0xe4, 0x93, 0x02, 0x04, 0x12, 0x02, 0x56, 0x32, 0x42, 0xe6, 0x01, 0x0a, 0x16, 0x63, 0x6f, + 0x6d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x42, 0x17, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, + 0x4a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x6d, 0x65, 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x6c, 0x65, + 0x61, 0x73, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, + 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, + 0x65, 0x73, 0x68, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, + 0x58, 0xaa, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x56, 0x32, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, + 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x1e, 0x53, 0x70, + 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x13, 0x53, + 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x3a, 0x3a, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -2065,7 +2145,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP() []byte { } var file_spacemesh_v2alpha1_smeshing_identities_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes = make([]protoimpl.MessageInfo, 34) +var file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes = make([]protoimpl.MessageInfo, 35) var file_spacemesh_v2alpha1_smeshing_identities_proto_goTypes = []interface{}{ (IdentityState)(0), // 0: spacemesh.v2alpha1.IdentityState (*IdentityStatesRequest)(nil), // 1: spacemesh.v2alpha1.IdentityStatesRequest @@ -2083,35 +2163,36 @@ var file_spacemesh_v2alpha1_smeshing_identities_proto_goTypes = []interface{}{ (*AtxBroadcastedState)(nil), // 13: spacemesh.v2alpha1.AtxBroadcastedState (*ProposalPublishFailedState)(nil), // 14: spacemesh.v2alpha1.ProposalPublishFailedState (*ProposalPublishedState)(nil), // 15: spacemesh.v2alpha1.ProposalPublishedState - (*IdentityStateInfo)(nil), // 16: spacemesh.v2alpha1.IdentityStateInfo - (*Identity)(nil), // 17: spacemesh.v2alpha1.Identity - (*IdentityStatesResponse)(nil), // 18: spacemesh.v2alpha1.IdentityStatesResponse - (*PoetInfoRequest)(nil), // 19: spacemesh.v2alpha1.PoetInfoRequest - (*PoetConfig)(nil), // 20: spacemesh.v2alpha1.PoetConfig - (*PoetInfoResponse)(nil), // 21: spacemesh.v2alpha1.PoetInfoResponse - (*Eligibilities)(nil), // 22: spacemesh.v2alpha1.Eligibilities - (*ProposalEligibility)(nil), // 23: spacemesh.v2alpha1.ProposalEligibility - (*EpochEligibilities)(nil), // 24: spacemesh.v2alpha1.EpochEligibilities - (*EligibilitiesRequest)(nil), // 25: spacemesh.v2alpha1.EligibilitiesRequest - (*EligibilitiesResponse)(nil), // 26: spacemesh.v2alpha1.EligibilitiesResponse - (*ProposalsRequest)(nil), // 27: spacemesh.v2alpha1.ProposalsRequest - (*Proposal)(nil), // 28: spacemesh.v2alpha1.Proposal - (*Proposals)(nil), // 29: spacemesh.v2alpha1.Proposals - (*ProposalsResponse)(nil), // 30: spacemesh.v2alpha1.ProposalsResponse - nil, // 31: spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry - nil, // 32: spacemesh.v2alpha1.EpochEligibilities.EpochsEntry - nil, // 33: spacemesh.v2alpha1.EligibilitiesResponse.IdentitiesEntry - nil, // 34: spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry - (*timestamppb.Timestamp)(nil), // 35: google.protobuf.Timestamp - (*durationpb.Duration)(nil), // 36: google.protobuf.Duration + (*Eligible)(nil), // 16: spacemesh.v2alpha1.Eligible + (*IdentityStateInfo)(nil), // 17: spacemesh.v2alpha1.IdentityStateInfo + (*Identity)(nil), // 18: spacemesh.v2alpha1.Identity + (*IdentityStatesResponse)(nil), // 19: spacemesh.v2alpha1.IdentityStatesResponse + (*PoetInfoRequest)(nil), // 20: spacemesh.v2alpha1.PoetInfoRequest + (*PoetConfig)(nil), // 21: spacemesh.v2alpha1.PoetConfig + (*PoetInfoResponse)(nil), // 22: spacemesh.v2alpha1.PoetInfoResponse + (*Eligibilities)(nil), // 23: spacemesh.v2alpha1.Eligibilities + (*ProposalEligibility)(nil), // 24: spacemesh.v2alpha1.ProposalEligibility + (*EpochEligibilities)(nil), // 25: spacemesh.v2alpha1.EpochEligibilities + (*EligibilitiesRequest)(nil), // 26: spacemesh.v2alpha1.EligibilitiesRequest + (*EligibilitiesResponse)(nil), // 27: spacemesh.v2alpha1.EligibilitiesResponse + (*ProposalsRequest)(nil), // 28: spacemesh.v2alpha1.ProposalsRequest + (*Proposal)(nil), // 29: spacemesh.v2alpha1.Proposal + (*Proposals)(nil), // 30: spacemesh.v2alpha1.Proposals + (*ProposalsResponse)(nil), // 31: spacemesh.v2alpha1.ProposalsResponse + nil, // 32: spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry + nil, // 33: spacemesh.v2alpha1.EpochEligibilities.EpochsEntry + nil, // 34: spacemesh.v2alpha1.EligibilitiesResponse.IdentitiesEntry + nil, // 35: spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry + (*timestamppb.Timestamp)(nil), // 36: google.protobuf.Timestamp + (*durationpb.Duration)(nil), // 37: google.protobuf.Duration } var file_spacemesh_v2alpha1_smeshing_identities_proto_depIdxs = []int32{ - 35, // 0: spacemesh.v2alpha1.PoETRegistration.round_end:type_name -> google.protobuf.Timestamp + 36, // 0: spacemesh.v2alpha1.PoETRegistration.round_end:type_name -> google.protobuf.Timestamp 6, // 1: spacemesh.v2alpha1.PoetRegisteredState.registrations:type_name -> spacemesh.v2alpha1.PoETRegistration - 35, // 2: spacemesh.v2alpha1.WaitForPoetRoundEndState.round_end:type_name -> google.protobuf.Timestamp - 35, // 3: spacemesh.v2alpha1.WaitForPoetRoundEndState.publish_epoch_end:type_name -> google.protobuf.Timestamp + 36, // 2: spacemesh.v2alpha1.WaitForPoetRoundEndState.round_end:type_name -> google.protobuf.Timestamp + 36, // 3: spacemesh.v2alpha1.WaitForPoetRoundEndState.publish_epoch_end:type_name -> google.protobuf.Timestamp 0, // 4: spacemesh.v2alpha1.IdentityStateInfo.state:type_name -> spacemesh.v2alpha1.IdentityState - 35, // 5: spacemesh.v2alpha1.IdentityStateInfo.time:type_name -> google.protobuf.Timestamp + 36, // 5: spacemesh.v2alpha1.IdentityStateInfo.time:type_name -> google.protobuf.Timestamp 2, // 6: spacemesh.v2alpha1.IdentityStateInfo.retrying:type_name -> spacemesh.v2alpha1.RetryingState 3, // 7: spacemesh.v2alpha1.IdentityStateInfo.wait_for_atx_synced:type_name -> spacemesh.v2alpha1.WaitForAtxSyncedState 4, // 8: spacemesh.v2alpha1.IdentityStateInfo.waiting_for_poet_registration_window:type_name -> spacemesh.v2alpha1.WaitingForPoetRegistrationWindowState @@ -2125,33 +2206,34 @@ var file_spacemesh_v2alpha1_smeshing_identities_proto_depIdxs = []int32{ 13, // 16: spacemesh.v2alpha1.IdentityStateInfo.atx_broadcasted:type_name -> spacemesh.v2alpha1.AtxBroadcastedState 14, // 17: spacemesh.v2alpha1.IdentityStateInfo.proposal_publish_failed:type_name -> spacemesh.v2alpha1.ProposalPublishFailedState 15, // 18: spacemesh.v2alpha1.IdentityStateInfo.proposal_published:type_name -> spacemesh.v2alpha1.ProposalPublishedState - 16, // 19: spacemesh.v2alpha1.Identity.history:type_name -> spacemesh.v2alpha1.IdentityStateInfo - 31, // 20: spacemesh.v2alpha1.IdentityStatesResponse.identities:type_name -> spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry - 36, // 21: spacemesh.v2alpha1.PoetConfig.phase_shift:type_name -> google.protobuf.Duration - 36, // 22: spacemesh.v2alpha1.PoetConfig.cycle_gap:type_name -> google.protobuf.Duration - 20, // 23: spacemesh.v2alpha1.PoetInfoResponse.config:type_name -> spacemesh.v2alpha1.PoetConfig - 23, // 24: spacemesh.v2alpha1.Eligibilities.eligibilities:type_name -> spacemesh.v2alpha1.ProposalEligibility - 32, // 25: spacemesh.v2alpha1.EpochEligibilities.epochs:type_name -> spacemesh.v2alpha1.EpochEligibilities.EpochsEntry - 33, // 26: spacemesh.v2alpha1.EligibilitiesResponse.identities:type_name -> spacemesh.v2alpha1.EligibilitiesResponse.IdentitiesEntry - 28, // 27: spacemesh.v2alpha1.Proposals.proposals:type_name -> spacemesh.v2alpha1.Proposal - 34, // 28: spacemesh.v2alpha1.ProposalsResponse.proposals:type_name -> spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry - 17, // 29: spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry.value:type_name -> spacemesh.v2alpha1.Identity - 22, // 30: spacemesh.v2alpha1.EpochEligibilities.EpochsEntry.value:type_name -> spacemesh.v2alpha1.Eligibilities - 24, // 31: spacemesh.v2alpha1.EligibilitiesResponse.IdentitiesEntry.value:type_name -> spacemesh.v2alpha1.EpochEligibilities - 29, // 32: spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry.value:type_name -> spacemesh.v2alpha1.Proposals - 1, // 33: spacemesh.v2alpha1.SmeshingIdentitiesService.States:input_type -> spacemesh.v2alpha1.IdentityStatesRequest - 19, // 34: spacemesh.v2alpha1.SmeshingIdentitiesService.PoetInfo:input_type -> spacemesh.v2alpha1.PoetInfoRequest - 25, // 35: spacemesh.v2alpha1.SmeshingIdentitiesService.Eligibilities:input_type -> spacemesh.v2alpha1.EligibilitiesRequest - 27, // 36: spacemesh.v2alpha1.SmeshingIdentitiesService.Proposals:input_type -> spacemesh.v2alpha1.ProposalsRequest - 18, // 37: spacemesh.v2alpha1.SmeshingIdentitiesService.States:output_type -> spacemesh.v2alpha1.IdentityStatesResponse - 21, // 38: spacemesh.v2alpha1.SmeshingIdentitiesService.PoetInfo:output_type -> spacemesh.v2alpha1.PoetInfoResponse - 26, // 39: spacemesh.v2alpha1.SmeshingIdentitiesService.Eligibilities:output_type -> spacemesh.v2alpha1.EligibilitiesResponse - 30, // 40: spacemesh.v2alpha1.SmeshingIdentitiesService.Proposals:output_type -> spacemesh.v2alpha1.ProposalsResponse - 37, // [37:41] is the sub-list for method output_type - 33, // [33:37] is the sub-list for method input_type - 33, // [33:33] is the sub-list for extension type_name - 33, // [33:33] is the sub-list for extension extendee - 0, // [0:33] is the sub-list for field type_name + 16, // 19: spacemesh.v2alpha1.IdentityStateInfo.eligible:type_name -> spacemesh.v2alpha1.Eligible + 17, // 20: spacemesh.v2alpha1.Identity.history:type_name -> spacemesh.v2alpha1.IdentityStateInfo + 32, // 21: spacemesh.v2alpha1.IdentityStatesResponse.identities:type_name -> spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry + 37, // 22: spacemesh.v2alpha1.PoetConfig.phase_shift:type_name -> google.protobuf.Duration + 37, // 23: spacemesh.v2alpha1.PoetConfig.cycle_gap:type_name -> google.protobuf.Duration + 21, // 24: spacemesh.v2alpha1.PoetInfoResponse.config:type_name -> spacemesh.v2alpha1.PoetConfig + 24, // 25: spacemesh.v2alpha1.Eligibilities.eligibilities:type_name -> spacemesh.v2alpha1.ProposalEligibility + 33, // 26: spacemesh.v2alpha1.EpochEligibilities.epochs:type_name -> spacemesh.v2alpha1.EpochEligibilities.EpochsEntry + 34, // 27: spacemesh.v2alpha1.EligibilitiesResponse.identities:type_name -> spacemesh.v2alpha1.EligibilitiesResponse.IdentitiesEntry + 29, // 28: spacemesh.v2alpha1.Proposals.proposals:type_name -> spacemesh.v2alpha1.Proposal + 35, // 29: spacemesh.v2alpha1.ProposalsResponse.proposals:type_name -> spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry + 18, // 30: spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry.value:type_name -> spacemesh.v2alpha1.Identity + 23, // 31: spacemesh.v2alpha1.EpochEligibilities.EpochsEntry.value:type_name -> spacemesh.v2alpha1.Eligibilities + 25, // 32: spacemesh.v2alpha1.EligibilitiesResponse.IdentitiesEntry.value:type_name -> spacemesh.v2alpha1.EpochEligibilities + 30, // 33: spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry.value:type_name -> spacemesh.v2alpha1.Proposals + 1, // 34: spacemesh.v2alpha1.SmeshingIdentitiesService.States:input_type -> spacemesh.v2alpha1.IdentityStatesRequest + 20, // 35: spacemesh.v2alpha1.SmeshingIdentitiesService.PoetInfo:input_type -> spacemesh.v2alpha1.PoetInfoRequest + 26, // 36: spacemesh.v2alpha1.SmeshingIdentitiesService.Eligibilities:input_type -> spacemesh.v2alpha1.EligibilitiesRequest + 28, // 37: spacemesh.v2alpha1.SmeshingIdentitiesService.Proposals:input_type -> spacemesh.v2alpha1.ProposalsRequest + 19, // 38: spacemesh.v2alpha1.SmeshingIdentitiesService.States:output_type -> spacemesh.v2alpha1.IdentityStatesResponse + 22, // 39: spacemesh.v2alpha1.SmeshingIdentitiesService.PoetInfo:output_type -> spacemesh.v2alpha1.PoetInfoResponse + 27, // 40: spacemesh.v2alpha1.SmeshingIdentitiesService.Eligibilities:output_type -> spacemesh.v2alpha1.EligibilitiesResponse + 31, // 41: spacemesh.v2alpha1.SmeshingIdentitiesService.Proposals:output_type -> spacemesh.v2alpha1.ProposalsResponse + 38, // [38:42] is the sub-list for method output_type + 34, // [34:38] is the sub-list for method input_type + 34, // [34:34] is the sub-list for extension type_name + 34, // [34:34] is the sub-list for extension extendee + 0, // [0:34] is the sub-list for field type_name } func init() { file_spacemesh_v2alpha1_smeshing_identities_proto_init() } @@ -2341,7 +2423,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IdentityStateInfo); i { + switch v := v.(*Eligible); i { case 0: return &v.state case 1: @@ -2353,7 +2435,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Identity); i { + switch v := v.(*IdentityStateInfo); i { case 0: return &v.state case 1: @@ -2365,7 +2447,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IdentityStatesResponse); i { + switch v := v.(*Identity); i { case 0: return &v.state case 1: @@ -2377,7 +2459,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PoetInfoRequest); i { + switch v := v.(*IdentityStatesResponse); i { case 0: return &v.state case 1: @@ -2389,7 +2471,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PoetConfig); i { + switch v := v.(*PoetInfoRequest); i { case 0: return &v.state case 1: @@ -2401,7 +2483,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PoetInfoResponse); i { + switch v := v.(*PoetConfig); i { case 0: return &v.state case 1: @@ -2413,7 +2495,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Eligibilities); i { + switch v := v.(*PoetInfoResponse); i { case 0: return &v.state case 1: @@ -2425,7 +2507,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProposalEligibility); i { + switch v := v.(*Eligibilities); i { case 0: return &v.state case 1: @@ -2437,7 +2519,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EpochEligibilities); i { + switch v := v.(*ProposalEligibility); i { case 0: return &v.state case 1: @@ -2449,7 +2531,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EligibilitiesRequest); i { + switch v := v.(*EpochEligibilities); i { case 0: return &v.state case 1: @@ -2461,7 +2543,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EligibilitiesResponse); i { + switch v := v.(*EligibilitiesRequest); i { case 0: return &v.state case 1: @@ -2473,7 +2555,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProposalsRequest); i { + switch v := v.(*EligibilitiesResponse); i { case 0: return &v.state case 1: @@ -2485,7 +2567,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proposal); i { + switch v := v.(*ProposalsRequest); i { case 0: return &v.state case 1: @@ -2497,7 +2579,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proposals); i { + switch v := v.(*Proposal); i { case 0: return &v.state case 1: @@ -2509,6 +2591,18 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Proposals); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ProposalsResponse); i { case 0: return &v.state @@ -2521,7 +2615,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } } - file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[15].OneofWrappers = []interface{}{ + file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[16].OneofWrappers = []interface{}{ (*IdentityStateInfo_Retrying)(nil), (*IdentityStateInfo_WaitForAtxSynced)(nil), (*IdentityStateInfo_WaitingForPoetRegistrationWindow)(nil), @@ -2535,6 +2629,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { (*IdentityStateInfo_AtxBroadcasted)(nil), (*IdentityStateInfo_ProposalPublishFailed)(nil), (*IdentityStateInfo_ProposalPublished)(nil), + (*IdentityStateInfo_Eligible)(nil), } type x struct{} out := protoimpl.TypeBuilder{ @@ -2542,7 +2637,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc, NumEnums: 1, - NumMessages: 34, + NumMessages: 35, NumExtensions: 0, NumServices: 1, }, diff --git a/release/openapi/swagger/src/api.swagger.json b/release/openapi/swagger/src/api.swagger.json index 5e9b3078..d8e1578d 100644 --- a/release/openapi/swagger/src/api.swagger.json +++ b/release/openapi/swagger/src/api.swagger.json @@ -1309,6 +1309,22 @@ } } }, + "v2alpha1Eligible": { + "type": "object", + "properties": { + "epoch": { + "type": "integer", + "format": "int64" + }, + "layers": { + "type": "array", + "items": { + "type": "integer", + "format": "int64" + } + } + } + }, "v2alpha1EpochEligibilities": { "type": "object", "properties": { @@ -1375,7 +1391,8 @@ "ATX_READY", "ATX_BROADCASTED", "PROPOSAL_PUBLISH_FAILED", - "PROPOSAL_PUBLISHED" + "PROPOSAL_PUBLISHED", + "ELIGIBLE" ] }, "v2alpha1IdentityStateInfo": { @@ -1387,6 +1404,9 @@ "atxReady": { "$ref": "#/definitions/v2alpha1AtxReadyState" }, + "eligible": { + "$ref": "#/definitions/v2alpha1Eligible" + }, "generatingPostProof": { "$ref": "#/definitions/v2alpha1GeneratingPostProofState" }, diff --git a/spacemesh/v2alpha1/smeshing_identities.proto b/spacemesh/v2alpha1/smeshing_identities.proto index 6201093c..452a718a 100644 --- a/spacemesh/v2alpha1/smeshing_identities.proto +++ b/spacemesh/v2alpha1/smeshing_identities.proto @@ -30,6 +30,8 @@ enum IdentityState { PROPOSAL_PUBLISH_FAILED = 12; PROPOSAL_PUBLISHED = 13; + + ELIGIBLE = 14; } message RetryingState { @@ -71,6 +73,10 @@ message ProposalPublishedState { bytes proposal = 1; uint32 layer = 2; } +message Eligible { + uint32 epoch = 1; + repeated uint32 layers = 2; +} message IdentityStateInfo { IdentityState state = 1; @@ -90,6 +96,7 @@ message IdentityStateInfo { AtxBroadcastedState atx_broadcasted = 14; ProposalPublishFailedState proposal_publish_failed = 15; ProposalPublishedState proposal_published = 16; + Eligible eligible = 17; } } From 1cc7c7ecf450ebd6cdd60d31192e4d0d56e4e1fc Mon Sep 17 00:00:00 2001 From: Kacper Sawicki Date: Fri, 20 Dec 2024 09:39:12 +0100 Subject: [PATCH 39/41] Update eligibility structure --- .../v2alpha1/smeshing_identities.pb.go | 841 ++++++++++-------- release/openapi/swagger/src/api.swagger.json | 17 +- spacemesh/v2alpha1/smeshing_identities.proto | 7 +- 3 files changed, 479 insertions(+), 386 deletions(-) diff --git a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go index be36852c..d3278989 100644 --- a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go +++ b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go @@ -808,19 +808,74 @@ func (x *ProposalPublishedState) GetLayer() uint32 { return 0 } +type Eligibility struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Layer uint32 `protobuf:"varint,1,opt,name=layer,proto3" json:"layer,omitempty"` + Count uint32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` +} + +func (x *Eligibility) Reset() { + *x = Eligibility{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Eligibility) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Eligibility) ProtoMessage() {} + +func (x *Eligibility) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Eligibility.ProtoReflect.Descriptor instead. +func (*Eligibility) Descriptor() ([]byte, []int) { + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{15} +} + +func (x *Eligibility) GetLayer() uint32 { + if x != nil { + return x.Layer + } + return 0 +} + +func (x *Eligibility) GetCount() uint32 { + if x != nil { + return x.Count + } + return 0 +} + type Eligible struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Epoch uint32 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"` - Layers []uint32 `protobuf:"varint,2,rep,packed,name=layers,proto3" json:"layers,omitempty"` + Epoch uint32 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"` + Layers []*Eligibility `protobuf:"bytes,2,rep,name=layers,proto3" json:"layers,omitempty"` } func (x *Eligible) Reset() { *x = Eligible{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[15] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -833,7 +888,7 @@ func (x *Eligible) String() string { func (*Eligible) ProtoMessage() {} func (x *Eligible) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[15] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -846,7 +901,7 @@ func (x *Eligible) ProtoReflect() protoreflect.Message { // Deprecated: Use Eligible.ProtoReflect.Descriptor instead. func (*Eligible) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{15} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{16} } func (x *Eligible) GetEpoch() uint32 { @@ -856,7 +911,7 @@ func (x *Eligible) GetEpoch() uint32 { return 0 } -func (x *Eligible) GetLayers() []uint32 { +func (x *Eligible) GetLayers() []*Eligibility { if x != nil { return x.Layers } @@ -893,7 +948,7 @@ type IdentityStateInfo struct { func (x *IdentityStateInfo) Reset() { *x = IdentityStateInfo{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[16] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -906,7 +961,7 @@ func (x *IdentityStateInfo) String() string { func (*IdentityStateInfo) ProtoMessage() {} func (x *IdentityStateInfo) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[16] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -919,7 +974,7 @@ func (x *IdentityStateInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use IdentityStateInfo.ProtoReflect.Descriptor instead. func (*IdentityStateInfo) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{16} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{17} } func (x *IdentityStateInfo) GetState() IdentityState { @@ -1147,7 +1202,7 @@ type Identity struct { func (x *Identity) Reset() { *x = Identity{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[17] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1160,7 +1215,7 @@ func (x *Identity) String() string { func (*Identity) ProtoMessage() {} func (x *Identity) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[17] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1173,7 +1228,7 @@ func (x *Identity) ProtoReflect() protoreflect.Message { // Deprecated: Use Identity.ProtoReflect.Descriptor instead. func (*Identity) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{17} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{18} } func (x *Identity) GetHistory() []*IdentityStateInfo { @@ -1194,7 +1249,7 @@ type IdentityStatesResponse struct { func (x *IdentityStatesResponse) Reset() { *x = IdentityStatesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[18] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1207,7 +1262,7 @@ func (x *IdentityStatesResponse) String() string { func (*IdentityStatesResponse) ProtoMessage() {} func (x *IdentityStatesResponse) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[18] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1220,7 +1275,7 @@ func (x *IdentityStatesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use IdentityStatesResponse.ProtoReflect.Descriptor instead. func (*IdentityStatesResponse) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{18} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{19} } func (x *IdentityStatesResponse) GetIdentities() map[string]*Identity { @@ -1240,7 +1295,7 @@ type PoetInfoRequest struct { func (x *PoetInfoRequest) Reset() { *x = PoetInfoRequest{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[19] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1253,7 +1308,7 @@ func (x *PoetInfoRequest) String() string { func (*PoetInfoRequest) ProtoMessage() {} func (x *PoetInfoRequest) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[19] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1266,7 +1321,7 @@ func (x *PoetInfoRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use PoetInfoRequest.ProtoReflect.Descriptor instead. func (*PoetInfoRequest) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{19} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{20} } type PoetConfig struct { @@ -1281,7 +1336,7 @@ type PoetConfig struct { func (x *PoetConfig) Reset() { *x = PoetConfig{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[20] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1294,7 +1349,7 @@ func (x *PoetConfig) String() string { func (*PoetConfig) ProtoMessage() {} func (x *PoetConfig) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[20] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1307,7 +1362,7 @@ func (x *PoetConfig) ProtoReflect() protoreflect.Message { // Deprecated: Use PoetConfig.ProtoReflect.Descriptor instead. func (*PoetConfig) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{20} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{21} } func (x *PoetConfig) GetPhaseShift() *durationpb.Duration { @@ -1336,7 +1391,7 @@ type PoetInfoResponse struct { func (x *PoetInfoResponse) Reset() { *x = PoetInfoResponse{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[21] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1349,7 +1404,7 @@ func (x *PoetInfoResponse) String() string { func (*PoetInfoResponse) ProtoMessage() {} func (x *PoetInfoResponse) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[21] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1362,7 +1417,7 @@ func (x *PoetInfoResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use PoetInfoResponse.ProtoReflect.Descriptor instead. func (*PoetInfoResponse) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{21} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{22} } func (x *PoetInfoResponse) GetPoets() []string { @@ -1391,7 +1446,7 @@ type Eligibilities struct { func (x *Eligibilities) Reset() { *x = Eligibilities{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[22] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1404,7 +1459,7 @@ func (x *Eligibilities) String() string { func (*Eligibilities) ProtoMessage() {} func (x *Eligibilities) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[22] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[23] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1417,7 +1472,7 @@ func (x *Eligibilities) ProtoReflect() protoreflect.Message { // Deprecated: Use Eligibilities.ProtoReflect.Descriptor instead. func (*Eligibilities) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{22} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{23} } func (x *Eligibilities) GetEligibilities() []*ProposalEligibility { @@ -1439,7 +1494,7 @@ type ProposalEligibility struct { func (x *ProposalEligibility) Reset() { *x = ProposalEligibility{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[23] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1452,7 +1507,7 @@ func (x *ProposalEligibility) String() string { func (*ProposalEligibility) ProtoMessage() {} func (x *ProposalEligibility) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[23] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[24] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1465,7 +1520,7 @@ func (x *ProposalEligibility) ProtoReflect() protoreflect.Message { // Deprecated: Use ProposalEligibility.ProtoReflect.Descriptor instead. func (*ProposalEligibility) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{23} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{24} } func (x *ProposalEligibility) GetLayer() uint32 { @@ -1493,7 +1548,7 @@ type EpochEligibilities struct { func (x *EpochEligibilities) Reset() { *x = EpochEligibilities{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[24] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1506,7 +1561,7 @@ func (x *EpochEligibilities) String() string { func (*EpochEligibilities) ProtoMessage() {} func (x *EpochEligibilities) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[24] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[25] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1519,7 +1574,7 @@ func (x *EpochEligibilities) ProtoReflect() protoreflect.Message { // Deprecated: Use EpochEligibilities.ProtoReflect.Descriptor instead. func (*EpochEligibilities) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{24} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{25} } func (x *EpochEligibilities) GetEpochs() map[uint32]*Eligibilities { @@ -1538,7 +1593,7 @@ type EligibilitiesRequest struct { func (x *EligibilitiesRequest) Reset() { *x = EligibilitiesRequest{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[25] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1551,7 +1606,7 @@ func (x *EligibilitiesRequest) String() string { func (*EligibilitiesRequest) ProtoMessage() {} func (x *EligibilitiesRequest) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[25] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[26] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1564,7 +1619,7 @@ func (x *EligibilitiesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use EligibilitiesRequest.ProtoReflect.Descriptor instead. func (*EligibilitiesRequest) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{25} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{26} } type EligibilitiesResponse struct { @@ -1578,7 +1633,7 @@ type EligibilitiesResponse struct { func (x *EligibilitiesResponse) Reset() { *x = EligibilitiesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[26] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1591,7 +1646,7 @@ func (x *EligibilitiesResponse) String() string { func (*EligibilitiesResponse) ProtoMessage() {} func (x *EligibilitiesResponse) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[26] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[27] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1604,7 +1659,7 @@ func (x *EligibilitiesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use EligibilitiesResponse.ProtoReflect.Descriptor instead. func (*EligibilitiesResponse) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{26} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{27} } func (x *EligibilitiesResponse) GetIdentities() map[string]*EpochEligibilities { @@ -1623,7 +1678,7 @@ type ProposalsRequest struct { func (x *ProposalsRequest) Reset() { *x = ProposalsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[27] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1636,7 +1691,7 @@ func (x *ProposalsRequest) String() string { func (*ProposalsRequest) ProtoMessage() {} func (x *ProposalsRequest) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[27] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[28] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1649,7 +1704,7 @@ func (x *ProposalsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ProposalsRequest.ProtoReflect.Descriptor instead. func (*ProposalsRequest) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{27} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{28} } type Proposal struct { @@ -1664,7 +1719,7 @@ type Proposal struct { func (x *Proposal) Reset() { *x = Proposal{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[28] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1677,7 +1732,7 @@ func (x *Proposal) String() string { func (*Proposal) ProtoMessage() {} func (x *Proposal) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[28] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[29] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1690,7 +1745,7 @@ func (x *Proposal) ProtoReflect() protoreflect.Message { // Deprecated: Use Proposal.ProtoReflect.Descriptor instead. func (*Proposal) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{28} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{29} } func (x *Proposal) GetLayer() uint32 { @@ -1718,7 +1773,7 @@ type Proposals struct { func (x *Proposals) Reset() { *x = Proposals{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[29] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1731,7 +1786,7 @@ func (x *Proposals) String() string { func (*Proposals) ProtoMessage() {} func (x *Proposals) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[29] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[30] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1744,7 +1799,7 @@ func (x *Proposals) ProtoReflect() protoreflect.Message { // Deprecated: Use Proposals.ProtoReflect.Descriptor instead. func (*Proposals) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{29} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{30} } func (x *Proposals) GetProposals() []*Proposal { @@ -1765,7 +1820,7 @@ type ProposalsResponse struct { func (x *ProposalsResponse) Reset() { *x = ProposalsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[30] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1778,7 +1833,7 @@ func (x *ProposalsResponse) String() string { func (*ProposalsResponse) ProtoMessage() {} func (x *ProposalsResponse) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[30] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[31] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1791,7 +1846,7 @@ func (x *ProposalsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ProposalsResponse.ProtoReflect.Descriptor instead. func (*ProposalsResponse) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{30} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{31} } func (x *ProposalsResponse) GetProposals() map[string]*Proposals { @@ -1876,260 +1931,266 @@ var file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc = []byte{ 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, - 0x61, 0x79, 0x65, 0x72, 0x22, 0x38, 0x0a, 0x08, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x6c, 0x65, - 0x12, 0x14, 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x73, - 0x18, 0x02, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x06, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x73, 0x22, 0xba, - 0x0b, 0x0a, 0x11, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, - 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x37, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, - 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, - 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x28, 0x0a, - 0x0d, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0d, 0x48, 0x01, 0x52, 0x0c, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x45, - 0x70, 0x6f, 0x63, 0x68, 0x88, 0x01, 0x01, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, - 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x3f, 0x0a, 0x08, 0x72, 0x65, 0x74, 0x72, 0x79, - 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, - 0x65, 0x74, 0x72, 0x79, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x08, - 0x72, 0x65, 0x74, 0x72, 0x79, 0x69, 0x6e, 0x67, 0x12, 0x5a, 0x0a, 0x13, 0x77, 0x61, 0x69, 0x74, - 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x61, 0x74, 0x78, 0x5f, 0x73, 0x79, 0x6e, 0x63, 0x65, 0x64, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, - 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x57, 0x61, 0x69, 0x74, 0x46, - 0x6f, 0x72, 0x41, 0x74, 0x78, 0x53, 0x79, 0x6e, 0x63, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, - 0x48, 0x00, 0x52, 0x10, 0x77, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x41, 0x74, 0x78, 0x53, 0x79, - 0x6e, 0x63, 0x65, 0x64, 0x12, 0x8b, 0x01, 0x0a, 0x24, 0x77, 0x61, 0x69, 0x74, 0x69, 0x6e, 0x67, - 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, - 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x57, 0x61, 0x69, 0x74, 0x69, 0x6e, 0x67, - 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, - 0x52, 0x20, 0x77, 0x61, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x65, 0x74, - 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x69, 0x6e, 0x64, - 0x6f, 0x77, 0x12, 0x5f, 0x0a, 0x14, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x63, 0x68, 0x61, 0x6c, 0x6c, - 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x2b, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, - 0x6e, 0x67, 0x65, 0x52, 0x65, 0x61, 0x64, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, - 0x12, 0x70, 0x6f, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, - 0x61, 0x64, 0x79, 0x12, 0x52, 0x0a, 0x0f, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, + 0x61, 0x79, 0x65, 0x72, 0x22, 0x39, 0x0a, 0x0b, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, + 0x69, 0x74, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, + 0x59, 0x0a, 0x08, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x6c, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, + 0x70, 0x6f, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, + 0x68, 0x12, 0x37, 0x0a, 0x06, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x1f, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, + 0x74, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x73, 0x22, 0xba, 0x0b, 0x0a, 0x11, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x37, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x28, 0x0a, 0x0d, 0x70, 0x75, 0x62, + 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, + 0x48, 0x01, 0x52, 0x0c, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x45, 0x70, 0x6f, 0x63, 0x68, + 0x88, 0x01, 0x01, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, + 0x69, 0x6d, 0x65, 0x12, 0x3f, 0x0a, 0x08, 0x72, 0x65, 0x74, 0x72, 0x79, 0x69, 0x6e, 0x67, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, + 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x74, 0x72, 0x79, + 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x08, 0x72, 0x65, 0x74, 0x72, + 0x79, 0x69, 0x6e, 0x67, 0x12, 0x5a, 0x0a, 0x13, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x66, 0x6f, 0x72, + 0x5f, 0x61, 0x74, 0x78, 0x5f, 0x73, 0x79, 0x6e, 0x63, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x41, 0x74, + 0x78, 0x53, 0x79, 0x6e, 0x63, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x10, + 0x77, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x41, 0x74, 0x78, 0x53, 0x79, 0x6e, 0x63, 0x65, 0x64, + 0x12, 0x8b, 0x01, 0x0a, 0x24, 0x77, 0x61, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x66, 0x6f, 0x72, + 0x5f, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x39, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2e, 0x57, 0x61, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x46, 0x6f, 0x72, 0x50, + 0x6f, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, + 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x20, 0x77, 0x61, + 0x69, 0x74, 0x69, 0x6e, 0x67, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, + 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x12, 0x5f, + 0x0a, 0x14, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, + 0x5f, 0x72, 0x65, 0x61, 0x64, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, - 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x0e, 0x70, 0x6f, 0x65, 0x74, 0x52, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x12, 0x64, 0x0a, 0x17, 0x77, 0x61, 0x69, 0x74, 0x5f, - 0x66, 0x6f, 0x72, 0x5f, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x65, - 0x6e, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x57, 0x61, - 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x45, 0x6e, - 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x13, 0x77, 0x61, 0x69, 0x74, 0x46, 0x6f, - 0x72, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x45, 0x6e, 0x64, 0x12, 0x5c, 0x0a, - 0x13, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x5f, 0x72, 0x65, 0x63, 0x65, - 0x69, 0x76, 0x65, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x50, 0x6f, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, - 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x11, 0x70, 0x6f, 0x65, 0x74, 0x50, 0x72, - 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x12, 0x62, 0x0a, 0x15, 0x67, - 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x73, 0x74, 0x5f, 0x70, - 0x72, 0x6f, 0x6f, 0x66, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x73, 0x74, 0x50, 0x72, - 0x6f, 0x6f, 0x66, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x13, 0x67, 0x65, 0x6e, 0x65, - 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x12, - 0x53, 0x0a, 0x10, 0x70, 0x6f, 0x73, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x5f, 0x72, 0x65, - 0x61, 0x64, 0x79, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, - 0x6f, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x61, 0x64, 0x79, 0x53, 0x74, 0x61, - 0x74, 0x65, 0x48, 0x00, 0x52, 0x0e, 0x70, 0x6f, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, - 0x65, 0x61, 0x64, 0x79, 0x12, 0x40, 0x0a, 0x09, 0x61, 0x74, 0x78, 0x5f, 0x72, 0x65, 0x61, 0x64, - 0x79, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, - 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, 0x74, 0x78, - 0x52, 0x65, 0x61, 0x64, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x08, 0x61, 0x74, - 0x78, 0x52, 0x65, 0x61, 0x64, 0x79, 0x12, 0x52, 0x0a, 0x0f, 0x61, 0x74, 0x78, 0x5f, 0x62, 0x72, - 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x65, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x27, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, 0x74, 0x78, 0x42, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, - 0x74, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x0e, 0x61, 0x74, 0x78, 0x42, - 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x65, 0x64, 0x12, 0x68, 0x0a, 0x17, 0x70, 0x72, - 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x66, - 0x61, 0x69, 0x6c, 0x65, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x73, 0x70, + 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, + 0x65, 0x61, 0x64, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x12, 0x70, 0x6f, 0x65, + 0x74, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x61, 0x64, 0x79, 0x12, + 0x52, 0x0a, 0x0f, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, + 0x65, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, + 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x48, 0x00, 0x52, 0x0e, 0x70, 0x6f, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, + 0x72, 0x65, 0x64, 0x12, 0x64, 0x0a, 0x17, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x5f, + 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x65, 0x6e, 0x64, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, + 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, + 0x72, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x45, 0x6e, 0x64, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x48, 0x00, 0x52, 0x13, 0x77, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x65, + 0x74, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x45, 0x6e, 0x64, 0x12, 0x5c, 0x0a, 0x13, 0x70, 0x6f, 0x65, + 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, + 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, + 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, + 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x48, 0x00, 0x52, 0x11, 0x70, 0x6f, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, + 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x12, 0x62, 0x0a, 0x15, 0x67, 0x65, 0x6e, 0x65, 0x72, + 0x61, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x73, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x6f, 0x66, + 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, + 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x65, + 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x13, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, + 0x6e, 0x67, 0x50, 0x6f, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x53, 0x0a, 0x10, 0x70, + 0x6f, 0x73, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x79, 0x18, + 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, + 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x50, + 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x61, 0x64, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, + 0x52, 0x0e, 0x70, 0x6f, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x61, 0x64, 0x79, + 0x12, 0x40, 0x0a, 0x09, 0x61, 0x74, 0x78, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x79, 0x18, 0x0d, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, + 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, 0x74, 0x78, 0x52, 0x65, 0x61, 0x64, + 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x08, 0x61, 0x74, 0x78, 0x52, 0x65, 0x61, + 0x64, 0x79, 0x12, 0x52, 0x0a, 0x0f, 0x61, 0x74, 0x78, 0x5f, 0x62, 0x72, 0x6f, 0x61, 0x64, 0x63, + 0x61, 0x73, 0x74, 0x65, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, - 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x15, 0x70, - 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x46, 0x61, - 0x69, 0x6c, 0x65, 0x64, 0x12, 0x5b, 0x0a, 0x12, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, - 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x64, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x75, - 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x11, - 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, - 0x64, 0x12, 0x3a, 0x0a, 0x08, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x6c, 0x65, 0x18, 0x11, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, - 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x6c, - 0x65, 0x48, 0x00, 0x52, 0x08, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x6c, 0x65, 0x42, 0x0a, 0x0a, - 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x70, 0x75, - 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x22, 0x4b, 0x0a, 0x08, 0x49, - 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x3f, 0x0a, 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, - 0x72, 0x79, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, - 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, - 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x22, 0xd1, 0x01, 0x0a, 0x16, 0x49, 0x64, 0x65, - 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x5a, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, - 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, - 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x1a, - 0x5b, 0x0a, 0x0f, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x03, 0x6b, 0x65, 0x79, 0x12, 0x32, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, - 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, - 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x11, 0x0a, 0x0f, - 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, - 0x80, 0x01, 0x0a, 0x0a, 0x50, 0x6f, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3a, - 0x0a, 0x0b, 0x70, 0x68, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68, 0x69, 0x66, 0x74, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, - 0x70, 0x68, 0x61, 0x73, 0x65, 0x53, 0x68, 0x69, 0x66, 0x74, 0x12, 0x36, 0x0a, 0x09, 0x63, 0x79, - 0x63, 0x6c, 0x65, 0x5f, 0x67, 0x61, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x47, - 0x61, 0x70, 0x22, 0x60, 0x0a, 0x10, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x6f, 0x65, 0x74, 0x73, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x70, 0x6f, 0x65, 0x74, 0x73, 0x12, 0x36, 0x0a, 0x06, - 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x06, 0x63, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x22, 0x5e, 0x0a, 0x0d, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, - 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x4d, 0x0a, 0x0d, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, - 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, + 0x2e, 0x41, 0x74, 0x78, 0x42, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x65, 0x64, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x0e, 0x61, 0x74, 0x78, 0x42, 0x72, 0x6f, 0x61, 0x64, + 0x63, 0x61, 0x73, 0x74, 0x65, 0x64, 0x12, 0x68, 0x0a, 0x17, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, + 0x61, 0x6c, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x65, + 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, + 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, + 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x46, 0x61, 0x69, 0x6c, + 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x15, 0x70, 0x72, 0x6f, 0x70, 0x6f, + 0x73, 0x61, 0x6c, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, + 0x12, 0x5b, 0x0a, 0x12, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x5f, 0x70, 0x75, 0x62, + 0x6c, 0x69, 0x73, 0x68, 0x65, 0x64, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, - 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0d, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, - 0x74, 0x69, 0x65, 0x73, 0x22, 0x41, 0x0a, 0x13, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, - 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x6c, - 0x61, 0x79, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x61, 0x79, 0x65, - 0x72, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, - 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xbe, 0x01, 0x0a, 0x12, 0x45, 0x70, 0x6f, 0x63, - 0x68, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x4a, - 0x0a, 0x06, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, - 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, - 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x52, 0x06, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x1a, 0x5c, 0x0a, 0x0b, 0x45, 0x70, - 0x6f, 0x63, 0x68, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x37, 0x0a, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, + 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, + 0x68, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x11, 0x70, 0x72, 0x6f, 0x70, + 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x64, 0x12, 0x3a, 0x0a, + 0x08, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x6c, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x6c, 0x65, 0x48, 0x00, 0x52, + 0x08, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x6c, 0x65, 0x42, 0x0a, 0x0a, 0x08, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, + 0x68, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x22, 0x4b, 0x0a, 0x08, 0x49, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x12, 0x3f, 0x0a, 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, + 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x68, 0x69, 0x73, + 0x74, 0x6f, 0x72, 0x79, 0x22, 0xd1, 0x01, 0x0a, 0x16, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x5a, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, + 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, + 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, + 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x1a, 0x5b, 0x0a, 0x0f, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, + 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, + 0x12, 0x32, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x11, 0x0a, 0x0f, 0x50, 0x6f, 0x65, 0x74, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x80, 0x01, 0x0a, 0x0a, + 0x50, 0x6f, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3a, 0x0a, 0x0b, 0x70, 0x68, + 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68, 0x69, 0x66, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x70, 0x68, 0x61, 0x73, + 0x65, 0x53, 0x68, 0x69, 0x66, 0x74, 0x12, 0x36, 0x0a, 0x09, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x5f, + 0x67, 0x61, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x47, 0x61, 0x70, 0x22, 0x60, + 0x0a, 0x10, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x6f, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x05, 0x70, 0x6f, 0x65, 0x74, 0x73, 0x12, 0x36, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, + 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x22, 0x5e, 0x0a, 0x0d, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, + 0x73, 0x12, 0x4d, 0x0a, 0x0d, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, + 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, + 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x79, 0x52, 0x0d, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, + 0x22, 0x41, 0x0a, 0x13, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x45, 0x6c, 0x69, 0x67, + 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x14, 0x0a, + 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x22, 0xbe, 0x01, 0x0a, 0x12, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x45, 0x6c, 0x69, + 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x4a, 0x0a, 0x06, 0x65, 0x70, + 0x6f, 0x63, 0x68, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, + 0x45, 0x70, 0x6f, 0x63, 0x68, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, + 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, + 0x65, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x1a, 0x5c, 0x0a, 0x0b, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x73, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x37, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, + 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, + 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x3a, 0x02, 0x38, 0x01, 0x22, 0x16, 0x0a, 0x14, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, + 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xd9, 0x01, 0x0a, + 0x15, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, + 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, + 0x73, 0x1a, 0x65, 0x0a, 0x0f, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, + 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x16, 0x0a, 0x14, 0x45, 0x6c, 0x69, 0x67, - 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x22, 0xd9, 0x01, 0x0a, 0x15, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, - 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0a, 0x69, 0x64, - 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, + 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x12, 0x0a, 0x10, 0x50, 0x72, 0x6f, 0x70, + 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x3c, 0x0a, 0x08, + 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, + 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x1a, + 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x22, 0x47, 0x0a, 0x09, 0x50, 0x72, + 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x12, 0x3a, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, + 0x73, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, + 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, + 0x61, 0x6c, 0x73, 0x22, 0xc4, 0x01, 0x0a, 0x11, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a, 0x09, 0x70, 0x72, 0x6f, + 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x1a, 0x5b, 0x0a, + 0x0e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, + 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, + 0x79, 0x12, 0x33, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x2a, 0xee, 0x02, 0x0a, 0x0d, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0f, 0x0a, 0x0b, + 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, + 0x13, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x41, 0x54, 0x58, 0x5f, 0x53, 0x59, + 0x4e, 0x43, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x45, 0x54, 0x52, 0x59, 0x49, + 0x4e, 0x47, 0x10, 0x02, 0x12, 0x28, 0x0a, 0x24, 0x57, 0x41, 0x49, 0x54, 0x49, 0x4e, 0x47, 0x5f, + 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, + 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x57, 0x49, 0x4e, 0x44, 0x4f, 0x57, 0x10, 0x03, 0x12, 0x18, + 0x0a, 0x14, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, 0x47, 0x45, + 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x4f, 0x45, 0x54, + 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x45, 0x52, 0x45, 0x44, 0x10, 0x05, 0x12, 0x1b, 0x0a, + 0x17, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, + 0x4f, 0x55, 0x4e, 0x44, 0x5f, 0x45, 0x4e, 0x44, 0x10, 0x06, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x4f, + 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x43, 0x45, 0x49, 0x56, 0x45, + 0x44, 0x10, 0x07, 0x12, 0x19, 0x0a, 0x15, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4e, + 0x47, 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x10, 0x08, 0x12, 0x14, + 0x0a, 0x10, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x41, + 0x44, 0x59, 0x10, 0x09, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x54, 0x58, 0x5f, 0x52, 0x45, 0x41, 0x44, + 0x59, 0x10, 0x0a, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x54, 0x58, 0x5f, 0x42, 0x52, 0x4f, 0x41, 0x44, + 0x43, 0x41, 0x53, 0x54, 0x45, 0x44, 0x10, 0x0b, 0x12, 0x1b, 0x0a, 0x17, 0x50, 0x52, 0x4f, 0x50, + 0x4f, 0x53, 0x41, 0x4c, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, 0x5f, 0x46, 0x41, 0x49, + 0x4c, 0x45, 0x44, 0x10, 0x0c, 0x12, 0x16, 0x0a, 0x12, 0x50, 0x52, 0x4f, 0x50, 0x4f, 0x53, 0x41, + 0x4c, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, 0x45, 0x44, 0x10, 0x0d, 0x12, 0x0c, 0x0a, + 0x08, 0x45, 0x4c, 0x49, 0x47, 0x49, 0x42, 0x4c, 0x45, 0x10, 0x0e, 0x32, 0xa7, 0x03, 0x0a, 0x19, + 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, + 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x61, 0x0a, 0x06, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, + 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, - 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, - 0x69, 0x74, 0x69, 0x65, 0x73, 0x1a, 0x65, 0x0a, 0x0f, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, - 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3c, 0x0a, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, - 0x70, 0x6f, 0x63, 0x68, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, - 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x12, 0x0a, 0x10, + 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x57, 0x0a, 0x08, + 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x23, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, + 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x66, 0x0a, 0x0d, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, + 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x28, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, + 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, + 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5a, 0x0a, + 0x09, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x12, 0x24, 0x2e, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x22, 0x3c, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x12, 0x14, 0x0a, 0x05, - 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x61, 0x79, - 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x22, 0x47, - 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x12, 0x3a, 0x0a, 0x09, 0x70, - 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, - 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x52, 0x09, 0x70, 0x72, - 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x22, 0xc4, 0x01, 0x0a, 0x11, 0x50, 0x72, 0x6f, 0x70, - 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a, - 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x34, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, + 0x1a, 0x25, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, - 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, - 0x73, 0x1a, 0x5b, 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x33, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, - 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, - 0x61, 0x6c, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x2a, 0xee, - 0x02, 0x0a, 0x0d, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, - 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, - 0x00, 0x12, 0x17, 0x0a, 0x13, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x41, 0x54, - 0x58, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x45, - 0x54, 0x52, 0x59, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x28, 0x0a, 0x24, 0x57, 0x41, 0x49, 0x54, - 0x49, 0x4e, 0x47, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, - 0x49, 0x53, 0x54, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x57, 0x49, 0x4e, 0x44, 0x4f, 0x57, - 0x10, 0x03, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4c, 0x4c, - 0x45, 0x4e, 0x47, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f, - 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x45, 0x52, 0x45, 0x44, 0x10, - 0x05, 0x12, 0x1b, 0x0a, 0x17, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, - 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x55, 0x4e, 0x44, 0x5f, 0x45, 0x4e, 0x44, 0x10, 0x06, 0x12, 0x17, - 0x0a, 0x13, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x43, - 0x45, 0x49, 0x56, 0x45, 0x44, 0x10, 0x07, 0x12, 0x19, 0x0a, 0x15, 0x47, 0x45, 0x4e, 0x45, 0x52, - 0x41, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, - 0x10, 0x08, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, - 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x09, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x54, 0x58, 0x5f, - 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x0a, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x54, 0x58, 0x5f, 0x42, - 0x52, 0x4f, 0x41, 0x44, 0x43, 0x41, 0x53, 0x54, 0x45, 0x44, 0x10, 0x0b, 0x12, 0x1b, 0x0a, 0x17, - 0x50, 0x52, 0x4f, 0x50, 0x4f, 0x53, 0x41, 0x4c, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, - 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x0c, 0x12, 0x16, 0x0a, 0x12, 0x50, 0x52, 0x4f, - 0x50, 0x4f, 0x53, 0x41, 0x4c, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, 0x45, 0x44, 0x10, - 0x0d, 0x12, 0x0c, 0x0a, 0x08, 0x45, 0x4c, 0x49, 0x47, 0x49, 0x42, 0x4c, 0x45, 0x10, 0x0e, 0x32, - 0xa7, 0x03, 0x0a, 0x19, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, - 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x61, 0x0a, - 0x06, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, - 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, - 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, - 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, - 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, - 0x12, 0x57, 0x0a, 0x08, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x23, 0x2e, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x24, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x66, 0x0a, 0x0d, 0x45, 0x6c, 0x69, - 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x28, 0x2e, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, - 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, - 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x12, 0x5a, 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x12, 0x24, - 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, - 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, - 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x1a, 0x0a, 0xfa, - 0xd2, 0xe4, 0x93, 0x02, 0x04, 0x12, 0x02, 0x56, 0x32, 0x42, 0xe6, 0x01, 0x0a, 0x16, 0x63, 0x6f, - 0x6d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x42, 0x17, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, - 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, - 0x4a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x6d, 0x65, 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x6c, 0x65, - 0x61, 0x73, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, - 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, - 0x65, 0x73, 0x68, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, - 0x58, 0xaa, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x56, 0x32, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, - 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x1e, 0x53, 0x70, - 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x13, 0x53, - 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x3a, 0x3a, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x1a, 0x0a, 0xfa, 0xd2, 0xe4, 0x93, 0x02, + 0x04, 0x12, 0x02, 0x56, 0x32, 0x42, 0xe6, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x42, 0x17, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x69, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, 0x69, 0x74, + 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, + 0x68, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2f, + 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, 0x32, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x76, + 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, 0x02, 0x12, + 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0xca, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, + 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x1e, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, + 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, + 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x13, 0x53, 0x70, 0x61, 0x63, 0x65, + 0x6d, 0x65, 0x73, 0x68, 0x3a, 0x3a, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -2145,7 +2206,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP() []byte { } var file_spacemesh_v2alpha1_smeshing_identities_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes = make([]protoimpl.MessageInfo, 35) +var file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes = make([]protoimpl.MessageInfo, 36) var file_spacemesh_v2alpha1_smeshing_identities_proto_goTypes = []interface{}{ (IdentityState)(0), // 0: spacemesh.v2alpha1.IdentityState (*IdentityStatesRequest)(nil), // 1: spacemesh.v2alpha1.IdentityStatesRequest @@ -2163,77 +2224,79 @@ var file_spacemesh_v2alpha1_smeshing_identities_proto_goTypes = []interface{}{ (*AtxBroadcastedState)(nil), // 13: spacemesh.v2alpha1.AtxBroadcastedState (*ProposalPublishFailedState)(nil), // 14: spacemesh.v2alpha1.ProposalPublishFailedState (*ProposalPublishedState)(nil), // 15: spacemesh.v2alpha1.ProposalPublishedState - (*Eligible)(nil), // 16: spacemesh.v2alpha1.Eligible - (*IdentityStateInfo)(nil), // 17: spacemesh.v2alpha1.IdentityStateInfo - (*Identity)(nil), // 18: spacemesh.v2alpha1.Identity - (*IdentityStatesResponse)(nil), // 19: spacemesh.v2alpha1.IdentityStatesResponse - (*PoetInfoRequest)(nil), // 20: spacemesh.v2alpha1.PoetInfoRequest - (*PoetConfig)(nil), // 21: spacemesh.v2alpha1.PoetConfig - (*PoetInfoResponse)(nil), // 22: spacemesh.v2alpha1.PoetInfoResponse - (*Eligibilities)(nil), // 23: spacemesh.v2alpha1.Eligibilities - (*ProposalEligibility)(nil), // 24: spacemesh.v2alpha1.ProposalEligibility - (*EpochEligibilities)(nil), // 25: spacemesh.v2alpha1.EpochEligibilities - (*EligibilitiesRequest)(nil), // 26: spacemesh.v2alpha1.EligibilitiesRequest - (*EligibilitiesResponse)(nil), // 27: spacemesh.v2alpha1.EligibilitiesResponse - (*ProposalsRequest)(nil), // 28: spacemesh.v2alpha1.ProposalsRequest - (*Proposal)(nil), // 29: spacemesh.v2alpha1.Proposal - (*Proposals)(nil), // 30: spacemesh.v2alpha1.Proposals - (*ProposalsResponse)(nil), // 31: spacemesh.v2alpha1.ProposalsResponse - nil, // 32: spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry - nil, // 33: spacemesh.v2alpha1.EpochEligibilities.EpochsEntry - nil, // 34: spacemesh.v2alpha1.EligibilitiesResponse.IdentitiesEntry - nil, // 35: spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry - (*timestamppb.Timestamp)(nil), // 36: google.protobuf.Timestamp - (*durationpb.Duration)(nil), // 37: google.protobuf.Duration + (*Eligibility)(nil), // 16: spacemesh.v2alpha1.Eligibility + (*Eligible)(nil), // 17: spacemesh.v2alpha1.Eligible + (*IdentityStateInfo)(nil), // 18: spacemesh.v2alpha1.IdentityStateInfo + (*Identity)(nil), // 19: spacemesh.v2alpha1.Identity + (*IdentityStatesResponse)(nil), // 20: spacemesh.v2alpha1.IdentityStatesResponse + (*PoetInfoRequest)(nil), // 21: spacemesh.v2alpha1.PoetInfoRequest + (*PoetConfig)(nil), // 22: spacemesh.v2alpha1.PoetConfig + (*PoetInfoResponse)(nil), // 23: spacemesh.v2alpha1.PoetInfoResponse + (*Eligibilities)(nil), // 24: spacemesh.v2alpha1.Eligibilities + (*ProposalEligibility)(nil), // 25: spacemesh.v2alpha1.ProposalEligibility + (*EpochEligibilities)(nil), // 26: spacemesh.v2alpha1.EpochEligibilities + (*EligibilitiesRequest)(nil), // 27: spacemesh.v2alpha1.EligibilitiesRequest + (*EligibilitiesResponse)(nil), // 28: spacemesh.v2alpha1.EligibilitiesResponse + (*ProposalsRequest)(nil), // 29: spacemesh.v2alpha1.ProposalsRequest + (*Proposal)(nil), // 30: spacemesh.v2alpha1.Proposal + (*Proposals)(nil), // 31: spacemesh.v2alpha1.Proposals + (*ProposalsResponse)(nil), // 32: spacemesh.v2alpha1.ProposalsResponse + nil, // 33: spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry + nil, // 34: spacemesh.v2alpha1.EpochEligibilities.EpochsEntry + nil, // 35: spacemesh.v2alpha1.EligibilitiesResponse.IdentitiesEntry + nil, // 36: spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry + (*timestamppb.Timestamp)(nil), // 37: google.protobuf.Timestamp + (*durationpb.Duration)(nil), // 38: google.protobuf.Duration } var file_spacemesh_v2alpha1_smeshing_identities_proto_depIdxs = []int32{ - 36, // 0: spacemesh.v2alpha1.PoETRegistration.round_end:type_name -> google.protobuf.Timestamp + 37, // 0: spacemesh.v2alpha1.PoETRegistration.round_end:type_name -> google.protobuf.Timestamp 6, // 1: spacemesh.v2alpha1.PoetRegisteredState.registrations:type_name -> spacemesh.v2alpha1.PoETRegistration - 36, // 2: spacemesh.v2alpha1.WaitForPoetRoundEndState.round_end:type_name -> google.protobuf.Timestamp - 36, // 3: spacemesh.v2alpha1.WaitForPoetRoundEndState.publish_epoch_end:type_name -> google.protobuf.Timestamp - 0, // 4: spacemesh.v2alpha1.IdentityStateInfo.state:type_name -> spacemesh.v2alpha1.IdentityState - 36, // 5: spacemesh.v2alpha1.IdentityStateInfo.time:type_name -> google.protobuf.Timestamp - 2, // 6: spacemesh.v2alpha1.IdentityStateInfo.retrying:type_name -> spacemesh.v2alpha1.RetryingState - 3, // 7: spacemesh.v2alpha1.IdentityStateInfo.wait_for_atx_synced:type_name -> spacemesh.v2alpha1.WaitForAtxSyncedState - 4, // 8: spacemesh.v2alpha1.IdentityStateInfo.waiting_for_poet_registration_window:type_name -> spacemesh.v2alpha1.WaitingForPoetRegistrationWindowState - 5, // 9: spacemesh.v2alpha1.IdentityStateInfo.poet_challenge_ready:type_name -> spacemesh.v2alpha1.PoetChallengeReadyState - 7, // 10: spacemesh.v2alpha1.IdentityStateInfo.poet_registered:type_name -> spacemesh.v2alpha1.PoetRegisteredState - 8, // 11: spacemesh.v2alpha1.IdentityStateInfo.wait_for_poet_round_end:type_name -> spacemesh.v2alpha1.WaitForPoetRoundEndState - 9, // 12: spacemesh.v2alpha1.IdentityStateInfo.poet_proof_received:type_name -> spacemesh.v2alpha1.PoetProofReceivedState - 10, // 13: spacemesh.v2alpha1.IdentityStateInfo.generating_post_proof:type_name -> spacemesh.v2alpha1.GeneratingPostProofState - 11, // 14: spacemesh.v2alpha1.IdentityStateInfo.post_proof_ready:type_name -> spacemesh.v2alpha1.PostProofReadyState - 12, // 15: spacemesh.v2alpha1.IdentityStateInfo.atx_ready:type_name -> spacemesh.v2alpha1.AtxReadyState - 13, // 16: spacemesh.v2alpha1.IdentityStateInfo.atx_broadcasted:type_name -> spacemesh.v2alpha1.AtxBroadcastedState - 14, // 17: spacemesh.v2alpha1.IdentityStateInfo.proposal_publish_failed:type_name -> spacemesh.v2alpha1.ProposalPublishFailedState - 15, // 18: spacemesh.v2alpha1.IdentityStateInfo.proposal_published:type_name -> spacemesh.v2alpha1.ProposalPublishedState - 16, // 19: spacemesh.v2alpha1.IdentityStateInfo.eligible:type_name -> spacemesh.v2alpha1.Eligible - 17, // 20: spacemesh.v2alpha1.Identity.history:type_name -> spacemesh.v2alpha1.IdentityStateInfo - 32, // 21: spacemesh.v2alpha1.IdentityStatesResponse.identities:type_name -> spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry - 37, // 22: spacemesh.v2alpha1.PoetConfig.phase_shift:type_name -> google.protobuf.Duration - 37, // 23: spacemesh.v2alpha1.PoetConfig.cycle_gap:type_name -> google.protobuf.Duration - 21, // 24: spacemesh.v2alpha1.PoetInfoResponse.config:type_name -> spacemesh.v2alpha1.PoetConfig - 24, // 25: spacemesh.v2alpha1.Eligibilities.eligibilities:type_name -> spacemesh.v2alpha1.ProposalEligibility - 33, // 26: spacemesh.v2alpha1.EpochEligibilities.epochs:type_name -> spacemesh.v2alpha1.EpochEligibilities.EpochsEntry - 34, // 27: spacemesh.v2alpha1.EligibilitiesResponse.identities:type_name -> spacemesh.v2alpha1.EligibilitiesResponse.IdentitiesEntry - 29, // 28: spacemesh.v2alpha1.Proposals.proposals:type_name -> spacemesh.v2alpha1.Proposal - 35, // 29: spacemesh.v2alpha1.ProposalsResponse.proposals:type_name -> spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry - 18, // 30: spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry.value:type_name -> spacemesh.v2alpha1.Identity - 23, // 31: spacemesh.v2alpha1.EpochEligibilities.EpochsEntry.value:type_name -> spacemesh.v2alpha1.Eligibilities - 25, // 32: spacemesh.v2alpha1.EligibilitiesResponse.IdentitiesEntry.value:type_name -> spacemesh.v2alpha1.EpochEligibilities - 30, // 33: spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry.value:type_name -> spacemesh.v2alpha1.Proposals - 1, // 34: spacemesh.v2alpha1.SmeshingIdentitiesService.States:input_type -> spacemesh.v2alpha1.IdentityStatesRequest - 20, // 35: spacemesh.v2alpha1.SmeshingIdentitiesService.PoetInfo:input_type -> spacemesh.v2alpha1.PoetInfoRequest - 26, // 36: spacemesh.v2alpha1.SmeshingIdentitiesService.Eligibilities:input_type -> spacemesh.v2alpha1.EligibilitiesRequest - 28, // 37: spacemesh.v2alpha1.SmeshingIdentitiesService.Proposals:input_type -> spacemesh.v2alpha1.ProposalsRequest - 19, // 38: spacemesh.v2alpha1.SmeshingIdentitiesService.States:output_type -> spacemesh.v2alpha1.IdentityStatesResponse - 22, // 39: spacemesh.v2alpha1.SmeshingIdentitiesService.PoetInfo:output_type -> spacemesh.v2alpha1.PoetInfoResponse - 27, // 40: spacemesh.v2alpha1.SmeshingIdentitiesService.Eligibilities:output_type -> spacemesh.v2alpha1.EligibilitiesResponse - 31, // 41: spacemesh.v2alpha1.SmeshingIdentitiesService.Proposals:output_type -> spacemesh.v2alpha1.ProposalsResponse - 38, // [38:42] is the sub-list for method output_type - 34, // [34:38] is the sub-list for method input_type - 34, // [34:34] is the sub-list for extension type_name - 34, // [34:34] is the sub-list for extension extendee - 0, // [0:34] is the sub-list for field type_name + 37, // 2: spacemesh.v2alpha1.WaitForPoetRoundEndState.round_end:type_name -> google.protobuf.Timestamp + 37, // 3: spacemesh.v2alpha1.WaitForPoetRoundEndState.publish_epoch_end:type_name -> google.protobuf.Timestamp + 16, // 4: spacemesh.v2alpha1.Eligible.layers:type_name -> spacemesh.v2alpha1.Eligibility + 0, // 5: spacemesh.v2alpha1.IdentityStateInfo.state:type_name -> spacemesh.v2alpha1.IdentityState + 37, // 6: spacemesh.v2alpha1.IdentityStateInfo.time:type_name -> google.protobuf.Timestamp + 2, // 7: spacemesh.v2alpha1.IdentityStateInfo.retrying:type_name -> spacemesh.v2alpha1.RetryingState + 3, // 8: spacemesh.v2alpha1.IdentityStateInfo.wait_for_atx_synced:type_name -> spacemesh.v2alpha1.WaitForAtxSyncedState + 4, // 9: spacemesh.v2alpha1.IdentityStateInfo.waiting_for_poet_registration_window:type_name -> spacemesh.v2alpha1.WaitingForPoetRegistrationWindowState + 5, // 10: spacemesh.v2alpha1.IdentityStateInfo.poet_challenge_ready:type_name -> spacemesh.v2alpha1.PoetChallengeReadyState + 7, // 11: spacemesh.v2alpha1.IdentityStateInfo.poet_registered:type_name -> spacemesh.v2alpha1.PoetRegisteredState + 8, // 12: spacemesh.v2alpha1.IdentityStateInfo.wait_for_poet_round_end:type_name -> spacemesh.v2alpha1.WaitForPoetRoundEndState + 9, // 13: spacemesh.v2alpha1.IdentityStateInfo.poet_proof_received:type_name -> spacemesh.v2alpha1.PoetProofReceivedState + 10, // 14: spacemesh.v2alpha1.IdentityStateInfo.generating_post_proof:type_name -> spacemesh.v2alpha1.GeneratingPostProofState + 11, // 15: spacemesh.v2alpha1.IdentityStateInfo.post_proof_ready:type_name -> spacemesh.v2alpha1.PostProofReadyState + 12, // 16: spacemesh.v2alpha1.IdentityStateInfo.atx_ready:type_name -> spacemesh.v2alpha1.AtxReadyState + 13, // 17: spacemesh.v2alpha1.IdentityStateInfo.atx_broadcasted:type_name -> spacemesh.v2alpha1.AtxBroadcastedState + 14, // 18: spacemesh.v2alpha1.IdentityStateInfo.proposal_publish_failed:type_name -> spacemesh.v2alpha1.ProposalPublishFailedState + 15, // 19: spacemesh.v2alpha1.IdentityStateInfo.proposal_published:type_name -> spacemesh.v2alpha1.ProposalPublishedState + 17, // 20: spacemesh.v2alpha1.IdentityStateInfo.eligible:type_name -> spacemesh.v2alpha1.Eligible + 18, // 21: spacemesh.v2alpha1.Identity.history:type_name -> spacemesh.v2alpha1.IdentityStateInfo + 33, // 22: spacemesh.v2alpha1.IdentityStatesResponse.identities:type_name -> spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry + 38, // 23: spacemesh.v2alpha1.PoetConfig.phase_shift:type_name -> google.protobuf.Duration + 38, // 24: spacemesh.v2alpha1.PoetConfig.cycle_gap:type_name -> google.protobuf.Duration + 22, // 25: spacemesh.v2alpha1.PoetInfoResponse.config:type_name -> spacemesh.v2alpha1.PoetConfig + 25, // 26: spacemesh.v2alpha1.Eligibilities.eligibilities:type_name -> spacemesh.v2alpha1.ProposalEligibility + 34, // 27: spacemesh.v2alpha1.EpochEligibilities.epochs:type_name -> spacemesh.v2alpha1.EpochEligibilities.EpochsEntry + 35, // 28: spacemesh.v2alpha1.EligibilitiesResponse.identities:type_name -> spacemesh.v2alpha1.EligibilitiesResponse.IdentitiesEntry + 30, // 29: spacemesh.v2alpha1.Proposals.proposals:type_name -> spacemesh.v2alpha1.Proposal + 36, // 30: spacemesh.v2alpha1.ProposalsResponse.proposals:type_name -> spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry + 19, // 31: spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry.value:type_name -> spacemesh.v2alpha1.Identity + 24, // 32: spacemesh.v2alpha1.EpochEligibilities.EpochsEntry.value:type_name -> spacemesh.v2alpha1.Eligibilities + 26, // 33: spacemesh.v2alpha1.EligibilitiesResponse.IdentitiesEntry.value:type_name -> spacemesh.v2alpha1.EpochEligibilities + 31, // 34: spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry.value:type_name -> spacemesh.v2alpha1.Proposals + 1, // 35: spacemesh.v2alpha1.SmeshingIdentitiesService.States:input_type -> spacemesh.v2alpha1.IdentityStatesRequest + 21, // 36: spacemesh.v2alpha1.SmeshingIdentitiesService.PoetInfo:input_type -> spacemesh.v2alpha1.PoetInfoRequest + 27, // 37: spacemesh.v2alpha1.SmeshingIdentitiesService.Eligibilities:input_type -> spacemesh.v2alpha1.EligibilitiesRequest + 29, // 38: spacemesh.v2alpha1.SmeshingIdentitiesService.Proposals:input_type -> spacemesh.v2alpha1.ProposalsRequest + 20, // 39: spacemesh.v2alpha1.SmeshingIdentitiesService.States:output_type -> spacemesh.v2alpha1.IdentityStatesResponse + 23, // 40: spacemesh.v2alpha1.SmeshingIdentitiesService.PoetInfo:output_type -> spacemesh.v2alpha1.PoetInfoResponse + 28, // 41: spacemesh.v2alpha1.SmeshingIdentitiesService.Eligibilities:output_type -> spacemesh.v2alpha1.EligibilitiesResponse + 32, // 42: spacemesh.v2alpha1.SmeshingIdentitiesService.Proposals:output_type -> spacemesh.v2alpha1.ProposalsResponse + 39, // [39:43] is the sub-list for method output_type + 35, // [35:39] is the sub-list for method input_type + 35, // [35:35] is the sub-list for extension type_name + 35, // [35:35] is the sub-list for extension extendee + 0, // [0:35] is the sub-list for field type_name } func init() { file_spacemesh_v2alpha1_smeshing_identities_proto_init() } @@ -2423,7 +2486,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Eligible); i { + switch v := v.(*Eligibility); i { case 0: return &v.state case 1: @@ -2435,7 +2498,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IdentityStateInfo); i { + switch v := v.(*Eligible); i { case 0: return &v.state case 1: @@ -2447,7 +2510,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Identity); i { + switch v := v.(*IdentityStateInfo); i { case 0: return &v.state case 1: @@ -2459,7 +2522,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IdentityStatesResponse); i { + switch v := v.(*Identity); i { case 0: return &v.state case 1: @@ -2471,7 +2534,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PoetInfoRequest); i { + switch v := v.(*IdentityStatesResponse); i { case 0: return &v.state case 1: @@ -2483,7 +2546,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PoetConfig); i { + switch v := v.(*PoetInfoRequest); i { case 0: return &v.state case 1: @@ -2495,7 +2558,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PoetInfoResponse); i { + switch v := v.(*PoetConfig); i { case 0: return &v.state case 1: @@ -2507,7 +2570,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Eligibilities); i { + switch v := v.(*PoetInfoResponse); i { case 0: return &v.state case 1: @@ -2519,7 +2582,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProposalEligibility); i { + switch v := v.(*Eligibilities); i { case 0: return &v.state case 1: @@ -2531,7 +2594,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EpochEligibilities); i { + switch v := v.(*ProposalEligibility); i { case 0: return &v.state case 1: @@ -2543,7 +2606,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EligibilitiesRequest); i { + switch v := v.(*EpochEligibilities); i { case 0: return &v.state case 1: @@ -2555,7 +2618,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EligibilitiesResponse); i { + switch v := v.(*EligibilitiesRequest); i { case 0: return &v.state case 1: @@ -2567,7 +2630,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProposalsRequest); i { + switch v := v.(*EligibilitiesResponse); i { case 0: return &v.state case 1: @@ -2579,7 +2642,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proposal); i { + switch v := v.(*ProposalsRequest); i { case 0: return &v.state case 1: @@ -2591,7 +2654,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proposals); i { + switch v := v.(*Proposal); i { case 0: return &v.state case 1: @@ -2603,6 +2666,18 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Proposals); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ProposalsResponse); i { case 0: return &v.state @@ -2615,7 +2690,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } } - file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[16].OneofWrappers = []interface{}{ + file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[17].OneofWrappers = []interface{}{ (*IdentityStateInfo_Retrying)(nil), (*IdentityStateInfo_WaitForAtxSynced)(nil), (*IdentityStateInfo_WaitingForPoetRegistrationWindow)(nil), @@ -2637,7 +2712,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc, NumEnums: 1, - NumMessages: 35, + NumMessages: 36, NumExtensions: 0, NumServices: 1, }, diff --git a/release/openapi/swagger/src/api.swagger.json b/release/openapi/swagger/src/api.swagger.json index d8e1578d..e0214ad6 100644 --- a/release/openapi/swagger/src/api.swagger.json +++ b/release/openapi/swagger/src/api.swagger.json @@ -748,6 +748,19 @@ } } }, + "spacemeshv2alpha1Eligibility": { + "type": "object", + "properties": { + "count": { + "type": "integer", + "format": "int64" + }, + "layer": { + "type": "integer", + "format": "int64" + } + } + }, "spacemeshv2alpha1Layer": { "type": "object", "properties": { @@ -1319,8 +1332,8 @@ "layers": { "type": "array", "items": { - "type": "integer", - "format": "int64" + "type": "object", + "$ref": "#/definitions/spacemeshv2alpha1Eligibility" } } } diff --git a/spacemesh/v2alpha1/smeshing_identities.proto b/spacemesh/v2alpha1/smeshing_identities.proto index 452a718a..cb23edd5 100644 --- a/spacemesh/v2alpha1/smeshing_identities.proto +++ b/spacemesh/v2alpha1/smeshing_identities.proto @@ -73,9 +73,14 @@ message ProposalPublishedState { bytes proposal = 1; uint32 layer = 2; } + +message Eligibility { + uint32 layer = 1; + uint32 count = 2; +} message Eligible { uint32 epoch = 1; - repeated uint32 layers = 2; + repeated Eligibility layers = 2; } message IdentityStateInfo { From 37916e00be0a72c47850ddf99af75235fdc7d805 Mon Sep 17 00:00:00 2001 From: Kacper Sawicki Date: Fri, 20 Dec 2024 14:00:49 +0100 Subject: [PATCH 40/41] Update eligibility structure --- .../v2alpha1/smeshing_identities.pb.go | 500 +++++++++--------- release/openapi/swagger/src/api.swagger.json | 4 - spacemesh/v2alpha1/smeshing_identities.proto | 1 - 3 files changed, 245 insertions(+), 260 deletions(-) diff --git a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go index d3278989..f17c9733 100644 --- a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go +++ b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go @@ -868,7 +868,6 @@ type Eligible struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Epoch uint32 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"` Layers []*Eligibility `protobuf:"bytes,2,rep,name=layers,proto3" json:"layers,omitempty"` } @@ -904,13 +903,6 @@ func (*Eligible) Descriptor() ([]byte, []int) { return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{16} } -func (x *Eligible) GetEpoch() uint32 { - if x != nil { - return x.Epoch - } - return 0 -} - func (x *Eligible) GetLayers() []*Eligibility { if x != nil { return x.Layers @@ -1935,262 +1927,260 @@ var file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc = []byte{ 0x69, 0x74, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, - 0x59, 0x0a, 0x08, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x6c, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, - 0x70, 0x6f, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, - 0x68, 0x12, 0x37, 0x0a, 0x06, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x1f, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, - 0x74, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x73, 0x22, 0xba, 0x0b, 0x0a, 0x11, 0x49, - 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, - 0x12, 0x37, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x43, 0x0a, 0x08, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x6c, 0x65, 0x12, 0x37, 0x0a, 0x06, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x06, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x73, 0x22, 0xba, 0x0b, 0x0a, 0x11, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x37, 0x0a, 0x05, 0x73, 0x74, + 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, + 0x61, 0x74, 0x65, 0x12, 0x28, 0x0a, 0x0d, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x65, + 0x70, 0x6f, 0x63, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x01, 0x52, 0x0c, 0x70, 0x75, + 0x62, 0x6c, 0x69, 0x73, 0x68, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x88, 0x01, 0x01, 0x12, 0x2e, 0x0a, + 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, + 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x3f, 0x0a, + 0x08, 0x72, 0x65, 0x74, 0x72, 0x79, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, - 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x28, 0x0a, 0x0d, 0x70, 0x75, 0x62, - 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, - 0x48, 0x01, 0x52, 0x0c, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x45, 0x70, 0x6f, 0x63, 0x68, - 0x88, 0x01, 0x01, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, - 0x69, 0x6d, 0x65, 0x12, 0x3f, 0x0a, 0x08, 0x72, 0x65, 0x74, 0x72, 0x79, 0x69, 0x6e, 0x67, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, - 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x74, 0x72, 0x79, - 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x08, 0x72, 0x65, 0x74, 0x72, - 0x79, 0x69, 0x6e, 0x67, 0x12, 0x5a, 0x0a, 0x13, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x66, 0x6f, 0x72, - 0x5f, 0x61, 0x74, 0x78, 0x5f, 0x73, 0x79, 0x6e, 0x63, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x41, 0x74, - 0x78, 0x53, 0x79, 0x6e, 0x63, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x10, - 0x77, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x41, 0x74, 0x78, 0x53, 0x79, 0x6e, 0x63, 0x65, 0x64, - 0x12, 0x8b, 0x01, 0x0a, 0x24, 0x77, 0x61, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x66, 0x6f, 0x72, - 0x5f, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x5f, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x39, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x57, 0x61, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x46, 0x6f, 0x72, 0x50, - 0x6f, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, - 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x20, 0x77, 0x61, - 0x69, 0x74, 0x69, 0x6e, 0x67, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x12, 0x5f, - 0x0a, 0x14, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, - 0x5f, 0x72, 0x65, 0x61, 0x64, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, - 0x65, 0x61, 0x64, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x12, 0x70, 0x6f, 0x65, - 0x74, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x61, 0x64, 0x79, 0x12, - 0x52, 0x0a, 0x0f, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, - 0x65, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, - 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, - 0x65, 0x48, 0x00, 0x52, 0x0e, 0x70, 0x6f, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, - 0x72, 0x65, 0x64, 0x12, 0x64, 0x0a, 0x17, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x5f, - 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x65, 0x6e, 0x64, 0x18, 0x09, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, - 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, - 0x72, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x45, 0x6e, 0x64, 0x53, 0x74, 0x61, - 0x74, 0x65, 0x48, 0x00, 0x52, 0x13, 0x77, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x65, - 0x74, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x45, 0x6e, 0x64, 0x12, 0x5c, 0x0a, 0x13, 0x70, 0x6f, 0x65, - 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, - 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, - 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, - 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x53, 0x74, 0x61, - 0x74, 0x65, 0x48, 0x00, 0x52, 0x11, 0x70, 0x6f, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, - 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x12, 0x62, 0x0a, 0x15, 0x67, 0x65, 0x6e, 0x65, 0x72, - 0x61, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x73, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x6f, 0x66, - 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, - 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x65, - 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x53, - 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x13, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, - 0x6e, 0x67, 0x50, 0x6f, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x53, 0x0a, 0x10, 0x70, - 0x6f, 0x73, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x79, 0x18, - 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, - 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x50, - 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x61, 0x64, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, - 0x52, 0x0e, 0x70, 0x6f, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x61, 0x64, 0x79, - 0x12, 0x40, 0x0a, 0x09, 0x61, 0x74, 0x78, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x79, 0x18, 0x0d, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, - 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, 0x74, 0x78, 0x52, 0x65, 0x61, 0x64, - 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x08, 0x61, 0x74, 0x78, 0x52, 0x65, 0x61, - 0x64, 0x79, 0x12, 0x52, 0x0a, 0x0f, 0x61, 0x74, 0x78, 0x5f, 0x62, 0x72, 0x6f, 0x61, 0x64, 0x63, - 0x61, 0x73, 0x74, 0x65, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x70, + 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x74, 0x72, 0x79, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x48, 0x00, 0x52, 0x08, 0x72, 0x65, 0x74, 0x72, 0x79, 0x69, 0x6e, 0x67, 0x12, 0x5a, + 0x0a, 0x13, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x61, 0x74, 0x78, 0x5f, 0x73, + 0x79, 0x6e, 0x63, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x41, 0x74, 0x78, 0x42, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x65, 0x64, 0x53, - 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x0e, 0x61, 0x74, 0x78, 0x42, 0x72, 0x6f, 0x61, 0x64, - 0x63, 0x61, 0x73, 0x74, 0x65, 0x64, 0x12, 0x68, 0x0a, 0x17, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, - 0x61, 0x6c, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x65, - 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, - 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, - 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x46, 0x61, 0x69, 0x6c, - 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x15, 0x70, 0x72, 0x6f, 0x70, 0x6f, - 0x73, 0x61, 0x6c, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, - 0x12, 0x5b, 0x0a, 0x12, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x5f, 0x70, 0x75, 0x62, - 0x6c, 0x69, 0x73, 0x68, 0x65, 0x64, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, - 0x68, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x11, 0x70, 0x72, 0x6f, 0x70, - 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x64, 0x12, 0x3a, 0x0a, - 0x08, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x6c, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x6c, 0x65, 0x48, 0x00, 0x52, - 0x08, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x6c, 0x65, 0x42, 0x0a, 0x0a, 0x08, 0x6d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, - 0x68, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x22, 0x4b, 0x0a, 0x08, 0x49, 0x64, 0x65, 0x6e, 0x74, - 0x69, 0x74, 0x79, 0x12, 0x3f, 0x0a, 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, - 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, - 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x68, 0x69, 0x73, - 0x74, 0x6f, 0x72, 0x79, 0x22, 0xd1, 0x01, 0x0a, 0x16, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, - 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x5a, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, - 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, - 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, + 0x2e, 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x41, 0x74, 0x78, 0x53, 0x79, 0x6e, 0x63, 0x65, + 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x10, 0x77, 0x61, 0x69, 0x74, 0x46, 0x6f, + 0x72, 0x41, 0x74, 0x78, 0x53, 0x79, 0x6e, 0x63, 0x65, 0x64, 0x12, 0x8b, 0x01, 0x0a, 0x24, 0x77, + 0x61, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x70, 0x6f, 0x65, 0x74, 0x5f, + 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x77, 0x69, 0x6e, + 0x64, 0x6f, 0x77, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x57, + 0x61, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x65, 0x67, + 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x20, 0x77, 0x61, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x46, + 0x6f, 0x72, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x12, 0x5f, 0x0a, 0x14, 0x70, 0x6f, 0x65, 0x74, + 0x5f, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x79, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, + 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, + 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x61, 0x64, 0x79, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x12, 0x70, 0x6f, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6c, 0x6c, + 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x61, 0x64, 0x79, 0x12, 0x52, 0x0a, 0x0f, 0x70, 0x6f, 0x65, + 0x74, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x18, 0x08, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, + 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, + 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x0e, 0x70, + 0x6f, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x12, 0x64, 0x0a, + 0x17, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x72, + 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x65, 0x6e, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, + 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x2e, 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x65, 0x74, 0x52, + 0x6f, 0x75, 0x6e, 0x64, 0x45, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x13, + 0x77, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x6f, 0x75, 0x6e, 0x64, + 0x45, 0x6e, 0x64, 0x12, 0x5c, 0x0a, 0x13, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x6f, + 0x66, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, + 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x11, + 0x70, 0x6f, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, + 0x64, 0x12, 0x62, 0x0a, 0x15, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x5f, + 0x70, 0x6f, 0x73, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x2c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, + 0x50, 0x6f, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, + 0x52, 0x13, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x73, 0x74, + 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x53, 0x0a, 0x10, 0x70, 0x6f, 0x73, 0x74, 0x5f, 0x70, 0x72, + 0x6f, 0x6f, 0x66, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x79, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x27, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, + 0x61, 0x64, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x0e, 0x70, 0x6f, 0x73, 0x74, + 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x61, 0x64, 0x79, 0x12, 0x40, 0x0a, 0x09, 0x61, 0x74, + 0x78, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x79, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2e, 0x41, 0x74, 0x78, 0x52, 0x65, 0x61, 0x64, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x48, 0x00, 0x52, 0x08, 0x61, 0x74, 0x78, 0x52, 0x65, 0x61, 0x64, 0x79, 0x12, 0x52, 0x0a, 0x0f, + 0x61, 0x74, 0x78, 0x5f, 0x62, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x65, 0x64, 0x18, + 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, + 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, 0x74, 0x78, 0x42, 0x72, + 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, + 0x52, 0x0e, 0x61, 0x74, 0x78, 0x42, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x65, 0x64, + 0x12, 0x68, 0x0a, 0x17, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x5f, 0x70, 0x75, 0x62, + 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x2e, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, + 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x48, 0x00, 0x52, 0x15, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x75, 0x62, + 0x6c, 0x69, 0x73, 0x68, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x12, 0x5b, 0x0a, 0x12, 0x70, 0x72, + 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x64, + 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, + 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, + 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x64, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x48, 0x00, 0x52, 0x11, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x75, + 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x64, 0x12, 0x3a, 0x0a, 0x08, 0x65, 0x6c, 0x69, 0x67, 0x69, + 0x62, 0x6c, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, + 0x6c, 0x69, 0x67, 0x69, 0x62, 0x6c, 0x65, 0x48, 0x00, 0x52, 0x08, 0x65, 0x6c, 0x69, 0x67, 0x69, + 0x62, 0x6c, 0x65, 0x42, 0x0a, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, + 0x10, 0x0a, 0x0e, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x65, 0x70, 0x6f, 0x63, + 0x68, 0x22, 0x4b, 0x0a, 0x08, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x3f, 0x0a, + 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, + 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x22, 0xd1, + 0x01, 0x0a, 0x16, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5a, 0x0a, 0x0a, 0x69, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x69, 0x65, 0x73, 0x1a, 0x5b, 0x0a, 0x0f, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x32, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, + 0x38, 0x01, 0x22, 0x11, 0x0a, 0x0f, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x80, 0x01, 0x0a, 0x0a, 0x50, 0x6f, 0x65, 0x74, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3a, 0x0a, 0x0b, 0x70, 0x68, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68, + 0x69, 0x66, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x70, 0x68, 0x61, 0x73, 0x65, 0x53, 0x68, 0x69, 0x66, 0x74, + 0x12, 0x36, 0x0a, 0x09, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x5f, 0x67, 0x61, 0x70, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, + 0x63, 0x79, 0x63, 0x6c, 0x65, 0x47, 0x61, 0x70, 0x22, 0x60, 0x0a, 0x10, 0x50, 0x6f, 0x65, 0x74, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, + 0x70, 0x6f, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x70, 0x6f, 0x65, + 0x74, 0x73, 0x12, 0x36, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, + 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x5e, 0x0a, 0x0d, 0x45, 0x6c, + 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x4d, 0x0a, 0x0d, 0x65, + 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, + 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, + 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0d, 0x65, 0x6c, 0x69, + 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x22, 0x41, 0x0a, 0x13, 0x50, 0x72, + 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x79, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xbe, 0x01, + 0x0a, 0x12, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, + 0x74, 0x69, 0x65, 0x73, 0x12, 0x4a, 0x0a, 0x06, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, + 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x45, + 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, + 0x63, 0x68, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x73, + 0x1a, 0x5c, 0x0a, 0x0b, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, + 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, + 0x79, 0x12, 0x37, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x69, 0x65, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x16, + 0x0a, 0x14, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xd9, 0x01, 0x0a, 0x15, 0x45, 0x6c, 0x69, 0x67, 0x69, + 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x59, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, + 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, + 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, - 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x1a, 0x5b, 0x0a, 0x0f, 0x49, + 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x1a, 0x65, 0x0a, 0x0f, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, - 0x12, 0x32, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x11, 0x0a, 0x0f, 0x50, 0x6f, 0x65, 0x74, - 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x80, 0x01, 0x0a, 0x0a, - 0x50, 0x6f, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3a, 0x0a, 0x0b, 0x70, 0x68, - 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68, 0x69, 0x66, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x70, 0x68, 0x61, 0x73, - 0x65, 0x53, 0x68, 0x69, 0x66, 0x74, 0x12, 0x36, 0x0a, 0x09, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x5f, - 0x67, 0x61, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x47, 0x61, 0x70, 0x22, 0x60, - 0x0a, 0x10, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x6f, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x09, 0x52, 0x05, 0x70, 0x6f, 0x65, 0x74, 0x73, 0x12, 0x36, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, - 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x22, 0x5e, 0x0a, 0x0d, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, - 0x73, 0x12, 0x4d, 0x0a, 0x0d, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, - 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, - 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, - 0x79, 0x52, 0x0d, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, - 0x22, 0x41, 0x0a, 0x13, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x45, 0x6c, 0x69, 0x67, - 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x14, 0x0a, - 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x22, 0xbe, 0x01, 0x0a, 0x12, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x45, 0x6c, 0x69, - 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x4a, 0x0a, 0x06, 0x65, 0x70, - 0x6f, 0x63, 0x68, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x45, 0x70, 0x6f, 0x63, 0x68, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, - 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, - 0x65, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x1a, 0x5c, 0x0a, 0x0b, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x73, - 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x37, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, - 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, - 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x3a, 0x02, 0x38, 0x01, 0x22, 0x16, 0x0a, 0x14, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, - 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xd9, 0x01, 0x0a, - 0x15, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, - 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x73, 0x70, 0x61, + 0x12, 0x3c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x26, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, + 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, + 0x38, 0x01, 0x22, 0x12, 0x0a, 0x10, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x3c, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, + 0x61, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, + 0x6f, 0x73, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, + 0x6f, 0x73, 0x61, 0x6c, 0x22, 0x47, 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, + 0x73, 0x12, 0x3a, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, + 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, + 0x61, 0x6c, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x22, 0xc4, 0x01, + 0x0a, 0x11, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, + 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, + 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x72, + 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x70, 0x72, + 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x1a, 0x5b, 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x70, 0x6f, + 0x73, 0x61, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x33, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, - 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, - 0x73, 0x1a, 0x65, 0x0a, 0x0f, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, - 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, - 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, - 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x12, 0x0a, 0x10, 0x50, 0x72, 0x6f, 0x70, - 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x3c, 0x0a, 0x08, - 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, - 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x1a, - 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x22, 0x47, 0x0a, 0x09, 0x50, 0x72, - 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x12, 0x3a, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, - 0x73, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, - 0x61, 0x6c, 0x73, 0x22, 0xc4, 0x01, 0x0a, 0x11, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a, 0x09, 0x70, 0x72, 0x6f, - 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x1a, 0x5b, 0x0a, - 0x0e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, - 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, - 0x79, 0x12, 0x33, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x2a, 0xee, 0x02, 0x0a, 0x0d, 0x49, - 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0f, 0x0a, 0x0b, - 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, - 0x13, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x41, 0x54, 0x58, 0x5f, 0x53, 0x59, - 0x4e, 0x43, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x45, 0x54, 0x52, 0x59, 0x49, - 0x4e, 0x47, 0x10, 0x02, 0x12, 0x28, 0x0a, 0x24, 0x57, 0x41, 0x49, 0x54, 0x49, 0x4e, 0x47, 0x5f, - 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, - 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x57, 0x49, 0x4e, 0x44, 0x4f, 0x57, 0x10, 0x03, 0x12, 0x18, - 0x0a, 0x14, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, 0x47, 0x45, - 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x4f, 0x45, 0x54, - 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x45, 0x52, 0x45, 0x44, 0x10, 0x05, 0x12, 0x1b, 0x0a, - 0x17, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, - 0x4f, 0x55, 0x4e, 0x44, 0x5f, 0x45, 0x4e, 0x44, 0x10, 0x06, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x4f, - 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x43, 0x45, 0x49, 0x56, 0x45, - 0x44, 0x10, 0x07, 0x12, 0x19, 0x0a, 0x15, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4e, - 0x47, 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x10, 0x08, 0x12, 0x14, - 0x0a, 0x10, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x41, - 0x44, 0x59, 0x10, 0x09, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x54, 0x58, 0x5f, 0x52, 0x45, 0x41, 0x44, - 0x59, 0x10, 0x0a, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x54, 0x58, 0x5f, 0x42, 0x52, 0x4f, 0x41, 0x44, - 0x43, 0x41, 0x53, 0x54, 0x45, 0x44, 0x10, 0x0b, 0x12, 0x1b, 0x0a, 0x17, 0x50, 0x52, 0x4f, 0x50, - 0x4f, 0x53, 0x41, 0x4c, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, 0x5f, 0x46, 0x41, 0x49, - 0x4c, 0x45, 0x44, 0x10, 0x0c, 0x12, 0x16, 0x0a, 0x12, 0x50, 0x52, 0x4f, 0x50, 0x4f, 0x53, 0x41, - 0x4c, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, 0x45, 0x44, 0x10, 0x0d, 0x12, 0x0c, 0x0a, - 0x08, 0x45, 0x4c, 0x49, 0x47, 0x49, 0x42, 0x4c, 0x45, 0x10, 0x0e, 0x32, 0xa7, 0x03, 0x0a, 0x19, - 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, - 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x61, 0x0a, 0x06, 0x53, 0x74, 0x61, - 0x74, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, - 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, - 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, - 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, - 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x57, 0x0a, 0x08, - 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x23, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, - 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, + 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x3a, 0x02, 0x38, 0x01, 0x2a, 0xee, 0x02, 0x0a, 0x0d, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, + 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x57, 0x41, 0x49, 0x54, 0x5f, + 0x46, 0x4f, 0x52, 0x5f, 0x41, 0x54, 0x58, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x45, 0x44, 0x10, 0x01, + 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x45, 0x54, 0x52, 0x59, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x28, + 0x0a, 0x24, 0x57, 0x41, 0x49, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, + 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, + 0x57, 0x49, 0x4e, 0x44, 0x4f, 0x57, 0x10, 0x03, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4f, 0x45, 0x54, + 0x5f, 0x43, 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, 0x47, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, + 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, + 0x54, 0x45, 0x52, 0x45, 0x44, 0x10, 0x05, 0x12, 0x1b, 0x0a, 0x17, 0x57, 0x41, 0x49, 0x54, 0x5f, + 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x55, 0x4e, 0x44, 0x5f, 0x45, + 0x4e, 0x44, 0x10, 0x06, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, + 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x43, 0x45, 0x49, 0x56, 0x45, 0x44, 0x10, 0x07, 0x12, 0x19, 0x0a, + 0x15, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x4f, 0x53, 0x54, + 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x10, 0x08, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x4f, 0x53, 0x54, + 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x09, 0x12, 0x0d, + 0x0a, 0x09, 0x41, 0x54, 0x58, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x0a, 0x12, 0x13, 0x0a, + 0x0f, 0x41, 0x54, 0x58, 0x5f, 0x42, 0x52, 0x4f, 0x41, 0x44, 0x43, 0x41, 0x53, 0x54, 0x45, 0x44, + 0x10, 0x0b, 0x12, 0x1b, 0x0a, 0x17, 0x50, 0x52, 0x4f, 0x50, 0x4f, 0x53, 0x41, 0x4c, 0x5f, 0x50, + 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x0c, 0x12, + 0x16, 0x0a, 0x12, 0x50, 0x52, 0x4f, 0x50, 0x4f, 0x53, 0x41, 0x4c, 0x5f, 0x50, 0x55, 0x42, 0x4c, + 0x49, 0x53, 0x48, 0x45, 0x44, 0x10, 0x0d, 0x12, 0x0c, 0x0a, 0x08, 0x45, 0x4c, 0x49, 0x47, 0x49, + 0x42, 0x4c, 0x45, 0x10, 0x0e, 0x32, 0xa7, 0x03, 0x0a, 0x19, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, + 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x12, 0x61, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x66, 0x0a, 0x0d, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, - 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x28, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, - 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, - 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, + 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x57, 0x0a, 0x08, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x23, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, + 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, + 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, + 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, + 0x66, 0x0a, 0x0d, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, + 0x12, 0x28, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, - 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5a, 0x0a, - 0x09, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x12, 0x24, 0x2e, 0x73, 0x70, 0x61, + 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x25, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x1a, 0x0a, 0xfa, 0xd2, 0xe4, 0x93, 0x02, - 0x04, 0x12, 0x02, 0x56, 0x32, 0x42, 0xe6, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x42, 0x17, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, - 0x74, 0x69, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, 0x69, 0x74, - 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, - 0x68, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2f, - 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, 0x32, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x76, - 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, 0x02, 0x12, - 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0xca, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, - 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x1e, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, - 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, - 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x13, 0x53, 0x70, 0x61, 0x63, 0x65, - 0x6d, 0x65, 0x73, 0x68, 0x3a, 0x3a, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x70, 0x6f, + 0x73, 0x61, 0x6c, 0x73, 0x12, 0x24, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, + 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, + 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, + 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x1a, 0x0a, 0xfa, 0xd2, 0xe4, 0x93, 0x02, 0x04, 0x12, 0x02, 0x56, 0x32, 0x42, + 0xe6, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, + 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x17, 0x53, 0x6d, 0x65, 0x73, + 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x50, 0x72, + 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, + 0x6d, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, 0x70, + 0x69, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, + 0x65, 0x73, 0x68, 0x2e, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x12, 0x53, + 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0xe2, 0x02, 0x1e, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0xea, 0x02, 0x13, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x3a, 0x3a, + 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/release/openapi/swagger/src/api.swagger.json b/release/openapi/swagger/src/api.swagger.json index e0214ad6..a4cf3a6e 100644 --- a/release/openapi/swagger/src/api.swagger.json +++ b/release/openapi/swagger/src/api.swagger.json @@ -1325,10 +1325,6 @@ "v2alpha1Eligible": { "type": "object", "properties": { - "epoch": { - "type": "integer", - "format": "int64" - }, "layers": { "type": "array", "items": { diff --git a/spacemesh/v2alpha1/smeshing_identities.proto b/spacemesh/v2alpha1/smeshing_identities.proto index cb23edd5..5124892f 100644 --- a/spacemesh/v2alpha1/smeshing_identities.proto +++ b/spacemesh/v2alpha1/smeshing_identities.proto @@ -79,7 +79,6 @@ message Eligibility { uint32 count = 2; } message Eligible { - uint32 epoch = 1; repeated Eligibility layers = 2; } From 6dc718ac3ae4d0e6047a5f6933b4dde9f1cd423b Mon Sep 17 00:00:00 2001 From: Kacper Sawicki Date: Fri, 20 Dec 2024 14:15:35 +0100 Subject: [PATCH 41/41] Add PROPOSAL_BUILD_FAILED state --- .../v2alpha1/smeshing_identities.pb.go | 676 ++++++++++-------- release/openapi/swagger/src/api.swagger.json | 16 + spacemesh/v2alpha1/smeshing_identities.proto | 19 +- 3 files changed, 417 insertions(+), 294 deletions(-) diff --git a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go index f17c9733..d10b4800 100644 --- a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go +++ b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go @@ -40,9 +40,10 @@ const ( IdentityState_POST_PROOF_READY IdentityState = 9 IdentityState_ATX_READY IdentityState = 10 IdentityState_ATX_BROADCASTED IdentityState = 11 - IdentityState_PROPOSAL_PUBLISH_FAILED IdentityState = 12 - IdentityState_PROPOSAL_PUBLISHED IdentityState = 13 - IdentityState_ELIGIBLE IdentityState = 14 + IdentityState_PROPOSAL_BUILD_FAILED IdentityState = 12 + IdentityState_PROPOSAL_PUBLISH_FAILED IdentityState = 13 + IdentityState_PROPOSAL_PUBLISHED IdentityState = 14 + IdentityState_ELIGIBLE IdentityState = 15 ) // Enum value maps for IdentityState. @@ -60,9 +61,10 @@ var ( 9: "POST_PROOF_READY", 10: "ATX_READY", 11: "ATX_BROADCASTED", - 12: "PROPOSAL_PUBLISH_FAILED", - 13: "PROPOSAL_PUBLISHED", - 14: "ELIGIBLE", + 12: "PROPOSAL_BUILD_FAILED", + 13: "PROPOSAL_PUBLISH_FAILED", + 14: "PROPOSAL_PUBLISHED", + 15: "ELIGIBLE", } IdentityState_value = map[string]int32{ "UNSPECIFIED": 0, @@ -77,9 +79,10 @@ var ( "POST_PROOF_READY": 9, "ATX_READY": 10, "ATX_BROADCASTED": 11, - "PROPOSAL_PUBLISH_FAILED": 12, - "PROPOSAL_PUBLISHED": 13, - "ELIGIBLE": 14, + "PROPOSAL_BUILD_FAILED": 12, + "PROPOSAL_PUBLISH_FAILED": 13, + "PROPOSAL_PUBLISHED": 14, + "ELIGIBLE": 15, } ) @@ -690,6 +693,61 @@ func (x *AtxBroadcastedState) GetAtxId() []byte { return nil } +type ProposalBuildFailedState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` + Layer uint32 `protobuf:"varint,2,opt,name=layer,proto3" json:"layer,omitempty"` +} + +func (x *ProposalBuildFailedState) Reset() { + *x = ProposalBuildFailedState{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProposalBuildFailedState) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProposalBuildFailedState) ProtoMessage() {} + +func (x *ProposalBuildFailedState) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ProposalBuildFailedState.ProtoReflect.Descriptor instead. +func (*ProposalBuildFailedState) Descriptor() ([]byte, []int) { + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{13} +} + +func (x *ProposalBuildFailedState) GetMessage() string { + if x != nil { + return x.Message + } + return "" +} + +func (x *ProposalBuildFailedState) GetLayer() uint32 { + if x != nil { + return x.Layer + } + return 0 +} + type ProposalPublishFailedState struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -703,7 +761,7 @@ type ProposalPublishFailedState struct { func (x *ProposalPublishFailedState) Reset() { *x = ProposalPublishFailedState{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[13] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -716,7 +774,7 @@ func (x *ProposalPublishFailedState) String() string { func (*ProposalPublishFailedState) ProtoMessage() {} func (x *ProposalPublishFailedState) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[13] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -729,7 +787,7 @@ func (x *ProposalPublishFailedState) ProtoReflect() protoreflect.Message { // Deprecated: Use ProposalPublishFailedState.ProtoReflect.Descriptor instead. func (*ProposalPublishFailedState) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{13} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{14} } func (x *ProposalPublishFailedState) GetMessage() string { @@ -765,7 +823,7 @@ type ProposalPublishedState struct { func (x *ProposalPublishedState) Reset() { *x = ProposalPublishedState{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[14] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -778,7 +836,7 @@ func (x *ProposalPublishedState) String() string { func (*ProposalPublishedState) ProtoMessage() {} func (x *ProposalPublishedState) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[14] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -791,7 +849,7 @@ func (x *ProposalPublishedState) ProtoReflect() protoreflect.Message { // Deprecated: Use ProposalPublishedState.ProtoReflect.Descriptor instead. func (*ProposalPublishedState) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{14} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{15} } func (x *ProposalPublishedState) GetProposal() []byte { @@ -820,7 +878,7 @@ type Eligibility struct { func (x *Eligibility) Reset() { *x = Eligibility{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[15] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -833,7 +891,7 @@ func (x *Eligibility) String() string { func (*Eligibility) ProtoMessage() {} func (x *Eligibility) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[15] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -846,7 +904,7 @@ func (x *Eligibility) ProtoReflect() protoreflect.Message { // Deprecated: Use Eligibility.ProtoReflect.Descriptor instead. func (*Eligibility) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{15} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{16} } func (x *Eligibility) GetLayer() uint32 { @@ -874,7 +932,7 @@ type Eligible struct { func (x *Eligible) Reset() { *x = Eligible{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[16] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -887,7 +945,7 @@ func (x *Eligible) String() string { func (*Eligible) ProtoMessage() {} func (x *Eligible) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[16] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -900,7 +958,7 @@ func (x *Eligible) ProtoReflect() protoreflect.Message { // Deprecated: Use Eligible.ProtoReflect.Descriptor instead. func (*Eligible) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{16} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{17} } func (x *Eligible) GetLayers() []*Eligibility { @@ -931,6 +989,7 @@ type IdentityStateInfo struct { // *IdentityStateInfo_PostProofReady // *IdentityStateInfo_AtxReady // *IdentityStateInfo_AtxBroadcasted + // *IdentityStateInfo_ProposalBuildFailed // *IdentityStateInfo_ProposalPublishFailed // *IdentityStateInfo_ProposalPublished // *IdentityStateInfo_Eligible @@ -940,7 +999,7 @@ type IdentityStateInfo struct { func (x *IdentityStateInfo) Reset() { *x = IdentityStateInfo{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[17] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -953,7 +1012,7 @@ func (x *IdentityStateInfo) String() string { func (*IdentityStateInfo) ProtoMessage() {} func (x *IdentityStateInfo) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[17] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -966,7 +1025,7 @@ func (x *IdentityStateInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use IdentityStateInfo.ProtoReflect.Descriptor instead. func (*IdentityStateInfo) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{17} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{18} } func (x *IdentityStateInfo) GetState() IdentityState { @@ -1074,6 +1133,13 @@ func (x *IdentityStateInfo) GetAtxBroadcasted() *AtxBroadcastedState { return nil } +func (x *IdentityStateInfo) GetProposalBuildFailed() *ProposalBuildFailedState { + if x, ok := x.GetMetadata().(*IdentityStateInfo_ProposalBuildFailed); ok { + return x.ProposalBuildFailed + } + return nil +} + func (x *IdentityStateInfo) GetProposalPublishFailed() *ProposalPublishFailedState { if x, ok := x.GetMetadata().(*IdentityStateInfo_ProposalPublishFailed); ok { return x.ProposalPublishFailed @@ -1143,16 +1209,20 @@ type IdentityStateInfo_AtxBroadcasted struct { AtxBroadcasted *AtxBroadcastedState `protobuf:"bytes,14,opt,name=atx_broadcasted,json=atxBroadcasted,proto3,oneof"` } +type IdentityStateInfo_ProposalBuildFailed struct { + ProposalBuildFailed *ProposalBuildFailedState `protobuf:"bytes,15,opt,name=proposal_build_failed,json=proposalBuildFailed,proto3,oneof"` +} + type IdentityStateInfo_ProposalPublishFailed struct { - ProposalPublishFailed *ProposalPublishFailedState `protobuf:"bytes,15,opt,name=proposal_publish_failed,json=proposalPublishFailed,proto3,oneof"` + ProposalPublishFailed *ProposalPublishFailedState `protobuf:"bytes,16,opt,name=proposal_publish_failed,json=proposalPublishFailed,proto3,oneof"` } type IdentityStateInfo_ProposalPublished struct { - ProposalPublished *ProposalPublishedState `protobuf:"bytes,16,opt,name=proposal_published,json=proposalPublished,proto3,oneof"` + ProposalPublished *ProposalPublishedState `protobuf:"bytes,17,opt,name=proposal_published,json=proposalPublished,proto3,oneof"` } type IdentityStateInfo_Eligible struct { - Eligible *Eligible `protobuf:"bytes,17,opt,name=eligible,proto3,oneof"` + Eligible *Eligible `protobuf:"bytes,18,opt,name=eligible,proto3,oneof"` } func (*IdentityStateInfo_Retrying) isIdentityStateInfo_Metadata() {} @@ -1177,6 +1247,8 @@ func (*IdentityStateInfo_AtxReady) isIdentityStateInfo_Metadata() {} func (*IdentityStateInfo_AtxBroadcasted) isIdentityStateInfo_Metadata() {} +func (*IdentityStateInfo_ProposalBuildFailed) isIdentityStateInfo_Metadata() {} + func (*IdentityStateInfo_ProposalPublishFailed) isIdentityStateInfo_Metadata() {} func (*IdentityStateInfo_ProposalPublished) isIdentityStateInfo_Metadata() {} @@ -1194,7 +1266,7 @@ type Identity struct { func (x *Identity) Reset() { *x = Identity{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[18] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1207,7 +1279,7 @@ func (x *Identity) String() string { func (*Identity) ProtoMessage() {} func (x *Identity) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[18] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1220,7 +1292,7 @@ func (x *Identity) ProtoReflect() protoreflect.Message { // Deprecated: Use Identity.ProtoReflect.Descriptor instead. func (*Identity) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{18} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{19} } func (x *Identity) GetHistory() []*IdentityStateInfo { @@ -1241,7 +1313,7 @@ type IdentityStatesResponse struct { func (x *IdentityStatesResponse) Reset() { *x = IdentityStatesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[19] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1254,7 +1326,7 @@ func (x *IdentityStatesResponse) String() string { func (*IdentityStatesResponse) ProtoMessage() {} func (x *IdentityStatesResponse) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[19] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1267,7 +1339,7 @@ func (x *IdentityStatesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use IdentityStatesResponse.ProtoReflect.Descriptor instead. func (*IdentityStatesResponse) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{19} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{20} } func (x *IdentityStatesResponse) GetIdentities() map[string]*Identity { @@ -1287,7 +1359,7 @@ type PoetInfoRequest struct { func (x *PoetInfoRequest) Reset() { *x = PoetInfoRequest{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[20] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1300,7 +1372,7 @@ func (x *PoetInfoRequest) String() string { func (*PoetInfoRequest) ProtoMessage() {} func (x *PoetInfoRequest) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[20] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1313,7 +1385,7 @@ func (x *PoetInfoRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use PoetInfoRequest.ProtoReflect.Descriptor instead. func (*PoetInfoRequest) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{20} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{21} } type PoetConfig struct { @@ -1328,7 +1400,7 @@ type PoetConfig struct { func (x *PoetConfig) Reset() { *x = PoetConfig{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[21] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1341,7 +1413,7 @@ func (x *PoetConfig) String() string { func (*PoetConfig) ProtoMessage() {} func (x *PoetConfig) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[21] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1354,7 +1426,7 @@ func (x *PoetConfig) ProtoReflect() protoreflect.Message { // Deprecated: Use PoetConfig.ProtoReflect.Descriptor instead. func (*PoetConfig) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{21} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{22} } func (x *PoetConfig) GetPhaseShift() *durationpb.Duration { @@ -1383,7 +1455,7 @@ type PoetInfoResponse struct { func (x *PoetInfoResponse) Reset() { *x = PoetInfoResponse{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[22] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1396,7 +1468,7 @@ func (x *PoetInfoResponse) String() string { func (*PoetInfoResponse) ProtoMessage() {} func (x *PoetInfoResponse) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[22] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[23] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1409,7 +1481,7 @@ func (x *PoetInfoResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use PoetInfoResponse.ProtoReflect.Descriptor instead. func (*PoetInfoResponse) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{22} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{23} } func (x *PoetInfoResponse) GetPoets() []string { @@ -1438,7 +1510,7 @@ type Eligibilities struct { func (x *Eligibilities) Reset() { *x = Eligibilities{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[23] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1451,7 +1523,7 @@ func (x *Eligibilities) String() string { func (*Eligibilities) ProtoMessage() {} func (x *Eligibilities) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[23] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[24] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1464,7 +1536,7 @@ func (x *Eligibilities) ProtoReflect() protoreflect.Message { // Deprecated: Use Eligibilities.ProtoReflect.Descriptor instead. func (*Eligibilities) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{23} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{24} } func (x *Eligibilities) GetEligibilities() []*ProposalEligibility { @@ -1486,7 +1558,7 @@ type ProposalEligibility struct { func (x *ProposalEligibility) Reset() { *x = ProposalEligibility{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[24] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1499,7 +1571,7 @@ func (x *ProposalEligibility) String() string { func (*ProposalEligibility) ProtoMessage() {} func (x *ProposalEligibility) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[24] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[25] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1512,7 +1584,7 @@ func (x *ProposalEligibility) ProtoReflect() protoreflect.Message { // Deprecated: Use ProposalEligibility.ProtoReflect.Descriptor instead. func (*ProposalEligibility) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{24} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{25} } func (x *ProposalEligibility) GetLayer() uint32 { @@ -1540,7 +1612,7 @@ type EpochEligibilities struct { func (x *EpochEligibilities) Reset() { *x = EpochEligibilities{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[25] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1553,7 +1625,7 @@ func (x *EpochEligibilities) String() string { func (*EpochEligibilities) ProtoMessage() {} func (x *EpochEligibilities) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[25] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[26] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1566,7 +1638,7 @@ func (x *EpochEligibilities) ProtoReflect() protoreflect.Message { // Deprecated: Use EpochEligibilities.ProtoReflect.Descriptor instead. func (*EpochEligibilities) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{25} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{26} } func (x *EpochEligibilities) GetEpochs() map[uint32]*Eligibilities { @@ -1585,7 +1657,7 @@ type EligibilitiesRequest struct { func (x *EligibilitiesRequest) Reset() { *x = EligibilitiesRequest{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[26] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1598,7 +1670,7 @@ func (x *EligibilitiesRequest) String() string { func (*EligibilitiesRequest) ProtoMessage() {} func (x *EligibilitiesRequest) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[26] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[27] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1611,7 +1683,7 @@ func (x *EligibilitiesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use EligibilitiesRequest.ProtoReflect.Descriptor instead. func (*EligibilitiesRequest) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{26} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{27} } type EligibilitiesResponse struct { @@ -1625,7 +1697,7 @@ type EligibilitiesResponse struct { func (x *EligibilitiesResponse) Reset() { *x = EligibilitiesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[27] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1638,7 +1710,7 @@ func (x *EligibilitiesResponse) String() string { func (*EligibilitiesResponse) ProtoMessage() {} func (x *EligibilitiesResponse) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[27] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[28] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1651,7 +1723,7 @@ func (x *EligibilitiesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use EligibilitiesResponse.ProtoReflect.Descriptor instead. func (*EligibilitiesResponse) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{27} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{28} } func (x *EligibilitiesResponse) GetIdentities() map[string]*EpochEligibilities { @@ -1670,7 +1742,7 @@ type ProposalsRequest struct { func (x *ProposalsRequest) Reset() { *x = ProposalsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[28] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1683,7 +1755,7 @@ func (x *ProposalsRequest) String() string { func (*ProposalsRequest) ProtoMessage() {} func (x *ProposalsRequest) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[28] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[29] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1696,7 +1768,7 @@ func (x *ProposalsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ProposalsRequest.ProtoReflect.Descriptor instead. func (*ProposalsRequest) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{28} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{29} } type Proposal struct { @@ -1711,7 +1783,7 @@ type Proposal struct { func (x *Proposal) Reset() { *x = Proposal{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[29] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1724,7 +1796,7 @@ func (x *Proposal) String() string { func (*Proposal) ProtoMessage() {} func (x *Proposal) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[29] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[30] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1737,7 +1809,7 @@ func (x *Proposal) ProtoReflect() protoreflect.Message { // Deprecated: Use Proposal.ProtoReflect.Descriptor instead. func (*Proposal) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{29} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{30} } func (x *Proposal) GetLayer() uint32 { @@ -1765,7 +1837,7 @@ type Proposals struct { func (x *Proposals) Reset() { *x = Proposals{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[30] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1778,7 +1850,7 @@ func (x *Proposals) String() string { func (*Proposals) ProtoMessage() {} func (x *Proposals) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[30] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[31] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1791,7 +1863,7 @@ func (x *Proposals) ProtoReflect() protoreflect.Message { // Deprecated: Use Proposals.ProtoReflect.Descriptor instead. func (*Proposals) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{30} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{31} } func (x *Proposals) GetProposals() []*Proposal { @@ -1812,7 +1884,7 @@ type ProposalsResponse struct { func (x *ProposalsResponse) Reset() { *x = ProposalsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[31] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1825,7 +1897,7 @@ func (x *ProposalsResponse) String() string { func (*ProposalsResponse) ProtoMessage() {} func (x *ProposalsResponse) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[31] + mi := &file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[32] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1838,7 +1910,7 @@ func (x *ProposalsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ProposalsResponse.ProtoReflect.Descriptor instead. func (*ProposalsResponse) Descriptor() ([]byte, []int) { - return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{31} + return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{32} } func (x *ProposalsResponse) GetProposals() map[string]*Proposals { @@ -1911,114 +1983,125 @@ var file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc = []byte{ 0x0f, 0x0a, 0x0d, 0x41, 0x74, 0x78, 0x52, 0x65, 0x61, 0x64, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x22, 0x2c, 0x0a, 0x13, 0x41, 0x74, 0x78, 0x42, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x61, 0x74, 0x78, 0x5f, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x61, 0x74, 0x78, 0x49, 0x64, 0x22, 0x68, - 0x0a, 0x1a, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, - 0x68, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, - 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, - 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, - 0x61, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0d, 0x52, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x22, 0x4a, 0x0a, 0x16, 0x50, 0x72, 0x6f, 0x70, - 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x64, 0x53, 0x74, 0x61, - 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x18, 0x01, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x61, 0x74, 0x78, 0x49, 0x64, 0x22, 0x4a, + 0x0a, 0x18, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x46, + 0x61, 0x69, 0x6c, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x22, 0x68, 0x0a, 0x1a, 0x50, 0x72, + 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x46, 0x61, 0x69, + 0x6c, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x12, 0x14, - 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, - 0x61, 0x79, 0x65, 0x72, 0x22, 0x39, 0x0a, 0x0b, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, - 0x69, 0x74, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, - 0x43, 0x0a, 0x08, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x6c, 0x65, 0x12, 0x37, 0x0a, 0x06, 0x6c, - 0x61, 0x79, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x06, 0x6c, 0x61, - 0x79, 0x65, 0x72, 0x73, 0x22, 0xba, 0x0b, 0x0a, 0x11, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, - 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x37, 0x0a, 0x05, 0x73, 0x74, - 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, - 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, - 0x61, 0x74, 0x65, 0x12, 0x28, 0x0a, 0x0d, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x65, - 0x70, 0x6f, 0x63, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x01, 0x52, 0x0c, 0x70, 0x75, - 0x62, 0x6c, 0x69, 0x73, 0x68, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x88, 0x01, 0x01, 0x12, 0x2e, 0x0a, - 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, - 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x3f, 0x0a, - 0x08, 0x72, 0x65, 0x74, 0x72, 0x79, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x74, 0x72, 0x79, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, - 0x74, 0x65, 0x48, 0x00, 0x52, 0x08, 0x72, 0x65, 0x74, 0x72, 0x79, 0x69, 0x6e, 0x67, 0x12, 0x5a, - 0x0a, 0x13, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x61, 0x74, 0x78, 0x5f, 0x73, - 0x79, 0x6e, 0x63, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x73, 0x70, + 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x22, 0x4a, 0x0a, 0x16, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, + 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1a, + 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, + 0x22, 0x39, 0x0a, 0x0b, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, + 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, + 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x43, 0x0a, 0x08, 0x45, + 0x6c, 0x69, 0x67, 0x69, 0x62, 0x6c, 0x65, 0x12, 0x37, 0x0a, 0x06, 0x6c, 0x61, 0x79, 0x65, 0x72, + 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, + 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, + 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x73, + 0x22, 0x9e, 0x0c, 0x0a, 0x11, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x37, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, + 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, + 0x28, 0x0a, 0x0d, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x01, 0x52, 0x0c, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, + 0x68, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x88, 0x01, 0x01, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, + 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x3f, 0x0a, 0x08, 0x72, 0x65, 0x74, + 0x72, 0x79, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2e, 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x41, 0x74, 0x78, 0x53, 0x79, 0x6e, 0x63, 0x65, - 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x10, 0x77, 0x61, 0x69, 0x74, 0x46, 0x6f, - 0x72, 0x41, 0x74, 0x78, 0x53, 0x79, 0x6e, 0x63, 0x65, 0x64, 0x12, 0x8b, 0x01, 0x0a, 0x24, 0x77, - 0x61, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x70, 0x6f, 0x65, 0x74, 0x5f, - 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x77, 0x69, 0x6e, - 0x64, 0x6f, 0x77, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x57, - 0x61, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x53, - 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x20, 0x77, 0x61, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x46, - 0x6f, 0x72, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x12, 0x5f, 0x0a, 0x14, 0x70, 0x6f, 0x65, 0x74, - 0x5f, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x79, - 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, - 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, - 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x61, 0x64, 0x79, 0x53, 0x74, - 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x12, 0x70, 0x6f, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6c, 0x6c, - 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x61, 0x64, 0x79, 0x12, 0x52, 0x0a, 0x0f, 0x70, 0x6f, 0x65, - 0x74, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x18, 0x08, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, - 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x0e, 0x70, - 0x6f, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x12, 0x64, 0x0a, - 0x17, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x72, - 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x65, 0x6e, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, + 0x2e, 0x52, 0x65, 0x74, 0x72, 0x79, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, + 0x52, 0x08, 0x72, 0x65, 0x74, 0x72, 0x79, 0x69, 0x6e, 0x67, 0x12, 0x5a, 0x0a, 0x13, 0x77, 0x61, + 0x69, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x61, 0x74, 0x78, 0x5f, 0x73, 0x79, 0x6e, 0x63, 0x65, + 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, + 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x57, 0x61, 0x69, + 0x74, 0x46, 0x6f, 0x72, 0x41, 0x74, 0x78, 0x53, 0x79, 0x6e, 0x63, 0x65, 0x64, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x48, 0x00, 0x52, 0x10, 0x77, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x41, 0x74, 0x78, + 0x53, 0x79, 0x6e, 0x63, 0x65, 0x64, 0x12, 0x8b, 0x01, 0x0a, 0x24, 0x77, 0x61, 0x69, 0x74, 0x69, + 0x6e, 0x67, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x67, 0x69, + 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, + 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x57, 0x61, 0x69, 0x74, 0x69, + 0x6e, 0x67, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x48, 0x00, 0x52, 0x20, 0x77, 0x61, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x46, 0x6f, 0x72, 0x50, 0x6f, + 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x69, + 0x6e, 0x64, 0x6f, 0x77, 0x12, 0x5f, 0x0a, 0x14, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x63, 0x68, 0x61, + 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x79, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, + 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6c, + 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x61, 0x64, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, + 0x00, 0x52, 0x12, 0x70, 0x6f, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, + 0x52, 0x65, 0x61, 0x64, 0x79, 0x12, 0x52, 0x0a, 0x0f, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x72, 0x65, + 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x65, 0x74, 0x52, - 0x6f, 0x75, 0x6e, 0x64, 0x45, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x13, - 0x77, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x6f, 0x75, 0x6e, 0x64, - 0x45, 0x6e, 0x64, 0x12, 0x5c, 0x0a, 0x13, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x6f, - 0x66, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, - 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x11, - 0x70, 0x6f, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, - 0x64, 0x12, 0x62, 0x0a, 0x15, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x5f, - 0x70, 0x6f, 0x73, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x2c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, - 0x50, 0x6f, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, - 0x52, 0x13, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x73, 0x74, - 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x53, 0x0a, 0x10, 0x70, 0x6f, 0x73, 0x74, 0x5f, 0x70, 0x72, - 0x6f, 0x6f, 0x66, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x79, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x27, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, - 0x61, 0x64, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x0e, 0x70, 0x6f, 0x73, 0x74, - 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x61, 0x64, 0x79, 0x12, 0x40, 0x0a, 0x09, 0x61, 0x74, - 0x78, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x79, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x41, 0x74, 0x78, 0x52, 0x65, 0x61, 0x64, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, - 0x48, 0x00, 0x52, 0x08, 0x61, 0x74, 0x78, 0x52, 0x65, 0x61, 0x64, 0x79, 0x12, 0x52, 0x0a, 0x0f, - 0x61, 0x74, 0x78, 0x5f, 0x62, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x65, 0x64, 0x18, - 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, - 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, 0x74, 0x78, 0x42, 0x72, - 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, - 0x52, 0x0e, 0x61, 0x74, 0x78, 0x42, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x65, 0x64, + 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, + 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x0e, 0x70, 0x6f, 0x65, 0x74, 0x52, + 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x12, 0x64, 0x0a, 0x17, 0x77, 0x61, 0x69, + 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x72, 0x6f, 0x75, 0x6e, 0x64, + 0x5f, 0x65, 0x6e, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, + 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x6f, 0x75, 0x6e, 0x64, + 0x45, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x13, 0x77, 0x61, 0x69, 0x74, + 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x45, 0x6e, 0x64, 0x12, + 0x5c, 0x0a, 0x13, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x5f, 0x72, 0x65, + 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x63, 0x65, 0x69, + 0x76, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x11, 0x70, 0x6f, 0x65, 0x74, + 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x12, 0x62, 0x0a, + 0x15, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x73, 0x74, + 0x5f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x73, 0x74, + 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x13, 0x67, 0x65, + 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6f, + 0x66, 0x12, 0x53, 0x0a, 0x10, 0x70, 0x6f, 0x73, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x5f, + 0x72, 0x65, 0x61, 0x64, 0x79, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x61, 0x64, 0x79, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x0e, 0x70, 0x6f, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6f, + 0x66, 0x52, 0x65, 0x61, 0x64, 0x79, 0x12, 0x40, 0x0a, 0x09, 0x61, 0x74, 0x78, 0x5f, 0x72, 0x65, + 0x61, 0x64, 0x79, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, + 0x74, 0x78, 0x52, 0x65, 0x61, 0x64, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x08, + 0x61, 0x74, 0x78, 0x52, 0x65, 0x61, 0x64, 0x79, 0x12, 0x52, 0x0a, 0x0f, 0x61, 0x74, 0x78, 0x5f, + 0x62, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x65, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, 0x74, 0x78, 0x42, 0x72, 0x6f, 0x61, 0x64, 0x63, + 0x61, 0x73, 0x74, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x0e, 0x61, 0x74, + 0x78, 0x42, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x65, 0x64, 0x12, 0x62, 0x0a, 0x15, + 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x66, + 0x61, 0x69, 0x6c, 0x65, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x46, 0x61, + 0x69, 0x6c, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x13, 0x70, 0x72, 0x6f, + 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x12, 0x68, 0x0a, 0x17, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x5f, 0x70, 0x75, 0x62, - 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, + 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x15, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x12, 0x5b, 0x0a, 0x12, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x64, - 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, + 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x11, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x64, 0x12, 0x3a, 0x0a, 0x08, 0x65, 0x6c, 0x69, 0x67, 0x69, - 0x62, 0x6c, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x70, 0x61, 0x63, + 0x62, 0x6c, 0x65, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x6c, 0x65, 0x48, 0x00, 0x52, 0x08, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x6c, 0x65, 0x42, 0x0a, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, @@ -2116,7 +2199,7 @@ var file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc = []byte{ 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x3a, 0x02, 0x38, 0x01, 0x2a, 0xee, 0x02, 0x0a, 0x0d, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x3a, 0x02, 0x38, 0x01, 0x2a, 0x89, 0x03, 0x0a, 0x0d, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x41, 0x54, 0x58, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x45, 0x44, 0x10, 0x01, @@ -2135,52 +2218,54 @@ var file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc = []byte{ 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x09, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x54, 0x58, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x0a, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x54, 0x58, 0x5f, 0x42, 0x52, 0x4f, 0x41, 0x44, 0x43, 0x41, 0x53, 0x54, 0x45, 0x44, - 0x10, 0x0b, 0x12, 0x1b, 0x0a, 0x17, 0x50, 0x52, 0x4f, 0x50, 0x4f, 0x53, 0x41, 0x4c, 0x5f, 0x50, - 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x0c, 0x12, - 0x16, 0x0a, 0x12, 0x50, 0x52, 0x4f, 0x50, 0x4f, 0x53, 0x41, 0x4c, 0x5f, 0x50, 0x55, 0x42, 0x4c, - 0x49, 0x53, 0x48, 0x45, 0x44, 0x10, 0x0d, 0x12, 0x0c, 0x0a, 0x08, 0x45, 0x4c, 0x49, 0x47, 0x49, - 0x42, 0x4c, 0x45, 0x10, 0x0e, 0x32, 0xa7, 0x03, 0x0a, 0x19, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, - 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x12, 0x61, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, 0x29, 0x2e, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x10, 0x0b, 0x12, 0x19, 0x0a, 0x15, 0x50, 0x52, 0x4f, 0x50, 0x4f, 0x53, 0x41, 0x4c, 0x5f, 0x42, + 0x55, 0x49, 0x4c, 0x44, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x0c, 0x12, 0x1b, 0x0a, + 0x17, 0x50, 0x52, 0x4f, 0x50, 0x4f, 0x53, 0x41, 0x4c, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, + 0x48, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x0d, 0x12, 0x16, 0x0a, 0x12, 0x50, 0x52, + 0x4f, 0x50, 0x4f, 0x53, 0x41, 0x4c, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, 0x45, 0x44, + 0x10, 0x0e, 0x12, 0x0c, 0x0a, 0x08, 0x45, 0x4c, 0x49, 0x47, 0x49, 0x42, 0x4c, 0x45, 0x10, 0x0f, + 0x32, 0xa7, 0x03, 0x0a, 0x19, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x61, + 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, - 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x57, 0x0a, 0x08, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, - 0x66, 0x6f, 0x12, 0x23, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, + 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x57, 0x0a, 0x08, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x23, 0x2e, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, - 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, - 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, - 0x66, 0x0a, 0x0d, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, - 0x12, 0x28, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, - 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x70, 0x6f, - 0x73, 0x61, 0x6c, 0x73, 0x12, 0x24, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, - 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, - 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x00, 0x1a, 0x0a, 0xfa, 0xd2, 0xe4, 0x93, 0x02, 0x04, 0x12, 0x02, 0x56, 0x32, 0x42, - 0xe6, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, - 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x17, 0x53, 0x6d, 0x65, 0x73, - 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x50, 0x72, - 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, - 0x6d, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, 0x70, - 0x69, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, - 0x65, 0x73, 0x68, 0x2e, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x12, 0x53, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x66, 0x0a, 0x0d, 0x45, 0x6c, + 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x28, 0x2e, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, + 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, + 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x12, + 0x24, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, + 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, + 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x1a, 0x0a, + 0xfa, 0xd2, 0xe4, 0x93, 0x02, 0x04, 0x12, 0x02, 0x56, 0x32, 0x42, 0xe6, 0x01, 0x0a, 0x16, 0x63, + 0x6f, 0x6d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x17, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, + 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x6c, + 0x65, 0x61, 0x73, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, + 0x68, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x6d, 0x65, 0x73, 0x68, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x53, + 0x58, 0x58, 0xaa, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x56, + 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, + 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x1e, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0xe2, 0x02, 0x1e, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0xea, 0x02, 0x13, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x3a, 0x3a, - 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x13, + 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x3a, 0x3a, 0x56, 0x32, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -2196,7 +2281,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP() []byte { } var file_spacemesh_v2alpha1_smeshing_identities_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes = make([]protoimpl.MessageInfo, 36) +var file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes = make([]protoimpl.MessageInfo, 37) var file_spacemesh_v2alpha1_smeshing_identities_proto_goTypes = []interface{}{ (IdentityState)(0), // 0: spacemesh.v2alpha1.IdentityState (*IdentityStatesRequest)(nil), // 1: spacemesh.v2alpha1.IdentityStatesRequest @@ -2212,40 +2297,41 @@ var file_spacemesh_v2alpha1_smeshing_identities_proto_goTypes = []interface{}{ (*PostProofReadyState)(nil), // 11: spacemesh.v2alpha1.PostProofReadyState (*AtxReadyState)(nil), // 12: spacemesh.v2alpha1.AtxReadyState (*AtxBroadcastedState)(nil), // 13: spacemesh.v2alpha1.AtxBroadcastedState - (*ProposalPublishFailedState)(nil), // 14: spacemesh.v2alpha1.ProposalPublishFailedState - (*ProposalPublishedState)(nil), // 15: spacemesh.v2alpha1.ProposalPublishedState - (*Eligibility)(nil), // 16: spacemesh.v2alpha1.Eligibility - (*Eligible)(nil), // 17: spacemesh.v2alpha1.Eligible - (*IdentityStateInfo)(nil), // 18: spacemesh.v2alpha1.IdentityStateInfo - (*Identity)(nil), // 19: spacemesh.v2alpha1.Identity - (*IdentityStatesResponse)(nil), // 20: spacemesh.v2alpha1.IdentityStatesResponse - (*PoetInfoRequest)(nil), // 21: spacemesh.v2alpha1.PoetInfoRequest - (*PoetConfig)(nil), // 22: spacemesh.v2alpha1.PoetConfig - (*PoetInfoResponse)(nil), // 23: spacemesh.v2alpha1.PoetInfoResponse - (*Eligibilities)(nil), // 24: spacemesh.v2alpha1.Eligibilities - (*ProposalEligibility)(nil), // 25: spacemesh.v2alpha1.ProposalEligibility - (*EpochEligibilities)(nil), // 26: spacemesh.v2alpha1.EpochEligibilities - (*EligibilitiesRequest)(nil), // 27: spacemesh.v2alpha1.EligibilitiesRequest - (*EligibilitiesResponse)(nil), // 28: spacemesh.v2alpha1.EligibilitiesResponse - (*ProposalsRequest)(nil), // 29: spacemesh.v2alpha1.ProposalsRequest - (*Proposal)(nil), // 30: spacemesh.v2alpha1.Proposal - (*Proposals)(nil), // 31: spacemesh.v2alpha1.Proposals - (*ProposalsResponse)(nil), // 32: spacemesh.v2alpha1.ProposalsResponse - nil, // 33: spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry - nil, // 34: spacemesh.v2alpha1.EpochEligibilities.EpochsEntry - nil, // 35: spacemesh.v2alpha1.EligibilitiesResponse.IdentitiesEntry - nil, // 36: spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry - (*timestamppb.Timestamp)(nil), // 37: google.protobuf.Timestamp - (*durationpb.Duration)(nil), // 38: google.protobuf.Duration + (*ProposalBuildFailedState)(nil), // 14: spacemesh.v2alpha1.ProposalBuildFailedState + (*ProposalPublishFailedState)(nil), // 15: spacemesh.v2alpha1.ProposalPublishFailedState + (*ProposalPublishedState)(nil), // 16: spacemesh.v2alpha1.ProposalPublishedState + (*Eligibility)(nil), // 17: spacemesh.v2alpha1.Eligibility + (*Eligible)(nil), // 18: spacemesh.v2alpha1.Eligible + (*IdentityStateInfo)(nil), // 19: spacemesh.v2alpha1.IdentityStateInfo + (*Identity)(nil), // 20: spacemesh.v2alpha1.Identity + (*IdentityStatesResponse)(nil), // 21: spacemesh.v2alpha1.IdentityStatesResponse + (*PoetInfoRequest)(nil), // 22: spacemesh.v2alpha1.PoetInfoRequest + (*PoetConfig)(nil), // 23: spacemesh.v2alpha1.PoetConfig + (*PoetInfoResponse)(nil), // 24: spacemesh.v2alpha1.PoetInfoResponse + (*Eligibilities)(nil), // 25: spacemesh.v2alpha1.Eligibilities + (*ProposalEligibility)(nil), // 26: spacemesh.v2alpha1.ProposalEligibility + (*EpochEligibilities)(nil), // 27: spacemesh.v2alpha1.EpochEligibilities + (*EligibilitiesRequest)(nil), // 28: spacemesh.v2alpha1.EligibilitiesRequest + (*EligibilitiesResponse)(nil), // 29: spacemesh.v2alpha1.EligibilitiesResponse + (*ProposalsRequest)(nil), // 30: spacemesh.v2alpha1.ProposalsRequest + (*Proposal)(nil), // 31: spacemesh.v2alpha1.Proposal + (*Proposals)(nil), // 32: spacemesh.v2alpha1.Proposals + (*ProposalsResponse)(nil), // 33: spacemesh.v2alpha1.ProposalsResponse + nil, // 34: spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry + nil, // 35: spacemesh.v2alpha1.EpochEligibilities.EpochsEntry + nil, // 36: spacemesh.v2alpha1.EligibilitiesResponse.IdentitiesEntry + nil, // 37: spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry + (*timestamppb.Timestamp)(nil), // 38: google.protobuf.Timestamp + (*durationpb.Duration)(nil), // 39: google.protobuf.Duration } var file_spacemesh_v2alpha1_smeshing_identities_proto_depIdxs = []int32{ - 37, // 0: spacemesh.v2alpha1.PoETRegistration.round_end:type_name -> google.protobuf.Timestamp + 38, // 0: spacemesh.v2alpha1.PoETRegistration.round_end:type_name -> google.protobuf.Timestamp 6, // 1: spacemesh.v2alpha1.PoetRegisteredState.registrations:type_name -> spacemesh.v2alpha1.PoETRegistration - 37, // 2: spacemesh.v2alpha1.WaitForPoetRoundEndState.round_end:type_name -> google.protobuf.Timestamp - 37, // 3: spacemesh.v2alpha1.WaitForPoetRoundEndState.publish_epoch_end:type_name -> google.protobuf.Timestamp - 16, // 4: spacemesh.v2alpha1.Eligible.layers:type_name -> spacemesh.v2alpha1.Eligibility + 38, // 2: spacemesh.v2alpha1.WaitForPoetRoundEndState.round_end:type_name -> google.protobuf.Timestamp + 38, // 3: spacemesh.v2alpha1.WaitForPoetRoundEndState.publish_epoch_end:type_name -> google.protobuf.Timestamp + 17, // 4: spacemesh.v2alpha1.Eligible.layers:type_name -> spacemesh.v2alpha1.Eligibility 0, // 5: spacemesh.v2alpha1.IdentityStateInfo.state:type_name -> spacemesh.v2alpha1.IdentityState - 37, // 6: spacemesh.v2alpha1.IdentityStateInfo.time:type_name -> google.protobuf.Timestamp + 38, // 6: spacemesh.v2alpha1.IdentityStateInfo.time:type_name -> google.protobuf.Timestamp 2, // 7: spacemesh.v2alpha1.IdentityStateInfo.retrying:type_name -> spacemesh.v2alpha1.RetryingState 3, // 8: spacemesh.v2alpha1.IdentityStateInfo.wait_for_atx_synced:type_name -> spacemesh.v2alpha1.WaitForAtxSyncedState 4, // 9: spacemesh.v2alpha1.IdentityStateInfo.waiting_for_poet_registration_window:type_name -> spacemesh.v2alpha1.WaitingForPoetRegistrationWindowState @@ -2257,36 +2343,37 @@ var file_spacemesh_v2alpha1_smeshing_identities_proto_depIdxs = []int32{ 11, // 15: spacemesh.v2alpha1.IdentityStateInfo.post_proof_ready:type_name -> spacemesh.v2alpha1.PostProofReadyState 12, // 16: spacemesh.v2alpha1.IdentityStateInfo.atx_ready:type_name -> spacemesh.v2alpha1.AtxReadyState 13, // 17: spacemesh.v2alpha1.IdentityStateInfo.atx_broadcasted:type_name -> spacemesh.v2alpha1.AtxBroadcastedState - 14, // 18: spacemesh.v2alpha1.IdentityStateInfo.proposal_publish_failed:type_name -> spacemesh.v2alpha1.ProposalPublishFailedState - 15, // 19: spacemesh.v2alpha1.IdentityStateInfo.proposal_published:type_name -> spacemesh.v2alpha1.ProposalPublishedState - 17, // 20: spacemesh.v2alpha1.IdentityStateInfo.eligible:type_name -> spacemesh.v2alpha1.Eligible - 18, // 21: spacemesh.v2alpha1.Identity.history:type_name -> spacemesh.v2alpha1.IdentityStateInfo - 33, // 22: spacemesh.v2alpha1.IdentityStatesResponse.identities:type_name -> spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry - 38, // 23: spacemesh.v2alpha1.PoetConfig.phase_shift:type_name -> google.protobuf.Duration - 38, // 24: spacemesh.v2alpha1.PoetConfig.cycle_gap:type_name -> google.protobuf.Duration - 22, // 25: spacemesh.v2alpha1.PoetInfoResponse.config:type_name -> spacemesh.v2alpha1.PoetConfig - 25, // 26: spacemesh.v2alpha1.Eligibilities.eligibilities:type_name -> spacemesh.v2alpha1.ProposalEligibility - 34, // 27: spacemesh.v2alpha1.EpochEligibilities.epochs:type_name -> spacemesh.v2alpha1.EpochEligibilities.EpochsEntry - 35, // 28: spacemesh.v2alpha1.EligibilitiesResponse.identities:type_name -> spacemesh.v2alpha1.EligibilitiesResponse.IdentitiesEntry - 30, // 29: spacemesh.v2alpha1.Proposals.proposals:type_name -> spacemesh.v2alpha1.Proposal - 36, // 30: spacemesh.v2alpha1.ProposalsResponse.proposals:type_name -> spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry - 19, // 31: spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry.value:type_name -> spacemesh.v2alpha1.Identity - 24, // 32: spacemesh.v2alpha1.EpochEligibilities.EpochsEntry.value:type_name -> spacemesh.v2alpha1.Eligibilities - 26, // 33: spacemesh.v2alpha1.EligibilitiesResponse.IdentitiesEntry.value:type_name -> spacemesh.v2alpha1.EpochEligibilities - 31, // 34: spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry.value:type_name -> spacemesh.v2alpha1.Proposals - 1, // 35: spacemesh.v2alpha1.SmeshingIdentitiesService.States:input_type -> spacemesh.v2alpha1.IdentityStatesRequest - 21, // 36: spacemesh.v2alpha1.SmeshingIdentitiesService.PoetInfo:input_type -> spacemesh.v2alpha1.PoetInfoRequest - 27, // 37: spacemesh.v2alpha1.SmeshingIdentitiesService.Eligibilities:input_type -> spacemesh.v2alpha1.EligibilitiesRequest - 29, // 38: spacemesh.v2alpha1.SmeshingIdentitiesService.Proposals:input_type -> spacemesh.v2alpha1.ProposalsRequest - 20, // 39: spacemesh.v2alpha1.SmeshingIdentitiesService.States:output_type -> spacemesh.v2alpha1.IdentityStatesResponse - 23, // 40: spacemesh.v2alpha1.SmeshingIdentitiesService.PoetInfo:output_type -> spacemesh.v2alpha1.PoetInfoResponse - 28, // 41: spacemesh.v2alpha1.SmeshingIdentitiesService.Eligibilities:output_type -> spacemesh.v2alpha1.EligibilitiesResponse - 32, // 42: spacemesh.v2alpha1.SmeshingIdentitiesService.Proposals:output_type -> spacemesh.v2alpha1.ProposalsResponse - 39, // [39:43] is the sub-list for method output_type - 35, // [35:39] is the sub-list for method input_type - 35, // [35:35] is the sub-list for extension type_name - 35, // [35:35] is the sub-list for extension extendee - 0, // [0:35] is the sub-list for field type_name + 14, // 18: spacemesh.v2alpha1.IdentityStateInfo.proposal_build_failed:type_name -> spacemesh.v2alpha1.ProposalBuildFailedState + 15, // 19: spacemesh.v2alpha1.IdentityStateInfo.proposal_publish_failed:type_name -> spacemesh.v2alpha1.ProposalPublishFailedState + 16, // 20: spacemesh.v2alpha1.IdentityStateInfo.proposal_published:type_name -> spacemesh.v2alpha1.ProposalPublishedState + 18, // 21: spacemesh.v2alpha1.IdentityStateInfo.eligible:type_name -> spacemesh.v2alpha1.Eligible + 19, // 22: spacemesh.v2alpha1.Identity.history:type_name -> spacemesh.v2alpha1.IdentityStateInfo + 34, // 23: spacemesh.v2alpha1.IdentityStatesResponse.identities:type_name -> spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry + 39, // 24: spacemesh.v2alpha1.PoetConfig.phase_shift:type_name -> google.protobuf.Duration + 39, // 25: spacemesh.v2alpha1.PoetConfig.cycle_gap:type_name -> google.protobuf.Duration + 23, // 26: spacemesh.v2alpha1.PoetInfoResponse.config:type_name -> spacemesh.v2alpha1.PoetConfig + 26, // 27: spacemesh.v2alpha1.Eligibilities.eligibilities:type_name -> spacemesh.v2alpha1.ProposalEligibility + 35, // 28: spacemesh.v2alpha1.EpochEligibilities.epochs:type_name -> spacemesh.v2alpha1.EpochEligibilities.EpochsEntry + 36, // 29: spacemesh.v2alpha1.EligibilitiesResponse.identities:type_name -> spacemesh.v2alpha1.EligibilitiesResponse.IdentitiesEntry + 31, // 30: spacemesh.v2alpha1.Proposals.proposals:type_name -> spacemesh.v2alpha1.Proposal + 37, // 31: spacemesh.v2alpha1.ProposalsResponse.proposals:type_name -> spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry + 20, // 32: spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry.value:type_name -> spacemesh.v2alpha1.Identity + 25, // 33: spacemesh.v2alpha1.EpochEligibilities.EpochsEntry.value:type_name -> spacemesh.v2alpha1.Eligibilities + 27, // 34: spacemesh.v2alpha1.EligibilitiesResponse.IdentitiesEntry.value:type_name -> spacemesh.v2alpha1.EpochEligibilities + 32, // 35: spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry.value:type_name -> spacemesh.v2alpha1.Proposals + 1, // 36: spacemesh.v2alpha1.SmeshingIdentitiesService.States:input_type -> spacemesh.v2alpha1.IdentityStatesRequest + 22, // 37: spacemesh.v2alpha1.SmeshingIdentitiesService.PoetInfo:input_type -> spacemesh.v2alpha1.PoetInfoRequest + 28, // 38: spacemesh.v2alpha1.SmeshingIdentitiesService.Eligibilities:input_type -> spacemesh.v2alpha1.EligibilitiesRequest + 30, // 39: spacemesh.v2alpha1.SmeshingIdentitiesService.Proposals:input_type -> spacemesh.v2alpha1.ProposalsRequest + 21, // 40: spacemesh.v2alpha1.SmeshingIdentitiesService.States:output_type -> spacemesh.v2alpha1.IdentityStatesResponse + 24, // 41: spacemesh.v2alpha1.SmeshingIdentitiesService.PoetInfo:output_type -> spacemesh.v2alpha1.PoetInfoResponse + 29, // 42: spacemesh.v2alpha1.SmeshingIdentitiesService.Eligibilities:output_type -> spacemesh.v2alpha1.EligibilitiesResponse + 33, // 43: spacemesh.v2alpha1.SmeshingIdentitiesService.Proposals:output_type -> spacemesh.v2alpha1.ProposalsResponse + 40, // [40:44] is the sub-list for method output_type + 36, // [36:40] is the sub-list for method input_type + 36, // [36:36] is the sub-list for extension type_name + 36, // [36:36] is the sub-list for extension extendee + 0, // [0:36] is the sub-list for field type_name } func init() { file_spacemesh_v2alpha1_smeshing_identities_proto_init() } @@ -2452,7 +2539,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProposalPublishFailedState); i { + switch v := v.(*ProposalBuildFailedState); i { case 0: return &v.state case 1: @@ -2464,7 +2551,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProposalPublishedState); i { + switch v := v.(*ProposalPublishFailedState); i { case 0: return &v.state case 1: @@ -2476,7 +2563,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Eligibility); i { + switch v := v.(*ProposalPublishedState); i { case 0: return &v.state case 1: @@ -2488,7 +2575,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Eligible); i { + switch v := v.(*Eligibility); i { case 0: return &v.state case 1: @@ -2500,7 +2587,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IdentityStateInfo); i { + switch v := v.(*Eligible); i { case 0: return &v.state case 1: @@ -2512,7 +2599,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Identity); i { + switch v := v.(*IdentityStateInfo); i { case 0: return &v.state case 1: @@ -2524,7 +2611,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IdentityStatesResponse); i { + switch v := v.(*Identity); i { case 0: return &v.state case 1: @@ -2536,7 +2623,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PoetInfoRequest); i { + switch v := v.(*IdentityStatesResponse); i { case 0: return &v.state case 1: @@ -2548,7 +2635,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PoetConfig); i { + switch v := v.(*PoetInfoRequest); i { case 0: return &v.state case 1: @@ -2560,7 +2647,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PoetInfoResponse); i { + switch v := v.(*PoetConfig); i { case 0: return &v.state case 1: @@ -2572,7 +2659,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Eligibilities); i { + switch v := v.(*PoetInfoResponse); i { case 0: return &v.state case 1: @@ -2584,7 +2671,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProposalEligibility); i { + switch v := v.(*Eligibilities); i { case 0: return &v.state case 1: @@ -2596,7 +2683,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EpochEligibilities); i { + switch v := v.(*ProposalEligibility); i { case 0: return &v.state case 1: @@ -2608,7 +2695,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EligibilitiesRequest); i { + switch v := v.(*EpochEligibilities); i { case 0: return &v.state case 1: @@ -2620,7 +2707,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EligibilitiesResponse); i { + switch v := v.(*EligibilitiesRequest); i { case 0: return &v.state case 1: @@ -2632,7 +2719,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProposalsRequest); i { + switch v := v.(*EligibilitiesResponse); i { case 0: return &v.state case 1: @@ -2644,7 +2731,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proposal); i { + switch v := v.(*ProposalsRequest); i { case 0: return &v.state case 1: @@ -2656,7 +2743,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proposals); i { + switch v := v.(*Proposal); i { case 0: return &v.state case 1: @@ -2668,6 +2755,18 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Proposals); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ProposalsResponse); i { case 0: return &v.state @@ -2680,7 +2779,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { } } } - file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[17].OneofWrappers = []interface{}{ + file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes[18].OneofWrappers = []interface{}{ (*IdentityStateInfo_Retrying)(nil), (*IdentityStateInfo_WaitForAtxSynced)(nil), (*IdentityStateInfo_WaitingForPoetRegistrationWindow)(nil), @@ -2692,6 +2791,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { (*IdentityStateInfo_PostProofReady)(nil), (*IdentityStateInfo_AtxReady)(nil), (*IdentityStateInfo_AtxBroadcasted)(nil), + (*IdentityStateInfo_ProposalBuildFailed)(nil), (*IdentityStateInfo_ProposalPublishFailed)(nil), (*IdentityStateInfo_ProposalPublished)(nil), (*IdentityStateInfo_Eligible)(nil), @@ -2702,7 +2802,7 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc, NumEnums: 1, - NumMessages: 36, + NumMessages: 37, NumExtensions: 0, NumServices: 1, }, diff --git a/release/openapi/swagger/src/api.swagger.json b/release/openapi/swagger/src/api.swagger.json index a4cf3a6e..d654cf0e 100644 --- a/release/openapi/swagger/src/api.swagger.json +++ b/release/openapi/swagger/src/api.swagger.json @@ -1399,6 +1399,7 @@ "POST_PROOF_READY", "ATX_READY", "ATX_BROADCASTED", + "PROPOSAL_BUILD_FAILED", "PROPOSAL_PUBLISH_FAILED", "PROPOSAL_PUBLISHED", "ELIGIBLE" @@ -1431,6 +1432,9 @@ "postProofReady": { "$ref": "#/definitions/v2alpha1PostProofReadyState" }, + "proposalBuildFailed": { + "$ref": "#/definitions/v2alpha1ProposalBuildFailedState" + }, "proposalPublishFailed": { "$ref": "#/definitions/v2alpha1ProposalPublishFailedState" }, @@ -1645,6 +1649,18 @@ "v2alpha1PostProofReadyState": { "type": "object" }, + "v2alpha1ProposalBuildFailedState": { + "type": "object", + "properties": { + "layer": { + "type": "integer", + "format": "int64" + }, + "message": { + "type": "string" + } + } + }, "v2alpha1ProposalPublishFailedState": { "type": "object", "properties": { diff --git a/spacemesh/v2alpha1/smeshing_identities.proto b/spacemesh/v2alpha1/smeshing_identities.proto index 5124892f..425b3a37 100644 --- a/spacemesh/v2alpha1/smeshing_identities.proto +++ b/spacemesh/v2alpha1/smeshing_identities.proto @@ -28,10 +28,12 @@ enum IdentityState { ATX_READY = 10; ATX_BROADCASTED = 11; - PROPOSAL_PUBLISH_FAILED = 12; - PROPOSAL_PUBLISHED = 13; - ELIGIBLE = 14; + PROPOSAL_BUILD_FAILED = 12; + PROPOSAL_PUBLISH_FAILED = 13; + PROPOSAL_PUBLISHED = 14; + + ELIGIBLE = 15; } message RetryingState { @@ -64,6 +66,10 @@ message AtxReadyState {} message AtxBroadcastedState { bytes atx_id = 1; } +message ProposalBuildFailedState { + string message = 1; + uint32 layer = 2; +} message ProposalPublishFailedState { string message = 1; bytes proposal = 2; @@ -98,9 +104,10 @@ message IdentityStateInfo { PostProofReadyState post_proof_ready = 12; AtxReadyState atx_ready = 13; AtxBroadcastedState atx_broadcasted = 14; - ProposalPublishFailedState proposal_publish_failed = 15; - ProposalPublishedState proposal_published = 16; - Eligible eligible = 17; + ProposalBuildFailedState proposal_build_failed = 15; + ProposalPublishFailedState proposal_publish_failed = 16; + ProposalPublishedState proposal_published = 17; + Eligible eligible = 18; } }