Versions in this module Expand all Collapse all v1 v1.11.11 Aug 6, 2024 Changes in this version + const ValidatorState_GetCurrentHeight_FullMethodName + const ValidatorState_GetMinimumHeight_FullMethodName + const ValidatorState_GetSubnetID_FullMethodName + const ValidatorState_GetValidatorSet_FullMethodName + var File_validatorstate_validator_state_proto protoreflect.FileDescriptor + var ValidatorState_ServiceDesc = grpc.ServiceDesc + func RegisterValidatorStateServer(s grpc.ServiceRegistrar, srv ValidatorStateServer) + type GetCurrentHeightResponse struct + Height uint64 + func (*GetCurrentHeightResponse) Descriptor() ([]byte, []int) + func (*GetCurrentHeightResponse) ProtoMessage() + func (x *GetCurrentHeightResponse) GetHeight() uint64 + func (x *GetCurrentHeightResponse) ProtoReflect() protoreflect.Message + func (x *GetCurrentHeightResponse) Reset() + func (x *GetCurrentHeightResponse) String() string + type GetMinimumHeightResponse struct + Height uint64 + func (*GetMinimumHeightResponse) Descriptor() ([]byte, []int) + func (*GetMinimumHeightResponse) ProtoMessage() + func (x *GetMinimumHeightResponse) GetHeight() uint64 + func (x *GetMinimumHeightResponse) ProtoReflect() protoreflect.Message + func (x *GetMinimumHeightResponse) Reset() + func (x *GetMinimumHeightResponse) String() string + type GetSubnetIDRequest struct + ChainId []byte + func (*GetSubnetIDRequest) Descriptor() ([]byte, []int) + func (*GetSubnetIDRequest) ProtoMessage() + func (x *GetSubnetIDRequest) GetChainId() []byte + func (x *GetSubnetIDRequest) ProtoReflect() protoreflect.Message + func (x *GetSubnetIDRequest) Reset() + func (x *GetSubnetIDRequest) String() string + type GetSubnetIDResponse struct + SubnetId []byte + func (*GetSubnetIDResponse) Descriptor() ([]byte, []int) + func (*GetSubnetIDResponse) ProtoMessage() + func (x *GetSubnetIDResponse) GetSubnetId() []byte + func (x *GetSubnetIDResponse) ProtoReflect() protoreflect.Message + func (x *GetSubnetIDResponse) Reset() + func (x *GetSubnetIDResponse) String() string + type GetValidatorSetRequest struct + Height uint64 + SubnetId []byte + func (*GetValidatorSetRequest) Descriptor() ([]byte, []int) + func (*GetValidatorSetRequest) ProtoMessage() + func (x *GetValidatorSetRequest) GetHeight() uint64 + func (x *GetValidatorSetRequest) GetSubnetId() []byte + func (x *GetValidatorSetRequest) ProtoReflect() protoreflect.Message + func (x *GetValidatorSetRequest) Reset() + func (x *GetValidatorSetRequest) String() string + type GetValidatorSetResponse struct + Validators []*Validator + func (*GetValidatorSetResponse) Descriptor() ([]byte, []int) + func (*GetValidatorSetResponse) ProtoMessage() + func (x *GetValidatorSetResponse) GetValidators() []*Validator + func (x *GetValidatorSetResponse) ProtoReflect() protoreflect.Message + func (x *GetValidatorSetResponse) Reset() + func (x *GetValidatorSetResponse) String() string + type UnimplementedValidatorStateServer struct + func (UnimplementedValidatorStateServer) GetCurrentHeight(context.Context, *emptypb.Empty) (*GetCurrentHeightResponse, error) + func (UnimplementedValidatorStateServer) GetMinimumHeight(context.Context, *emptypb.Empty) (*GetMinimumHeightResponse, error) + func (UnimplementedValidatorStateServer) GetSubnetID(context.Context, *GetSubnetIDRequest) (*GetSubnetIDResponse, error) + func (UnimplementedValidatorStateServer) GetValidatorSet(context.Context, *GetValidatorSetRequest) (*GetValidatorSetResponse, error) + type UnsafeValidatorStateServer interface + type Validator struct + NodeId []byte + PublicKey []byte + Weight uint64 + func (*Validator) Descriptor() ([]byte, []int) + func (*Validator) ProtoMessage() + func (x *Validator) GetNodeId() []byte + func (x *Validator) GetPublicKey() []byte + func (x *Validator) GetWeight() uint64 + func (x *Validator) ProtoReflect() protoreflect.Message + func (x *Validator) Reset() + func (x *Validator) String() string + type ValidatorStateClient interface + GetCurrentHeight func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetCurrentHeightResponse, error) + GetMinimumHeight func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetMinimumHeightResponse, error) + GetSubnetID func(ctx context.Context, in *GetSubnetIDRequest, opts ...grpc.CallOption) (*GetSubnetIDResponse, error) + GetValidatorSet func(ctx context.Context, in *GetValidatorSetRequest, opts ...grpc.CallOption) (*GetValidatorSetResponse, error) + func NewValidatorStateClient(cc grpc.ClientConnInterface) ValidatorStateClient + type ValidatorStateServer interface + GetCurrentHeight func(context.Context, *emptypb.Empty) (*GetCurrentHeightResponse, error) + GetMinimumHeight func(context.Context, *emptypb.Empty) (*GetMinimumHeightResponse, error) + GetSubnetID func(context.Context, *GetSubnetIDRequest) (*GetSubnetIDResponse, error) + GetValidatorSet func(context.Context, *GetValidatorSetRequest) (*GetValidatorSetResponse, error)