Documentation ¶
Overview ¶
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Index ¶
- Variables
- func RegisterServiceServer(s grpc.ServiceRegistrar, srv ServiceServer)
- type ABCIQueryRequest
- func (*ABCIQueryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ABCIQueryRequest) GetData() []byte
- func (x *ABCIQueryRequest) GetHeight() int64
- func (x *ABCIQueryRequest) GetPath() string
- func (x *ABCIQueryRequest) GetProve() bool
- func (*ABCIQueryRequest) ProtoMessage()
- func (x *ABCIQueryRequest) ProtoReflect() protoreflect.Message
- func (x *ABCIQueryRequest) Reset()
- func (x *ABCIQueryRequest) String() string
- type ABCIQueryResponse
- func (*ABCIQueryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ABCIQueryResponse) GetCode() uint32
- func (x *ABCIQueryResponse) GetCodespace() string
- func (x *ABCIQueryResponse) GetHeight() int64
- func (x *ABCIQueryResponse) GetIndex() int64
- func (x *ABCIQueryResponse) GetInfo() string
- func (x *ABCIQueryResponse) GetKey() []byte
- func (x *ABCIQueryResponse) GetLog() string
- func (x *ABCIQueryResponse) GetProofOps() *ProofOps
- func (x *ABCIQueryResponse) GetValue() []byte
- func (*ABCIQueryResponse) ProtoMessage()
- func (x *ABCIQueryResponse) ProtoReflect() protoreflect.Message
- func (x *ABCIQueryResponse) Reset()
- func (x *ABCIQueryResponse) String() string
- type GetBlockByHeightRequest
- func (*GetBlockByHeightRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlockByHeightRequest) GetHeight() int64
- func (*GetBlockByHeightRequest) ProtoMessage()
- func (x *GetBlockByHeightRequest) ProtoReflect() protoreflect.Message
- func (x *GetBlockByHeightRequest) Reset()
- func (x *GetBlockByHeightRequest) String() string
- type GetBlockByHeightResponse
- func (*GetBlockByHeightResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlockByHeightResponse) GetBlock() *types.Block
- func (x *GetBlockByHeightResponse) GetBlockId() *types.BlockID
- func (*GetBlockByHeightResponse) ProtoMessage()
- func (x *GetBlockByHeightResponse) ProtoReflect() protoreflect.Message
- func (x *GetBlockByHeightResponse) Reset()
- func (x *GetBlockByHeightResponse) String() string
- type GetLatestBlockRequest
- type GetLatestBlockResponse
- func (*GetLatestBlockResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetLatestBlockResponse) GetBlock() *types.Block
- func (x *GetLatestBlockResponse) GetBlockId() *types.BlockID
- func (*GetLatestBlockResponse) ProtoMessage()
- func (x *GetLatestBlockResponse) ProtoReflect() protoreflect.Message
- func (x *GetLatestBlockResponse) Reset()
- func (x *GetLatestBlockResponse) String() string
- type GetLatestValidatorSetRequest
- func (*GetLatestValidatorSetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetLatestValidatorSetRequest) GetPagination() *v1beta1.PageRequest
- func (*GetLatestValidatorSetRequest) ProtoMessage()
- func (x *GetLatestValidatorSetRequest) ProtoReflect() protoreflect.Message
- func (x *GetLatestValidatorSetRequest) Reset()
- func (x *GetLatestValidatorSetRequest) String() string
- type GetLatestValidatorSetResponse
- func (*GetLatestValidatorSetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetLatestValidatorSetResponse) GetBlockHeight() int64
- func (x *GetLatestValidatorSetResponse) GetPagination() *v1beta1.PageResponse
- func (x *GetLatestValidatorSetResponse) GetValidators() []*Validator
- func (*GetLatestValidatorSetResponse) ProtoMessage()
- func (x *GetLatestValidatorSetResponse) ProtoReflect() protoreflect.Message
- func (x *GetLatestValidatorSetResponse) Reset()
- func (x *GetLatestValidatorSetResponse) String() string
- type GetNodeInfoRequest
- type GetNodeInfoResponse
- func (*GetNodeInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetNodeInfoResponse) GetApplicationVersion() *VersionInfo
- func (x *GetNodeInfoResponse) GetNodeInfo() *p2p.NodeInfo
- func (*GetNodeInfoResponse) ProtoMessage()
- func (x *GetNodeInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetNodeInfoResponse) Reset()
- func (x *GetNodeInfoResponse) String() string
- type GetSyncingRequest
- type GetSyncingResponse
- func (*GetSyncingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSyncingResponse) GetSyncing() bool
- func (*GetSyncingResponse) ProtoMessage()
- func (x *GetSyncingResponse) ProtoReflect() protoreflect.Message
- func (x *GetSyncingResponse) Reset()
- func (x *GetSyncingResponse) String() string
- type GetValidatorSetByHeightRequest
- func (*GetValidatorSetByHeightRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetValidatorSetByHeightRequest) GetHeight() int64
- func (x *GetValidatorSetByHeightRequest) GetPagination() *v1beta1.PageRequest
- func (*GetValidatorSetByHeightRequest) ProtoMessage()
- func (x *GetValidatorSetByHeightRequest) ProtoReflect() protoreflect.Message
- func (x *GetValidatorSetByHeightRequest) Reset()
- func (x *GetValidatorSetByHeightRequest) String() string
- type GetValidatorSetByHeightResponse
- func (*GetValidatorSetByHeightResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetValidatorSetByHeightResponse) GetBlockHeight() int64
- func (x *GetValidatorSetByHeightResponse) GetPagination() *v1beta1.PageResponse
- func (x *GetValidatorSetByHeightResponse) GetValidators() []*Validator
- func (*GetValidatorSetByHeightResponse) ProtoMessage()
- func (x *GetValidatorSetByHeightResponse) ProtoReflect() protoreflect.Message
- func (x *GetValidatorSetByHeightResponse) Reset()
- func (x *GetValidatorSetByHeightResponse) String() string
- type Module
- type ProofOp
- func (*ProofOp) Descriptor() ([]byte, []int)deprecated
- func (x *ProofOp) GetData() []byte
- func (x *ProofOp) GetKey() []byte
- func (x *ProofOp) GetType_() string
- func (*ProofOp) ProtoMessage()
- func (x *ProofOp) ProtoReflect() protoreflect.Message
- func (x *ProofOp) Reset()
- func (x *ProofOp) String() string
- type ProofOps
- type ServiceClient
- type ServiceServer
- type UnimplementedServiceServer
- func (UnimplementedServiceServer) ABCIQuery(context.Context, *ABCIQueryRequest) (*ABCIQueryResponse, error)
- func (UnimplementedServiceServer) GetBlockByHeight(context.Context, *GetBlockByHeightRequest) (*GetBlockByHeightResponse, error)
- func (UnimplementedServiceServer) GetLatestBlock(context.Context, *GetLatestBlockRequest) (*GetLatestBlockResponse, error)
- func (UnimplementedServiceServer) GetLatestValidatorSet(context.Context, *GetLatestValidatorSetRequest) (*GetLatestValidatorSetResponse, error)
- func (UnimplementedServiceServer) GetNodeInfo(context.Context, *GetNodeInfoRequest) (*GetNodeInfoResponse, error)
- func (UnimplementedServiceServer) GetSyncing(context.Context, *GetSyncingRequest) (*GetSyncingResponse, error)
- func (UnimplementedServiceServer) GetValidatorSetByHeight(context.Context, *GetValidatorSetByHeightRequest) (*GetValidatorSetByHeightResponse, error)
- type UnsafeServiceServer
- type Validator
- func (*Validator) Descriptor() ([]byte, []int)deprecated
- func (x *Validator) GetAddress() string
- func (x *Validator) GetProposerPriority() int64
- func (x *Validator) GetPubKey() *anypb.Any
- func (x *Validator) GetVotingPower() int64
- func (*Validator) ProtoMessage()
- func (x *Validator) ProtoReflect() protoreflect.Message
- func (x *Validator) Reset()
- func (x *Validator) String() string
- type VersionInfo
- func (*VersionInfo) Descriptor() ([]byte, []int)deprecated
- func (x *VersionInfo) GetAppName() string
- func (x *VersionInfo) GetBuildDeps() []*Module
- func (x *VersionInfo) GetBuildTags() string
- func (x *VersionInfo) GetCosmosSdkVersion() string
- func (x *VersionInfo) GetGitCommit() string
- func (x *VersionInfo) GetGoVersion() string
- func (x *VersionInfo) GetName() string
- func (x *VersionInfo) GetVersion() string
- func (*VersionInfo) ProtoMessage()
- func (x *VersionInfo) ProtoReflect() protoreflect.Message
- func (x *VersionInfo) Reset()
- func (x *VersionInfo) String() string
Constants ¶
This section is empty.
Variables ¶
var File_cosmos_base_tendermint_v1beta1_query_proto protoreflect.FileDescriptor
var Service_ServiceDesc = grpc.ServiceDesc{ ServiceName: "cosmos.base.tendermint.v1beta1.Service", HandlerType: (*ServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetNodeInfo", Handler: _Service_GetNodeInfo_Handler, }, { MethodName: "GetSyncing", Handler: _Service_GetSyncing_Handler, }, { MethodName: "GetLatestBlock", Handler: _Service_GetLatestBlock_Handler, }, { MethodName: "GetBlockByHeight", Handler: _Service_GetBlockByHeight_Handler, }, { MethodName: "GetLatestValidatorSet", Handler: _Service_GetLatestValidatorSet_Handler, }, { MethodName: "GetValidatorSetByHeight", Handler: _Service_GetValidatorSetByHeight_Handler, }, { MethodName: "ABCIQuery", Handler: _Service_ABCIQuery_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "cosmos/base/tendermint/v1beta1/query.proto", }
Service_ServiceDesc is the grpc.ServiceDesc for Service service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterServiceServer ¶
func RegisterServiceServer(s grpc.ServiceRegistrar, srv ServiceServer)
Types ¶
type ABCIQueryRequest ¶
type ABCIQueryRequest struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` Height int64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` Prove bool `protobuf:"varint,4,opt,name=prove,proto3" json:"prove,omitempty"` // contains filtered or unexported fields }
ABCIQueryRequest defines the request structure for the ABCIQuery gRPC query.
func (*ABCIQueryRequest) Descriptor
deprecated
func (*ABCIQueryRequest) Descriptor() ([]byte, []int)
Deprecated: Use ABCIQueryRequest.ProtoReflect.Descriptor instead.
func (*ABCIQueryRequest) GetData ¶
func (x *ABCIQueryRequest) GetData() []byte
func (*ABCIQueryRequest) GetHeight ¶
func (x *ABCIQueryRequest) GetHeight() int64
func (*ABCIQueryRequest) GetPath ¶
func (x *ABCIQueryRequest) GetPath() string
func (*ABCIQueryRequest) GetProve ¶
func (x *ABCIQueryRequest) GetProve() bool
func (*ABCIQueryRequest) ProtoMessage ¶
func (*ABCIQueryRequest) ProtoMessage()
func (*ABCIQueryRequest) ProtoReflect ¶
func (x *ABCIQueryRequest) ProtoReflect() protoreflect.Message
func (*ABCIQueryRequest) Reset ¶
func (x *ABCIQueryRequest) Reset()
func (*ABCIQueryRequest) String ¶
func (x *ABCIQueryRequest) String() string
type ABCIQueryResponse ¶
type ABCIQueryResponse struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Log string `protobuf:"bytes,3,opt,name=log,proto3" json:"log,omitempty"` // nondeterministic Info string `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty"` // nondeterministic Index int64 `protobuf:"varint,5,opt,name=index,proto3" json:"index,omitempty"` Key []byte `protobuf:"bytes,6,opt,name=key,proto3" json:"key,omitempty"` Value []byte `protobuf:"bytes,7,opt,name=value,proto3" json:"value,omitempty"` ProofOps *ProofOps `protobuf:"bytes,8,opt,name=proof_ops,json=proofOps,proto3" json:"proof_ops,omitempty"` Height int64 `protobuf:"varint,9,opt,name=height,proto3" json:"height,omitempty"` Codespace string `protobuf:"bytes,10,opt,name=codespace,proto3" json:"codespace,omitempty"` // contains filtered or unexported fields }
ABCIQueryResponse defines the response structure for the ABCIQuery gRPC query.
Note: This type is a duplicate of the ResponseQuery proto type defined in Tendermint.
func (*ABCIQueryResponse) Descriptor
deprecated
func (*ABCIQueryResponse) Descriptor() ([]byte, []int)
Deprecated: Use ABCIQueryResponse.ProtoReflect.Descriptor instead.
func (*ABCIQueryResponse) GetCode ¶
func (x *ABCIQueryResponse) GetCode() uint32
func (*ABCIQueryResponse) GetCodespace ¶
func (x *ABCIQueryResponse) GetCodespace() string
func (*ABCIQueryResponse) GetHeight ¶
func (x *ABCIQueryResponse) GetHeight() int64
func (*ABCIQueryResponse) GetIndex ¶
func (x *ABCIQueryResponse) GetIndex() int64
func (*ABCIQueryResponse) GetInfo ¶
func (x *ABCIQueryResponse) GetInfo() string
func (*ABCIQueryResponse) GetKey ¶
func (x *ABCIQueryResponse) GetKey() []byte
func (*ABCIQueryResponse) GetLog ¶
func (x *ABCIQueryResponse) GetLog() string
func (*ABCIQueryResponse) GetProofOps ¶
func (x *ABCIQueryResponse) GetProofOps() *ProofOps
func (*ABCIQueryResponse) GetValue ¶
func (x *ABCIQueryResponse) GetValue() []byte
func (*ABCIQueryResponse) ProtoMessage ¶
func (*ABCIQueryResponse) ProtoMessage()
func (*ABCIQueryResponse) ProtoReflect ¶
func (x *ABCIQueryResponse) ProtoReflect() protoreflect.Message
func (*ABCIQueryResponse) Reset ¶
func (x *ABCIQueryResponse) Reset()
func (*ABCIQueryResponse) String ¶
func (x *ABCIQueryResponse) String() string
type GetBlockByHeightRequest ¶
type GetBlockByHeightRequest struct { Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` // contains filtered or unexported fields }
GetBlockByHeightRequest is the request type for the Query/GetBlockByHeight RPC method.
func (*GetBlockByHeightRequest) Descriptor
deprecated
func (*GetBlockByHeightRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBlockByHeightRequest.ProtoReflect.Descriptor instead.
func (*GetBlockByHeightRequest) GetHeight ¶
func (x *GetBlockByHeightRequest) GetHeight() int64
func (*GetBlockByHeightRequest) ProtoMessage ¶
func (*GetBlockByHeightRequest) ProtoMessage()
func (*GetBlockByHeightRequest) ProtoReflect ¶
func (x *GetBlockByHeightRequest) ProtoReflect() protoreflect.Message
func (*GetBlockByHeightRequest) Reset ¶
func (x *GetBlockByHeightRequest) Reset()
func (*GetBlockByHeightRequest) String ¶
func (x *GetBlockByHeightRequest) String() string
type GetBlockByHeightResponse ¶
type GetBlockByHeightResponse struct { BlockId *types.BlockID `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` Block *types.Block `protobuf:"bytes,2,opt,name=block,proto3" json:"block,omitempty"` // contains filtered or unexported fields }
GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method.
func (*GetBlockByHeightResponse) Descriptor
deprecated
func (*GetBlockByHeightResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBlockByHeightResponse.ProtoReflect.Descriptor instead.
func (*GetBlockByHeightResponse) GetBlock ¶
func (x *GetBlockByHeightResponse) GetBlock() *types.Block
func (*GetBlockByHeightResponse) GetBlockId ¶
func (x *GetBlockByHeightResponse) GetBlockId() *types.BlockID
func (*GetBlockByHeightResponse) ProtoMessage ¶
func (*GetBlockByHeightResponse) ProtoMessage()
func (*GetBlockByHeightResponse) ProtoReflect ¶
func (x *GetBlockByHeightResponse) ProtoReflect() protoreflect.Message
func (*GetBlockByHeightResponse) Reset ¶
func (x *GetBlockByHeightResponse) Reset()
func (*GetBlockByHeightResponse) String ¶
func (x *GetBlockByHeightResponse) String() string
type GetLatestBlockRequest ¶
type GetLatestBlockRequest struct {
// contains filtered or unexported fields
}
GetLatestBlockRequest is the request type for the Query/GetLatestBlock RPC method.
func (*GetLatestBlockRequest) Descriptor
deprecated
func (*GetLatestBlockRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLatestBlockRequest.ProtoReflect.Descriptor instead.
func (*GetLatestBlockRequest) ProtoMessage ¶
func (*GetLatestBlockRequest) ProtoMessage()
func (*GetLatestBlockRequest) ProtoReflect ¶
func (x *GetLatestBlockRequest) ProtoReflect() protoreflect.Message
func (*GetLatestBlockRequest) Reset ¶
func (x *GetLatestBlockRequest) Reset()
func (*GetLatestBlockRequest) String ¶
func (x *GetLatestBlockRequest) String() string
type GetLatestBlockResponse ¶
type GetLatestBlockResponse struct { BlockId *types.BlockID `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` Block *types.Block `protobuf:"bytes,2,opt,name=block,proto3" json:"block,omitempty"` // contains filtered or unexported fields }
GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC method.
func (*GetLatestBlockResponse) Descriptor
deprecated
func (*GetLatestBlockResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetLatestBlockResponse.ProtoReflect.Descriptor instead.
func (*GetLatestBlockResponse) GetBlock ¶
func (x *GetLatestBlockResponse) GetBlock() *types.Block
func (*GetLatestBlockResponse) GetBlockId ¶
func (x *GetLatestBlockResponse) GetBlockId() *types.BlockID
func (*GetLatestBlockResponse) ProtoMessage ¶
func (*GetLatestBlockResponse) ProtoMessage()
func (*GetLatestBlockResponse) ProtoReflect ¶
func (x *GetLatestBlockResponse) ProtoReflect() protoreflect.Message
func (*GetLatestBlockResponse) Reset ¶
func (x *GetLatestBlockResponse) Reset()
func (*GetLatestBlockResponse) String ¶
func (x *GetLatestBlockResponse) String() string
type GetLatestValidatorSetRequest ¶
type GetLatestValidatorSetRequest struct { // pagination defines an pagination for the request. Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
GetLatestValidatorSetRequest is the request type for the Query/GetValidatorSetByHeight RPC method.
func (*GetLatestValidatorSetRequest) Descriptor
deprecated
func (*GetLatestValidatorSetRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLatestValidatorSetRequest.ProtoReflect.Descriptor instead.
func (*GetLatestValidatorSetRequest) GetPagination ¶
func (x *GetLatestValidatorSetRequest) GetPagination() *v1beta1.PageRequest
func (*GetLatestValidatorSetRequest) ProtoMessage ¶
func (*GetLatestValidatorSetRequest) ProtoMessage()
func (*GetLatestValidatorSetRequest) ProtoReflect ¶
func (x *GetLatestValidatorSetRequest) ProtoReflect() protoreflect.Message
func (*GetLatestValidatorSetRequest) Reset ¶
func (x *GetLatestValidatorSetRequest) Reset()
func (*GetLatestValidatorSetRequest) String ¶
func (x *GetLatestValidatorSetRequest) String() string
type GetLatestValidatorSetResponse ¶
type GetLatestValidatorSetResponse struct { BlockHeight int64 `protobuf:"varint,1,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` Validators []*Validator `protobuf:"bytes,2,rep,name=validators,proto3" json:"validators,omitempty"` // pagination defines an pagination for the response. Pagination *v1beta1.PageResponse `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
GetLatestValidatorSetResponse is the response type for the Query/GetValidatorSetByHeight RPC method.
func (*GetLatestValidatorSetResponse) Descriptor
deprecated
func (*GetLatestValidatorSetResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetLatestValidatorSetResponse.ProtoReflect.Descriptor instead.
func (*GetLatestValidatorSetResponse) GetBlockHeight ¶
func (x *GetLatestValidatorSetResponse) GetBlockHeight() int64
func (*GetLatestValidatorSetResponse) GetPagination ¶
func (x *GetLatestValidatorSetResponse) GetPagination() *v1beta1.PageResponse
func (*GetLatestValidatorSetResponse) GetValidators ¶
func (x *GetLatestValidatorSetResponse) GetValidators() []*Validator
func (*GetLatestValidatorSetResponse) ProtoMessage ¶
func (*GetLatestValidatorSetResponse) ProtoMessage()
func (*GetLatestValidatorSetResponse) ProtoReflect ¶
func (x *GetLatestValidatorSetResponse) ProtoReflect() protoreflect.Message
func (*GetLatestValidatorSetResponse) Reset ¶
func (x *GetLatestValidatorSetResponse) Reset()
func (*GetLatestValidatorSetResponse) String ¶
func (x *GetLatestValidatorSetResponse) String() string
type GetNodeInfoRequest ¶
type GetNodeInfoRequest struct {
// contains filtered or unexported fields
}
GetNodeInfoRequest is the request type for the Query/GetNodeInfo RPC method.
func (*GetNodeInfoRequest) Descriptor
deprecated
func (*GetNodeInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNodeInfoRequest.ProtoReflect.Descriptor instead.
func (*GetNodeInfoRequest) ProtoMessage ¶
func (*GetNodeInfoRequest) ProtoMessage()
func (*GetNodeInfoRequest) ProtoReflect ¶
func (x *GetNodeInfoRequest) ProtoReflect() protoreflect.Message
func (*GetNodeInfoRequest) Reset ¶
func (x *GetNodeInfoRequest) Reset()
func (*GetNodeInfoRequest) String ¶
func (x *GetNodeInfoRequest) String() string
type GetNodeInfoResponse ¶
type GetNodeInfoResponse struct { NodeInfo *p2p.NodeInfo `protobuf:"bytes,1,opt,name=node_info,json=nodeInfo,proto3" json:"node_info,omitempty"` ApplicationVersion *VersionInfo `protobuf:"bytes,2,opt,name=application_version,json=applicationVersion,proto3" json:"application_version,omitempty"` // contains filtered or unexported fields }
GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC method.
func (*GetNodeInfoResponse) Descriptor
deprecated
func (*GetNodeInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetNodeInfoResponse.ProtoReflect.Descriptor instead.
func (*GetNodeInfoResponse) GetApplicationVersion ¶
func (x *GetNodeInfoResponse) GetApplicationVersion() *VersionInfo
func (*GetNodeInfoResponse) GetNodeInfo ¶
func (x *GetNodeInfoResponse) GetNodeInfo() *p2p.NodeInfo
func (*GetNodeInfoResponse) ProtoMessage ¶
func (*GetNodeInfoResponse) ProtoMessage()
func (*GetNodeInfoResponse) ProtoReflect ¶
func (x *GetNodeInfoResponse) ProtoReflect() protoreflect.Message
func (*GetNodeInfoResponse) Reset ¶
func (x *GetNodeInfoResponse) Reset()
func (*GetNodeInfoResponse) String ¶
func (x *GetNodeInfoResponse) String() string
type GetSyncingRequest ¶
type GetSyncingRequest struct {
// contains filtered or unexported fields
}
GetSyncingRequest is the request type for the Query/GetSyncing RPC method.
func (*GetSyncingRequest) Descriptor
deprecated
func (*GetSyncingRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSyncingRequest.ProtoReflect.Descriptor instead.
func (*GetSyncingRequest) ProtoMessage ¶
func (*GetSyncingRequest) ProtoMessage()
func (*GetSyncingRequest) ProtoReflect ¶
func (x *GetSyncingRequest) ProtoReflect() protoreflect.Message
func (*GetSyncingRequest) Reset ¶
func (x *GetSyncingRequest) Reset()
func (*GetSyncingRequest) String ¶
func (x *GetSyncingRequest) String() string
type GetSyncingResponse ¶
type GetSyncingResponse struct { Syncing bool `protobuf:"varint,1,opt,name=syncing,proto3" json:"syncing,omitempty"` // contains filtered or unexported fields }
GetSyncingResponse is the response type for the Query/GetSyncing RPC method.
func (*GetSyncingResponse) Descriptor
deprecated
func (*GetSyncingResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSyncingResponse.ProtoReflect.Descriptor instead.
func (*GetSyncingResponse) GetSyncing ¶
func (x *GetSyncingResponse) GetSyncing() bool
func (*GetSyncingResponse) ProtoMessage ¶
func (*GetSyncingResponse) ProtoMessage()
func (*GetSyncingResponse) ProtoReflect ¶
func (x *GetSyncingResponse) ProtoReflect() protoreflect.Message
func (*GetSyncingResponse) Reset ¶
func (x *GetSyncingResponse) Reset()
func (*GetSyncingResponse) String ¶
func (x *GetSyncingResponse) String() string
type GetValidatorSetByHeightRequest ¶
type GetValidatorSetByHeightRequest struct { Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` // pagination defines an pagination for the request. Pagination *v1beta1.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
GetValidatorSetByHeightRequest is the request type for the Query/GetValidatorSetByHeight RPC method.
func (*GetValidatorSetByHeightRequest) Descriptor
deprecated
func (*GetValidatorSetByHeightRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetValidatorSetByHeightRequest.ProtoReflect.Descriptor instead.
func (*GetValidatorSetByHeightRequest) GetHeight ¶
func (x *GetValidatorSetByHeightRequest) GetHeight() int64
func (*GetValidatorSetByHeightRequest) GetPagination ¶
func (x *GetValidatorSetByHeightRequest) GetPagination() *v1beta1.PageRequest
func (*GetValidatorSetByHeightRequest) ProtoMessage ¶
func (*GetValidatorSetByHeightRequest) ProtoMessage()
func (*GetValidatorSetByHeightRequest) ProtoReflect ¶
func (x *GetValidatorSetByHeightRequest) ProtoReflect() protoreflect.Message
func (*GetValidatorSetByHeightRequest) Reset ¶
func (x *GetValidatorSetByHeightRequest) Reset()
func (*GetValidatorSetByHeightRequest) String ¶
func (x *GetValidatorSetByHeightRequest) String() string
type GetValidatorSetByHeightResponse ¶
type GetValidatorSetByHeightResponse struct { BlockHeight int64 `protobuf:"varint,1,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` Validators []*Validator `protobuf:"bytes,2,rep,name=validators,proto3" json:"validators,omitempty"` // pagination defines an pagination for the response. Pagination *v1beta1.PageResponse `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
GetValidatorSetByHeightResponse is the response type for the Query/GetValidatorSetByHeight RPC method.
func (*GetValidatorSetByHeightResponse) Descriptor
deprecated
func (*GetValidatorSetByHeightResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetValidatorSetByHeightResponse.ProtoReflect.Descriptor instead.
func (*GetValidatorSetByHeightResponse) GetBlockHeight ¶
func (x *GetValidatorSetByHeightResponse) GetBlockHeight() int64
func (*GetValidatorSetByHeightResponse) GetPagination ¶
func (x *GetValidatorSetByHeightResponse) GetPagination() *v1beta1.PageResponse
func (*GetValidatorSetByHeightResponse) GetValidators ¶
func (x *GetValidatorSetByHeightResponse) GetValidators() []*Validator
func (*GetValidatorSetByHeightResponse) ProtoMessage ¶
func (*GetValidatorSetByHeightResponse) ProtoMessage()
func (*GetValidatorSetByHeightResponse) ProtoReflect ¶
func (x *GetValidatorSetByHeightResponse) ProtoReflect() protoreflect.Message
func (*GetValidatorSetByHeightResponse) Reset ¶
func (x *GetValidatorSetByHeightResponse) Reset()
func (*GetValidatorSetByHeightResponse) String ¶
func (x *GetValidatorSetByHeightResponse) String() string
type Module ¶
type Module struct { // module path Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // module version Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // checksum Sum string `protobuf:"bytes,3,opt,name=sum,proto3" json:"sum,omitempty"` // contains filtered or unexported fields }
Module is the type for VersionInfo
func (*Module) ProtoReflect ¶
func (x *Module) ProtoReflect() protoreflect.Message
type ProofOp ¶
type ProofOp struct { Type_ string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
ProofOp defines an operation used for calculating Merkle root. The data could be arbitrary format, providing nessecary data for example neighbouring node hash.
Note: This type is a duplicate of the ProofOp proto type defined in Tendermint.
func (*ProofOp) ProtoReflect ¶
func (x *ProofOp) ProtoReflect() protoreflect.Message
type ProofOps ¶
type ProofOps struct { Ops []*ProofOp `protobuf:"bytes,1,rep,name=ops,proto3" json:"ops,omitempty"` // contains filtered or unexported fields }
ProofOps is Merkle proof defined by the list of ProofOps.
Note: This type is a duplicate of the ProofOps proto type defined in Tendermint.
func (*ProofOps) ProtoReflect ¶
func (x *ProofOps) ProtoReflect() protoreflect.Message
type ServiceClient ¶
type ServiceClient interface { // GetNodeInfo queries the current node info. GetNodeInfo(ctx context.Context, in *GetNodeInfoRequest, opts ...grpc.CallOption) (*GetNodeInfoResponse, error) // GetSyncing queries node syncing. GetSyncing(ctx context.Context, in *GetSyncingRequest, opts ...grpc.CallOption) (*GetSyncingResponse, error) // GetLatestBlock returns the latest block. GetLatestBlock(ctx context.Context, in *GetLatestBlockRequest, opts ...grpc.CallOption) (*GetLatestBlockResponse, error) // GetBlockByHeight queries block for given height. GetBlockByHeight(ctx context.Context, in *GetBlockByHeightRequest, opts ...grpc.CallOption) (*GetBlockByHeightResponse, error) // GetLatestValidatorSet queries latest validator-set. GetLatestValidatorSet(ctx context.Context, in *GetLatestValidatorSetRequest, opts ...grpc.CallOption) (*GetLatestValidatorSetResponse, error) // GetValidatorSetByHeight queries validator-set at a given height. GetValidatorSetByHeight(ctx context.Context, in *GetValidatorSetByHeightRequest, opts ...grpc.CallOption) (*GetValidatorSetByHeightResponse, error) // ABCIQuery defines a query handler that supports ABCI queries directly to the // application, bypassing Tendermint completely. The ABCI query must contain // a valid and supported path, including app, custom, p2p, and store. // // Since: cosmos-sdk 0.46 ABCIQuery(ctx context.Context, in *ABCIQueryRequest, opts ...grpc.CallOption) (*ABCIQueryResponse, error) }
ServiceClient is the client API for Service 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.
func NewServiceClient ¶
func NewServiceClient(cc grpc.ClientConnInterface) ServiceClient
type ServiceServer ¶
type ServiceServer interface { // GetNodeInfo queries the current node info. GetNodeInfo(context.Context, *GetNodeInfoRequest) (*GetNodeInfoResponse, error) // GetSyncing queries node syncing. GetSyncing(context.Context, *GetSyncingRequest) (*GetSyncingResponse, error) // GetLatestBlock returns the latest block. GetLatestBlock(context.Context, *GetLatestBlockRequest) (*GetLatestBlockResponse, error) // GetBlockByHeight queries block for given height. GetBlockByHeight(context.Context, *GetBlockByHeightRequest) (*GetBlockByHeightResponse, error) // GetLatestValidatorSet queries latest validator-set. GetLatestValidatorSet(context.Context, *GetLatestValidatorSetRequest) (*GetLatestValidatorSetResponse, error) // GetValidatorSetByHeight queries validator-set at a given height. GetValidatorSetByHeight(context.Context, *GetValidatorSetByHeightRequest) (*GetValidatorSetByHeightResponse, error) // ABCIQuery defines a query handler that supports ABCI queries directly to the // application, bypassing Tendermint completely. The ABCI query must contain // a valid and supported path, including app, custom, p2p, and store. // // Since: cosmos-sdk 0.46 ABCIQuery(context.Context, *ABCIQueryRequest) (*ABCIQueryResponse, error) // contains filtered or unexported methods }
ServiceServer is the server API for Service service. All implementations must embed UnimplementedServiceServer for forward compatibility
type UnimplementedServiceServer ¶
type UnimplementedServiceServer struct { }
UnimplementedServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedServiceServer) ABCIQuery ¶
func (UnimplementedServiceServer) ABCIQuery(context.Context, *ABCIQueryRequest) (*ABCIQueryResponse, error)
func (UnimplementedServiceServer) GetBlockByHeight ¶
func (UnimplementedServiceServer) GetBlockByHeight(context.Context, *GetBlockByHeightRequest) (*GetBlockByHeightResponse, error)
func (UnimplementedServiceServer) GetLatestBlock ¶
func (UnimplementedServiceServer) GetLatestBlock(context.Context, *GetLatestBlockRequest) (*GetLatestBlockResponse, error)
func (UnimplementedServiceServer) GetLatestValidatorSet ¶
func (UnimplementedServiceServer) GetLatestValidatorSet(context.Context, *GetLatestValidatorSetRequest) (*GetLatestValidatorSetResponse, error)
func (UnimplementedServiceServer) GetNodeInfo ¶
func (UnimplementedServiceServer) GetNodeInfo(context.Context, *GetNodeInfoRequest) (*GetNodeInfoResponse, error)
func (UnimplementedServiceServer) GetSyncing ¶
func (UnimplementedServiceServer) GetSyncing(context.Context, *GetSyncingRequest) (*GetSyncingResponse, error)
func (UnimplementedServiceServer) GetValidatorSetByHeight ¶
func (UnimplementedServiceServer) GetValidatorSetByHeight(context.Context, *GetValidatorSetByHeightRequest) (*GetValidatorSetByHeightResponse, error)
type UnsafeServiceServer ¶
type UnsafeServiceServer interface {
// contains filtered or unexported methods
}
UnsafeServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ServiceServer will result in compilation errors.
type Validator ¶
type Validator struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` PubKey *anypb.Any `protobuf:"bytes,2,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"` VotingPower int64 `protobuf:"varint,3,opt,name=voting_power,json=votingPower,proto3" json:"voting_power,omitempty"` ProposerPriority int64 `protobuf:"varint,4,opt,name=proposer_priority,json=proposerPriority,proto3" json:"proposer_priority,omitempty"` // contains filtered or unexported fields }
Validator is the type for the validator-set.
func (*Validator) ProtoReflect ¶
func (x *Validator) ProtoReflect() protoreflect.Message
type VersionInfo ¶
type VersionInfo struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` AppName string `protobuf:"bytes,2,opt,name=app_name,json=appName,proto3" json:"app_name,omitempty"` Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` GitCommit string `protobuf:"bytes,4,opt,name=git_commit,json=gitCommit,proto3" json:"git_commit,omitempty"` BuildTags string `protobuf:"bytes,5,opt,name=build_tags,json=buildTags,proto3" json:"build_tags,omitempty"` GoVersion string `protobuf:"bytes,6,opt,name=go_version,json=goVersion,proto3" json:"go_version,omitempty"` BuildDeps []*Module `protobuf:"bytes,7,rep,name=build_deps,json=buildDeps,proto3" json:"build_deps,omitempty"` // Since: cosmos-sdk 0.43 CosmosSdkVersion string `protobuf:"bytes,8,opt,name=cosmos_sdk_version,json=cosmosSdkVersion,proto3" json:"cosmos_sdk_version,omitempty"` // contains filtered or unexported fields }
VersionInfo is the type for the GetNodeInfoResponse message.
func (*VersionInfo) Descriptor
deprecated
func (*VersionInfo) Descriptor() ([]byte, []int)
Deprecated: Use VersionInfo.ProtoReflect.Descriptor instead.
func (*VersionInfo) GetAppName ¶
func (x *VersionInfo) GetAppName() string
func (*VersionInfo) GetBuildDeps ¶
func (x *VersionInfo) GetBuildDeps() []*Module
func (*VersionInfo) GetBuildTags ¶
func (x *VersionInfo) GetBuildTags() string
func (*VersionInfo) GetCosmosSdkVersion ¶
func (x *VersionInfo) GetCosmosSdkVersion() string
func (*VersionInfo) GetGitCommit ¶
func (x *VersionInfo) GetGitCommit() string
func (*VersionInfo) GetGoVersion ¶
func (x *VersionInfo) GetGoVersion() string
func (*VersionInfo) GetName ¶
func (x *VersionInfo) GetName() string
func (*VersionInfo) GetVersion ¶
func (x *VersionInfo) GetVersion() string
func (*VersionInfo) ProtoMessage ¶
func (*VersionInfo) ProtoMessage()
func (*VersionInfo) ProtoReflect ¶
func (x *VersionInfo) ProtoReflect() protoreflect.Message
func (*VersionInfo) Reset ¶
func (x *VersionInfo) Reset()
func (*VersionInfo) String ¶
func (x *VersionInfo) String() string