From 312a97662eb776d67a7bb0eba1da0f3267e9fb2d Mon Sep 17 00:00:00 2001 From: marston Date: Sun, 18 Aug 2024 15:33:24 -0400 Subject: [PATCH] adding network size query --- proto/canine_chain/storage/query.proto | 12 + x/storage/keeper/files.go | 27 + x/storage/keeper/grpc_query_storage_stats.go | 18 + x/storage/types/query.pb.go | 612 ++++++++++++++----- x/storage/types/query.pb.gw.go | 65 ++ 5 files changed, 585 insertions(+), 149 deletions(-) diff --git a/proto/canine_chain/storage/query.proto b/proto/canine_chain/storage/query.proto index e863749b..f1cf6126 100644 --- a/proto/canine_chain/storage/query.proto +++ b/proto/canine_chain/storage/query.proto @@ -181,6 +181,12 @@ service Query { "/jackal/canine-chain/storage/storage_stats"; } + // Queries protocol storage space used and purchased. + rpc NetworkSize(QueryNetworkSize) returns (QueryNetworkSizeResponse) { + option (google.api.http).get = + "/jackal/canine-chain/storage/network_size"; + } + // Queries protocol storage space used and purchased. rpc Gauges(QueryAllGauges) returns (QueryAllGaugesResponse) { option (google.api.http).get = @@ -440,3 +446,9 @@ message QueryStorageStatsResponse { uint64 uniqueUsers = 5; map users_by_plan= 6; } + +message QueryNetworkSize {} + +message QueryNetworkSizeResponse { + uint64 size = 1; +} \ No newline at end of file diff --git a/x/storage/keeper/files.go b/x/storage/keeper/files.go index 845b71ac..7bc2a2e6 100644 --- a/x/storage/keeper/files.go +++ b/x/storage/keeper/files.go @@ -138,6 +138,33 @@ func (k Keeper) IterateFilesByMerkle(ctx sdk.Context, reverse bool, fn func(key } } +// IterateAndParseFilesByMerkle iterates through every file and parses them for you +func (k Keeper) IterateAndParseFilesByMerkle(ctx sdk.Context, reverse bool, fn func(key []byte, val types.UnifiedFile) bool) { + store := prefix.NewStore(ctx.KVStore(k.storeKey), types.KeyPrefix(types.FilePrimaryKeyPrefix)) + + var iterator storetypes.Iterator + if reverse { + iterator = sdk.KVStoreReversePrefixIterator(store, []byte{}) + } else { + iterator = sdk.KVStorePrefixIterator(store, []byte{}) + } + + defer iterator.Close() + + for ; iterator.Valid(); iterator.Next() { + val := iterator.Value() + var file types.UnifiedFile + if err := k.cdc.Unmarshal(val, &file); err != nil { + return + } + + b := fn(iterator.Key(), file) + if b { + return + } + } +} + // GetAllFilesWithMerkle returns all Files that start with a specific merkle func (k Keeper) GetAllFilesWithMerkle(ctx sdk.Context, merkle []byte) (list []types.UnifiedFile) { store := prefix.NewStore(ctx.KVStore(k.storeKey), types.FilesMerklePrefix(merkle)) diff --git a/x/storage/keeper/grpc_query_storage_stats.go b/x/storage/keeper/grpc_query_storage_stats.go index 53cbfe05..33e0a778 100644 --- a/x/storage/keeper/grpc_query_storage_stats.go +++ b/x/storage/keeper/grpc_query_storage_stats.go @@ -9,6 +9,24 @@ import ( "google.golang.org/grpc/status" ) +func (k Keeper) NetworkSize(c context.Context, req *types.QueryNetworkSize) (*types.QueryNetworkSizeResponse, error) { + if req == nil { + return nil, status.Error(codes.InvalidArgument, "invalid request") + } + + ctx := sdk.UnwrapSDKContext(c) + + var s uint64 + + k.IterateAndParseFilesByMerkle(ctx, false, func(_ []byte, val types.UnifiedFile) bool { + s += uint64(val.FileSize * val.MaxProofs) + + return false + }) + + return &types.QueryNetworkSizeResponse{Size_: s}, nil +} + func (k Keeper) StorageStats(c context.Context, req *types.QueryStorageStats) (*types.QueryStorageStatsResponse, error) { if req == nil { return nil, status.Error(codes.InvalidArgument, "invalid request") diff --git a/x/storage/types/query.pb.go b/x/storage/types/query.pb.go index 2f891591..8cab23d1 100644 --- a/x/storage/types/query.pb.go +++ b/x/storage/types/query.pb.go @@ -2708,6 +2708,86 @@ func (m *QueryStorageStatsResponse) GetUsersByPlan() map[int64]int64 { return nil } +type QueryNetworkSize struct { +} + +func (m *QueryNetworkSize) Reset() { *m = QueryNetworkSize{} } +func (m *QueryNetworkSize) String() string { return proto.CompactTextString(m) } +func (*QueryNetworkSize) ProtoMessage() {} +func (*QueryNetworkSize) Descriptor() ([]byte, []int) { + return fileDescriptor_9fe03bff51a37284, []int{55} +} +func (m *QueryNetworkSize) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryNetworkSize) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryNetworkSize.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryNetworkSize) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryNetworkSize.Merge(m, src) +} +func (m *QueryNetworkSize) XXX_Size() int { + return m.Size() +} +func (m *QueryNetworkSize) XXX_DiscardUnknown() { + xxx_messageInfo_QueryNetworkSize.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryNetworkSize proto.InternalMessageInfo + +type QueryNetworkSizeResponse struct { + Size_ uint64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` +} + +func (m *QueryNetworkSizeResponse) Reset() { *m = QueryNetworkSizeResponse{} } +func (m *QueryNetworkSizeResponse) String() string { return proto.CompactTextString(m) } +func (*QueryNetworkSizeResponse) ProtoMessage() {} +func (*QueryNetworkSizeResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_9fe03bff51a37284, []int{56} +} +func (m *QueryNetworkSizeResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryNetworkSizeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryNetworkSizeResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryNetworkSizeResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryNetworkSizeResponse.Merge(m, src) +} +func (m *QueryNetworkSizeResponse) XXX_Size() int { + return m.Size() +} +func (m *QueryNetworkSizeResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryNetworkSizeResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryNetworkSizeResponse proto.InternalMessageInfo + +func (m *QueryNetworkSizeResponse) GetSize_() uint64 { + if m != nil { + return m.Size_ + } + return 0 +} + func init() { proto.RegisterType((*QueryParams)(nil), "canine_chain.storage.QueryParams") proto.RegisterType((*QueryParamsResponse)(nil), "canine_chain.storage.QueryParamsResponse") @@ -2765,160 +2845,165 @@ func init() { proto.RegisterType((*QueryStorageStats)(nil), "canine_chain.storage.QueryStorageStats") proto.RegisterType((*QueryStorageStatsResponse)(nil), "canine_chain.storage.QueryStorageStatsResponse") proto.RegisterMapType((map[int64]int64)(nil), "canine_chain.storage.QueryStorageStatsResponse.UsersByPlanEntry") + proto.RegisterType((*QueryNetworkSize)(nil), "canine_chain.storage.QueryNetworkSize") + proto.RegisterType((*QueryNetworkSizeResponse)(nil), "canine_chain.storage.QueryNetworkSizeResponse") } func init() { proto.RegisterFile("canine_chain/storage/query.proto", fileDescriptor_9fe03bff51a37284) } var fileDescriptor_9fe03bff51a37284 = []byte{ - // 2358 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x5a, 0x5f, 0x6f, 0x5c, 0x47, - 0x15, 0xcf, 0xf8, 0xcf, 0xd6, 0x7b, 0x6c, 0xd7, 0x66, 0xea, 0x06, 0xb3, 0x4a, 0x6d, 0x67, 0xfc, - 0x37, 0x4e, 0xbc, 0xd7, 0x7f, 0x9a, 0x36, 0x38, 0x4d, 0xd4, 0xd8, 0xc1, 0x21, 0xa2, 0xa9, 0x9d, - 0xb5, 0xa2, 0x42, 0x91, 0x58, 0xae, 0x77, 0xc7, 0x9b, 0x8b, 0xd7, 0xf7, 0x6e, 0xee, 0xbd, 0xeb, - 0xb2, 0xb2, 0xfc, 0x42, 0x10, 0xa2, 0x12, 0x0f, 0x95, 0x50, 0x11, 0x54, 0x48, 0x20, 0x88, 0x5a, - 0x0a, 0x3c, 0xc0, 0x0b, 0xa0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b3, 0x03, 0x3b, 0x27, 0xfb, 0x4f, 0x10, - 0x64, 0xa3, 0xaf, 0x40, 0x66, 0xf4, 0xae, 0xe2, 0xa8, 0xdc, 0xa5, 0x34, 0xa8, 0xd3, 0x9e, 0x89, - 0x9c, 0xc0, 0x9f, 0x11, 0x8c, 0xb4, 0x7e, 0x8b, 0xb5, 0x98, 0xe4, 0xa5, 0x08, 0xab, 0x8d, 0x75, - 0x87, 0x6f, 0xa4, 0xc8, 0x75, 0x46, 0xf0, 0x0a, 0x7e, 0xe5, 0xe9, 0x7c, 0x8b, 0x7f, 0x86, 0x60, - 0x40, 0x36, 0xad, 0xa6, 0xf5, 0x04, 0x18, 0x48, 0x9b, 0xdd, 0xad, 0x3d, 0xad, 0x94, 0x5b, 0x51, - 0x16, 0x21, 0xc6, 0xb1, 0x24, 0xf6, 0x73, 0x04, 0x43, 0x4d, 0x6d, 0xac, 0xf9, 0xc4, 0xc0, 0x71, - 0x60, 0xce, 0x48, 0x09, 0x94, 0x24, 0xf3, 0x8c, 0xe4, 0x02, 0x9e, 0x4b, 0x47, 0x12, 0x7f, 0x82, - 0x60, 0x50, 0x6d, 0x2c, 0xcd, 0xe9, 0x14, 0x46, 0xb8, 0x5c, 0x3e, 0x1d, 0x4e, 0xf2, 0xda, 0x65, - 0xbc, 0xee, 0xe0, 0x6f, 0x68, 0x79, 0xa9, 0xad, 0x14, 0x1e, 0x61, 0x96, 0x22, 0x9d, 0x72, 0xe6, - 0x11, 0x3f, 0x90, 0x9a, 0x5a, 0x47, 0x09, 0x07, 0x92, 0x8a, 0x4d, 0x3a, 0x90, 0xe2, 0x3a, 0x46, - 0x64, 0x85, 0x19, 0x72, 0x11, 0x5f, 0x48, 0x6d, 0x08, 0xfe, 0x10, 0x41, 0x46, 0xb4, 0x71, 0x74, - 0x55, 0x0e, 0x87, 0x68, 0xab, 0x9c, 0xe6, 0x0e, 0x0d, 0x79, 0x93, 0x71, 0xf9, 0x3a, 0xde, 0xd2, - 0x72, 0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 0x63, 0xf3, 0x2e, 0x82, 0x8c, - 0xf8, 0x5d, 0x51, 0xc2, 0x8b, 0x82, 0xa3, 0x92, 0x5e, 0x14, 0xcd, 0x3f, 0x24, 0x4a, 0xf9, 0xa2, - 0xe0, 0xbf, 0x19, 0xda, 0x78, 0xe3, 0xd3, 0xc7, 0x13, 0xe8, 0xb3, 0xc7, 0x13, 0xe8, 0xdf, 0x8f, - 0x27, 0xd0, 0x7b, 0x4f, 0x26, 0xce, 0x7c, 0xf6, 0x64, 0xe2, 0xcc, 0x3f, 0x9f, 0x4c, 0x9c, 0x79, - 0x7b, 0x55, 0x69, 0x96, 0x71, 0x41, 0x6f, 0x98, 0x7b, 0x5e, 0xb3, 0xb0, 0xef, 0x4b, 0x71, 0xac, - 0x79, 0xb6, 0x97, 0x61, 0xbf, 0x51, 0x5c, 0xfb, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x66, 0xa2, - 0xd0, 0x9c, 0xd8, 0x29, 0x00, 0x00, + // 2411 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x5a, 0x5f, 0x6f, 0x1c, 0x57, + 0x15, 0xcf, 0x8d, 0xed, 0xad, 0xf7, 0xac, 0x53, 0x9b, 0x5b, 0x37, 0x98, 0x55, 0x6a, 0x3b, 0x37, + 0xfe, 0x17, 0x27, 0xde, 0xf1, 0x9f, 0xa6, 0x0d, 0x4e, 0x13, 0x35, 0x76, 0x70, 0x88, 0x68, 0x62, + 0x67, 0xad, 0xa8, 0x50, 0x24, 0x96, 0xf1, 0xee, 0xf5, 0x66, 0xf0, 0x7a, 0x66, 0x33, 0x33, 0xeb, + 0xb0, 0xb5, 0xfc, 0x42, 0x10, 0xa2, 0x12, 0x42, 0x95, 0x50, 0x51, 0xa9, 0x90, 0x40, 0x10, 0xb5, + 0x14, 0x78, 0x80, 0x17, 0x40, 0xfd, 0x04, 0x7d, 0xa3, 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0x46, 0xdb, 0xd9, 0xa9, 0x40, 0x6d, 0x67, 0x17, 0x37, 0xd7, 0x21, 0xcb, 0x8c, 0xe1, 0x45, + 0x3c, 0x9f, 0x78, 0x0f, 0x98, 0x55, 0x5a, 0xf2, 0x18, 0x9b, 0xf7, 0x11, 0xe4, 0x94, 0xa9, 0x8c, + 0xb6, 0xbb, 0x53, 0x70, 0xda, 0xee, 0x2e, 0x66, 0xca, 0x93, 0xb2, 0x74, 0x6c, 0x2e, 0x59, 0xf2, + 0x02, 0x2a, 0xef, 0x20, 0xc8, 0x88, 0x9f, 0x4d, 0x25, 0xbc, 0xec, 0x70, 0x54, 0xd2, 0xcb, 0x4e, + 0xeb, 0xef, 0xa4, 0x52, 0xbe, 0xec, 0xf0, 0x9f, 0x44, 0xad, 0xbd, 0xf1, 0xe9, 0x93, 0x71, 0xf4, + 0xd9, 0x93, 0x71, 0xf4, 0xef, 0x27, 0xe3, 0xe8, 0xdd, 0xa7, 0xe3, 0x27, 0x3e, 0x7b, 0x3a, 0x7e, + 0xe2, 0x9f, 0x4f, 0xc7, 0x4f, 0xbc, 0xb5, 0xac, 0xcc, 0x02, 0xb9, 0xa2, 0x37, 0xcc, 0x1d, 0xaf, + 0x55, 0xd9, 0xf7, 0xa5, 0x3a, 0x36, 0x1b, 0xdc, 0xc9, 0xb0, 0x9f, 0x60, 0xae, 0xfc, 0x37, 0x00, + 0x00, 0xff, 0xff, 0x69, 0x08, 0x7c, 0x9d, 0xb7, 0x2a, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -2987,6 +3072,8 @@ type QueryClient interface { // Queries protocol storage space used and purchased. StorageStats(ctx context.Context, in *QueryStorageStats, opts ...grpc.CallOption) (*QueryStorageStatsResponse, error) // Queries protocol storage space used and purchased. + NetworkSize(ctx context.Context, in *QueryNetworkSize, opts ...grpc.CallOption) (*QueryNetworkSizeResponse, error) + // Queries protocol storage space used and purchased. Gauges(ctx context.Context, in *QueryAllGauges, opts ...grpc.CallOption) (*QueryAllGaugesResponse, error) } @@ -3241,6 +3328,15 @@ func (c *queryClient) StorageStats(ctx context.Context, in *QueryStorageStats, o return out, nil } +func (c *queryClient) NetworkSize(ctx context.Context, in *QueryNetworkSize, opts ...grpc.CallOption) (*QueryNetworkSizeResponse, error) { + out := new(QueryNetworkSizeResponse) + err := c.cc.Invoke(ctx, "/canine_chain.storage.Query/NetworkSize", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *queryClient) Gauges(ctx context.Context, in *QueryAllGauges, opts ...grpc.CallOption) (*QueryAllGaugesResponse, error) { out := new(QueryAllGaugesResponse) err := c.cc.Invoke(ctx, "/canine_chain.storage.Query/Gauges", in, out, opts...) @@ -3306,6 +3402,8 @@ type QueryServer interface { // Queries protocol storage space used and purchased. StorageStats(context.Context, *QueryStorageStats) (*QueryStorageStatsResponse, error) // Queries protocol storage space used and purchased. + NetworkSize(context.Context, *QueryNetworkSize) (*QueryNetworkSizeResponse, error) + // Queries protocol storage space used and purchased. Gauges(context.Context, *QueryAllGauges) (*QueryAllGaugesResponse, error) } @@ -3394,6 +3492,9 @@ func (*UnimplementedQueryServer) ActiveProviders(ctx context.Context, req *Query func (*UnimplementedQueryServer) StorageStats(ctx context.Context, req *QueryStorageStats) (*QueryStorageStatsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method StorageStats not implemented") } +func (*UnimplementedQueryServer) NetworkSize(ctx context.Context, req *QueryNetworkSize) (*QueryNetworkSizeResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method NetworkSize not implemented") +} func (*UnimplementedQueryServer) Gauges(ctx context.Context, req *QueryAllGauges) (*QueryAllGaugesResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Gauges not implemented") } @@ -3888,6 +3989,24 @@ func _Query_StorageStats_Handler(srv interface{}, ctx context.Context, dec func( return interceptor(ctx, in, info, handler) } +func _Query_NetworkSize_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryNetworkSize) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).NetworkSize(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/canine_chain.storage.Query/NetworkSize", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).NetworkSize(ctx, req.(*QueryNetworkSize)) + } + return interceptor(ctx, in, info, handler) +} + func _Query_Gauges_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(QueryAllGauges) if err := dec(in); err != nil { @@ -4018,6 +4137,10 @@ var _Query_serviceDesc = grpc.ServiceDesc{ MethodName: "StorageStats", Handler: _Query_StorageStats_Handler, }, + { + MethodName: "NetworkSize", + Handler: _Query_NetworkSize_Handler, + }, { MethodName: "Gauges", Handler: _Query_Gauges_Handler, @@ -6110,6 +6233,57 @@ func (m *QueryStorageStatsResponse) MarshalToSizedBuffer(dAtA []byte) (int, erro return len(dAtA) - i, nil } +func (m *QueryNetworkSize) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryNetworkSize) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryNetworkSize) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *QueryNetworkSizeResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryNetworkSizeResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryNetworkSizeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Size_ != 0 { + i = encodeVarintQuery(dAtA, i, uint64(m.Size_)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + func encodeVarintQuery(dAtA []byte, offset int, v uint64) int { offset -= sovQuery(v) base := offset @@ -6964,6 +7138,27 @@ func (m *QueryStorageStatsResponse) Size() (n int) { return n } +func (m *QueryNetworkSize) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *QueryNetworkSizeResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Size_ != 0 { + n += 1 + sovQuery(uint64(m.Size_)) + } + return n +} + func sovQuery(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } @@ -12506,6 +12701,125 @@ func (m *QueryStorageStatsResponse) Unmarshal(dAtA []byte) error { } return nil } +func (m *QueryNetworkSize) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryNetworkSize: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryNetworkSize: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryNetworkSizeResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryNetworkSizeResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryNetworkSizeResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Size_", wireType) + } + m.Size_ = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Size_ |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func skipQuery(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/storage/types/query.pb.gw.go b/x/storage/types/query.pb.gw.go index 2dc68c7a..2022c007 100644 --- a/x/storage/types/query.pb.gw.go +++ b/x/storage/types/query.pb.gw.go @@ -1633,6 +1633,24 @@ func local_request_Query_StorageStats_0(ctx context.Context, marshaler runtime.M } +func request_Query_NetworkSize_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryNetworkSize + var metadata runtime.ServerMetadata + + msg, err := client.NetworkSize(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Query_NetworkSize_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryNetworkSize + var metadata runtime.ServerMetadata + + msg, err := server.NetworkSize(ctx, &protoReq) + return msg, metadata, err + +} + var ( filter_Query_Gauges_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} ) @@ -2296,6 +2314,29 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv }) + mux.Handle("GET", pattern_Query_NetworkSize_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) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Query_NetworkSize_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_NetworkSize_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + mux.Handle("GET", pattern_Query_Gauges_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -2900,6 +2941,26 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie }) + mux.Handle("GET", pattern_Query_NetworkSize_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) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Query_NetworkSize_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_NetworkSize_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + mux.Handle("GET", pattern_Query_Gauges_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -2978,6 +3039,8 @@ var ( pattern_Query_StorageStats_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"jackal", "canine-chain", "storage", "storage_stats"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_NetworkSize_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"jackal", "canine-chain", "storage", "network_size"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_Gauges_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"jackal", "canine-chain", "storage", "gauges"}, "", runtime.AssumeColonVerbOpt(false))) ) @@ -3036,5 +3099,7 @@ var ( forward_Query_StorageStats_0 = runtime.ForwardResponseMessage + forward_Query_NetworkSize_0 = runtime.ForwardResponseMessage + forward_Query_Gauges_0 = runtime.ForwardResponseMessage )