Versions in this module Expand all Collapse all v0 v0.43.1 Aug 21, 2021 Changes in this version + var ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") + func RegisterGRPCGatewayRoutes(clientConn gogogrpc.ClientConn, mux *runtime.ServeMux) + func RegisterServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ServiceClient) error + func RegisterServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ServiceServer) error + func RegisterServiceServer(s grpc1.Server, srv ServiceServer) + func RegisterTendermintService(qrt gogogrpc.Server, clientCtx client.Context, ...) + type GetBlockByHeightRequest struct + Height int64 + func (*GetBlockByHeightRequest) Descriptor() ([]byte, []int) + func (*GetBlockByHeightRequest) ProtoMessage() + func (m *GetBlockByHeightRequest) GetHeight() int64 + func (m *GetBlockByHeightRequest) Marshal() (dAtA []byte, err error) + func (m *GetBlockByHeightRequest) MarshalTo(dAtA []byte) (int, error) + func (m *GetBlockByHeightRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GetBlockByHeightRequest) Reset() + func (m *GetBlockByHeightRequest) Size() (n int) + func (m *GetBlockByHeightRequest) String() string + func (m *GetBlockByHeightRequest) Unmarshal(dAtA []byte) error + func (m *GetBlockByHeightRequest) XXX_DiscardUnknown() + func (m *GetBlockByHeightRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GetBlockByHeightRequest) XXX_Merge(src proto.Message) + func (m *GetBlockByHeightRequest) XXX_Size() int + func (m *GetBlockByHeightRequest) XXX_Unmarshal(b []byte) error + type GetBlockByHeightResponse struct + Block *types1.Block + BlockId *types1.BlockID + func (*GetBlockByHeightResponse) Descriptor() ([]byte, []int) + func (*GetBlockByHeightResponse) ProtoMessage() + func (m *GetBlockByHeightResponse) GetBlock() *types1.Block + func (m *GetBlockByHeightResponse) GetBlockId() *types1.BlockID + func (m *GetBlockByHeightResponse) Marshal() (dAtA []byte, err error) + func (m *GetBlockByHeightResponse) MarshalTo(dAtA []byte) (int, error) + func (m *GetBlockByHeightResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GetBlockByHeightResponse) Reset() + func (m *GetBlockByHeightResponse) Size() (n int) + func (m *GetBlockByHeightResponse) String() string + func (m *GetBlockByHeightResponse) Unmarshal(dAtA []byte) error + func (m *GetBlockByHeightResponse) XXX_DiscardUnknown() + func (m *GetBlockByHeightResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GetBlockByHeightResponse) XXX_Merge(src proto.Message) + func (m *GetBlockByHeightResponse) XXX_Size() int + func (m *GetBlockByHeightResponse) XXX_Unmarshal(b []byte) error + type GetLatestBlockRequest struct + func (*GetLatestBlockRequest) Descriptor() ([]byte, []int) + func (*GetLatestBlockRequest) ProtoMessage() + func (m *GetLatestBlockRequest) Marshal() (dAtA []byte, err error) + func (m *GetLatestBlockRequest) MarshalTo(dAtA []byte) (int, error) + func (m *GetLatestBlockRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GetLatestBlockRequest) Reset() + func (m *GetLatestBlockRequest) Size() (n int) + func (m *GetLatestBlockRequest) String() string + func (m *GetLatestBlockRequest) Unmarshal(dAtA []byte) error + func (m *GetLatestBlockRequest) XXX_DiscardUnknown() + func (m *GetLatestBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GetLatestBlockRequest) XXX_Merge(src proto.Message) + func (m *GetLatestBlockRequest) XXX_Size() int + func (m *GetLatestBlockRequest) XXX_Unmarshal(b []byte) error + type GetLatestBlockResponse struct + Block *types1.Block + BlockId *types1.BlockID + func (*GetLatestBlockResponse) Descriptor() ([]byte, []int) + func (*GetLatestBlockResponse) ProtoMessage() + func (m *GetLatestBlockResponse) GetBlock() *types1.Block + func (m *GetLatestBlockResponse) GetBlockId() *types1.BlockID + func (m *GetLatestBlockResponse) Marshal() (dAtA []byte, err error) + func (m *GetLatestBlockResponse) MarshalTo(dAtA []byte) (int, error) + func (m *GetLatestBlockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GetLatestBlockResponse) Reset() + func (m *GetLatestBlockResponse) Size() (n int) + func (m *GetLatestBlockResponse) String() string + func (m *GetLatestBlockResponse) Unmarshal(dAtA []byte) error + func (m *GetLatestBlockResponse) XXX_DiscardUnknown() + func (m *GetLatestBlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GetLatestBlockResponse) XXX_Merge(src proto.Message) + func (m *GetLatestBlockResponse) XXX_Size() int + func (m *GetLatestBlockResponse) XXX_Unmarshal(b []byte) error + type GetLatestValidatorSetRequest struct + Pagination *query.PageRequest + func (*GetLatestValidatorSetRequest) Descriptor() ([]byte, []int) + func (*GetLatestValidatorSetRequest) ProtoMessage() + func (m *GetLatestValidatorSetRequest) GetPagination() *query.PageRequest + func (m *GetLatestValidatorSetRequest) Marshal() (dAtA []byte, err error) + func (m *GetLatestValidatorSetRequest) MarshalTo(dAtA []byte) (int, error) + func (m *GetLatestValidatorSetRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GetLatestValidatorSetRequest) Reset() + func (m *GetLatestValidatorSetRequest) Size() (n int) + func (m *GetLatestValidatorSetRequest) String() string + func (m *GetLatestValidatorSetRequest) Unmarshal(dAtA []byte) error + func (m *GetLatestValidatorSetRequest) XXX_DiscardUnknown() + func (m *GetLatestValidatorSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GetLatestValidatorSetRequest) XXX_Merge(src proto.Message) + func (m *GetLatestValidatorSetRequest) XXX_Size() int + func (m *GetLatestValidatorSetRequest) XXX_Unmarshal(b []byte) error + type GetLatestValidatorSetResponse struct + BlockHeight int64 + Pagination *query.PageResponse + Validators []*Validator + func (*GetLatestValidatorSetResponse) Descriptor() ([]byte, []int) + func (*GetLatestValidatorSetResponse) ProtoMessage() + func (m *GetLatestValidatorSetResponse) GetBlockHeight() int64 + func (m *GetLatestValidatorSetResponse) GetPagination() *query.PageResponse + func (m *GetLatestValidatorSetResponse) GetValidators() []*Validator + func (m *GetLatestValidatorSetResponse) Marshal() (dAtA []byte, err error) + func (m *GetLatestValidatorSetResponse) MarshalTo(dAtA []byte) (int, error) + func (m *GetLatestValidatorSetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GetLatestValidatorSetResponse) Reset() + func (m *GetLatestValidatorSetResponse) Size() (n int) + func (m *GetLatestValidatorSetResponse) String() string + func (m *GetLatestValidatorSetResponse) Unmarshal(dAtA []byte) error + func (m *GetLatestValidatorSetResponse) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error + func (m *GetLatestValidatorSetResponse) XXX_DiscardUnknown() + func (m *GetLatestValidatorSetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GetLatestValidatorSetResponse) XXX_Merge(src proto.Message) + func (m *GetLatestValidatorSetResponse) XXX_Size() int + func (m *GetLatestValidatorSetResponse) XXX_Unmarshal(b []byte) error + type GetNodeInfoRequest struct + func (*GetNodeInfoRequest) Descriptor() ([]byte, []int) + func (*GetNodeInfoRequest) ProtoMessage() + func (m *GetNodeInfoRequest) Marshal() (dAtA []byte, err error) + func (m *GetNodeInfoRequest) MarshalTo(dAtA []byte) (int, error) + func (m *GetNodeInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GetNodeInfoRequest) Reset() + func (m *GetNodeInfoRequest) Size() (n int) + func (m *GetNodeInfoRequest) String() string + func (m *GetNodeInfoRequest) Unmarshal(dAtA []byte) error + func (m *GetNodeInfoRequest) XXX_DiscardUnknown() + func (m *GetNodeInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GetNodeInfoRequest) XXX_Merge(src proto.Message) + func (m *GetNodeInfoRequest) XXX_Size() int + func (m *GetNodeInfoRequest) XXX_Unmarshal(b []byte) error + type GetNodeInfoResponse struct + ApplicationVersion *VersionInfo + DefaultNodeInfo *p2p.DefaultNodeInfo + func (*GetNodeInfoResponse) Descriptor() ([]byte, []int) + func (*GetNodeInfoResponse) ProtoMessage() + func (m *GetNodeInfoResponse) GetApplicationVersion() *VersionInfo + func (m *GetNodeInfoResponse) GetDefaultNodeInfo() *p2p.DefaultNodeInfo + func (m *GetNodeInfoResponse) Marshal() (dAtA []byte, err error) + func (m *GetNodeInfoResponse) MarshalTo(dAtA []byte) (int, error) + func (m *GetNodeInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GetNodeInfoResponse) Reset() + func (m *GetNodeInfoResponse) Size() (n int) + func (m *GetNodeInfoResponse) String() string + func (m *GetNodeInfoResponse) Unmarshal(dAtA []byte) error + func (m *GetNodeInfoResponse) XXX_DiscardUnknown() + func (m *GetNodeInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GetNodeInfoResponse) XXX_Merge(src proto.Message) + func (m *GetNodeInfoResponse) XXX_Size() int + func (m *GetNodeInfoResponse) XXX_Unmarshal(b []byte) error + type GetSyncingRequest struct + func (*GetSyncingRequest) Descriptor() ([]byte, []int) + func (*GetSyncingRequest) ProtoMessage() + func (m *GetSyncingRequest) Marshal() (dAtA []byte, err error) + func (m *GetSyncingRequest) MarshalTo(dAtA []byte) (int, error) + func (m *GetSyncingRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GetSyncingRequest) Reset() + func (m *GetSyncingRequest) Size() (n int) + func (m *GetSyncingRequest) String() string + func (m *GetSyncingRequest) Unmarshal(dAtA []byte) error + func (m *GetSyncingRequest) XXX_DiscardUnknown() + func (m *GetSyncingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GetSyncingRequest) XXX_Merge(src proto.Message) + func (m *GetSyncingRequest) XXX_Size() int + func (m *GetSyncingRequest) XXX_Unmarshal(b []byte) error + type GetSyncingResponse struct + Syncing bool + func (*GetSyncingResponse) Descriptor() ([]byte, []int) + func (*GetSyncingResponse) ProtoMessage() + func (m *GetSyncingResponse) GetSyncing() bool + func (m *GetSyncingResponse) Marshal() (dAtA []byte, err error) + func (m *GetSyncingResponse) MarshalTo(dAtA []byte) (int, error) + func (m *GetSyncingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GetSyncingResponse) Reset() + func (m *GetSyncingResponse) Size() (n int) + func (m *GetSyncingResponse) String() string + func (m *GetSyncingResponse) Unmarshal(dAtA []byte) error + func (m *GetSyncingResponse) XXX_DiscardUnknown() + func (m *GetSyncingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GetSyncingResponse) XXX_Merge(src proto.Message) + func (m *GetSyncingResponse) XXX_Size() int + func (m *GetSyncingResponse) XXX_Unmarshal(b []byte) error + type GetValidatorSetByHeightRequest struct + Height int64 + Pagination *query.PageRequest + func (*GetValidatorSetByHeightRequest) Descriptor() ([]byte, []int) + func (*GetValidatorSetByHeightRequest) ProtoMessage() + func (m *GetValidatorSetByHeightRequest) GetHeight() int64 + func (m *GetValidatorSetByHeightRequest) GetPagination() *query.PageRequest + func (m *GetValidatorSetByHeightRequest) Marshal() (dAtA []byte, err error) + func (m *GetValidatorSetByHeightRequest) MarshalTo(dAtA []byte) (int, error) + func (m *GetValidatorSetByHeightRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GetValidatorSetByHeightRequest) Reset() + func (m *GetValidatorSetByHeightRequest) Size() (n int) + func (m *GetValidatorSetByHeightRequest) String() string + func (m *GetValidatorSetByHeightRequest) Unmarshal(dAtA []byte) error + func (m *GetValidatorSetByHeightRequest) XXX_DiscardUnknown() + func (m *GetValidatorSetByHeightRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GetValidatorSetByHeightRequest) XXX_Merge(src proto.Message) + func (m *GetValidatorSetByHeightRequest) XXX_Size() int + func (m *GetValidatorSetByHeightRequest) XXX_Unmarshal(b []byte) error + type GetValidatorSetByHeightResponse struct + BlockHeight int64 + Pagination *query.PageResponse + Validators []*Validator + func (*GetValidatorSetByHeightResponse) Descriptor() ([]byte, []int) + func (*GetValidatorSetByHeightResponse) ProtoMessage() + func (m *GetValidatorSetByHeightResponse) GetBlockHeight() int64 + func (m *GetValidatorSetByHeightResponse) GetPagination() *query.PageResponse + func (m *GetValidatorSetByHeightResponse) GetValidators() []*Validator + func (m *GetValidatorSetByHeightResponse) Marshal() (dAtA []byte, err error) + func (m *GetValidatorSetByHeightResponse) MarshalTo(dAtA []byte) (int, error) + func (m *GetValidatorSetByHeightResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GetValidatorSetByHeightResponse) Reset() + func (m *GetValidatorSetByHeightResponse) Size() (n int) + func (m *GetValidatorSetByHeightResponse) String() string + func (m *GetValidatorSetByHeightResponse) Unmarshal(dAtA []byte) error + func (m *GetValidatorSetByHeightResponse) XXX_DiscardUnknown() + func (m *GetValidatorSetByHeightResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GetValidatorSetByHeightResponse) XXX_Merge(src proto.Message) + func (m *GetValidatorSetByHeightResponse) XXX_Size() int + func (m *GetValidatorSetByHeightResponse) XXX_Unmarshal(b []byte) error + type Module struct + Path string + Sum string + Version string + func (*Module) Descriptor() ([]byte, []int) + func (*Module) ProtoMessage() + func (m *Module) GetPath() string + func (m *Module) GetSum() string + func (m *Module) GetVersion() string + func (m *Module) Marshal() (dAtA []byte, err error) + func (m *Module) MarshalTo(dAtA []byte) (int, error) + func (m *Module) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Module) Reset() + func (m *Module) Size() (n int) + func (m *Module) String() string + func (m *Module) Unmarshal(dAtA []byte) error + func (m *Module) XXX_DiscardUnknown() + func (m *Module) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Module) XXX_Merge(src proto.Message) + func (m *Module) XXX_Size() int + func (m *Module) XXX_Unmarshal(b []byte) error + type ServiceClient interface + GetBlockByHeight func(ctx context.Context, in *GetBlockByHeightRequest, opts ...grpc.CallOption) (*GetBlockByHeightResponse, error) + GetLatestBlock func(ctx context.Context, in *GetLatestBlockRequest, opts ...grpc.CallOption) (*GetLatestBlockResponse, error) + GetLatestValidatorSet func(ctx context.Context, in *GetLatestValidatorSetRequest, opts ...grpc.CallOption) (*GetLatestValidatorSetResponse, error) + GetNodeInfo func(ctx context.Context, in *GetNodeInfoRequest, opts ...grpc.CallOption) (*GetNodeInfoResponse, error) + GetSyncing func(ctx context.Context, in *GetSyncingRequest, opts ...grpc.CallOption) (*GetSyncingResponse, error) + GetValidatorSetByHeight func(ctx context.Context, in *GetValidatorSetByHeightRequest, ...) (*GetValidatorSetByHeightResponse, error) + func NewServiceClient(cc grpc1.ClientConn) ServiceClient + type ServiceServer interface + GetBlockByHeight func(context.Context, *GetBlockByHeightRequest) (*GetBlockByHeightResponse, error) + GetLatestBlock func(context.Context, *GetLatestBlockRequest) (*GetLatestBlockResponse, error) + GetLatestValidatorSet func(context.Context, *GetLatestValidatorSetRequest) (*GetLatestValidatorSetResponse, error) + GetNodeInfo func(context.Context, *GetNodeInfoRequest) (*GetNodeInfoResponse, error) + GetSyncing func(context.Context, *GetSyncingRequest) (*GetSyncingResponse, error) + GetValidatorSetByHeight func(context.Context, *GetValidatorSetByHeightRequest) (*GetValidatorSetByHeightResponse, error) + func NewQueryServer(clientCtx client.Context, interfaceRegistry codectypes.InterfaceRegistry) ServiceServer + type UnimplementedServiceServer struct + func (*UnimplementedServiceServer) GetBlockByHeight(ctx context.Context, req *GetBlockByHeightRequest) (*GetBlockByHeightResponse, error) + func (*UnimplementedServiceServer) GetLatestBlock(ctx context.Context, req *GetLatestBlockRequest) (*GetLatestBlockResponse, error) + func (*UnimplementedServiceServer) GetLatestValidatorSet(ctx context.Context, req *GetLatestValidatorSetRequest) (*GetLatestValidatorSetResponse, error) + func (*UnimplementedServiceServer) GetNodeInfo(ctx context.Context, req *GetNodeInfoRequest) (*GetNodeInfoResponse, error) + func (*UnimplementedServiceServer) GetSyncing(ctx context.Context, req *GetSyncingRequest) (*GetSyncingResponse, error) + func (*UnimplementedServiceServer) GetValidatorSetByHeight(ctx context.Context, req *GetValidatorSetByHeightRequest) (*GetValidatorSetByHeightResponse, error) + type Validator struct + Address string + ProposerPriority int64 + PubKey *types.Any + VotingPower int64 + func (*Validator) Descriptor() ([]byte, []int) + func (*Validator) ProtoMessage() + func (m *Validator) GetAddress() string + func (m *Validator) GetProposerPriority() int64 + func (m *Validator) GetPubKey() *types.Any + func (m *Validator) GetVotingPower() int64 + func (m *Validator) Marshal() (dAtA []byte, err error) + func (m *Validator) MarshalTo(dAtA []byte) (int, error) + func (m *Validator) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Validator) Reset() + func (m *Validator) Size() (n int) + func (m *Validator) String() string + func (m *Validator) Unmarshal(dAtA []byte) error + func (m *Validator) XXX_DiscardUnknown() + func (m *Validator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Validator) XXX_Merge(src proto.Message) + func (m *Validator) XXX_Size() int + func (m *Validator) XXX_Unmarshal(b []byte) error + type VersionInfo struct + AppName string + BuildDeps []*Module + BuildTags string + CosmosSdkVersion string + GitCommit string + GoVersion string + Name string + Version string + func (*VersionInfo) Descriptor() ([]byte, []int) + func (*VersionInfo) ProtoMessage() + func (m *VersionInfo) GetAppName() string + func (m *VersionInfo) GetBuildDeps() []*Module + func (m *VersionInfo) GetBuildTags() string + func (m *VersionInfo) GetCosmosSdkVersion() string + func (m *VersionInfo) GetGitCommit() string + func (m *VersionInfo) GetGoVersion() string + func (m *VersionInfo) GetName() string + func (m *VersionInfo) GetVersion() string + func (m *VersionInfo) Marshal() (dAtA []byte, err error) + func (m *VersionInfo) MarshalTo(dAtA []byte) (int, error) + func (m *VersionInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *VersionInfo) Reset() + func (m *VersionInfo) Size() (n int) + func (m *VersionInfo) String() string + func (m *VersionInfo) Unmarshal(dAtA []byte) error + func (m *VersionInfo) XXX_DiscardUnknown() + func (m *VersionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *VersionInfo) XXX_Merge(src proto.Message) + func (m *VersionInfo) XXX_Size() int + func (m *VersionInfo) XXX_Unmarshal(b []byte) error