Versions in this module Expand all Collapse all v1 v1.11.10 Jul 13, 2024 Changes in this version + const VM_AppGossip_FullMethodName + const VM_AppRequestFailed_FullMethodName + const VM_AppRequest_FullMethodName + const VM_AppResponse_FullMethodName + const VM_BatchedParseBlock_FullMethodName + const VM_BlockAccept_FullMethodName + const VM_BlockReject_FullMethodName + const VM_BlockVerify_FullMethodName + const VM_BuildBlock_FullMethodName + const VM_Connected_FullMethodName + const VM_CreateHandlers_FullMethodName + const VM_CrossChainAppRequestFailed_FullMethodName + const VM_CrossChainAppRequest_FullMethodName + const VM_CrossChainAppResponse_FullMethodName + const VM_Disconnected_FullMethodName + const VM_Gather_FullMethodName + const VM_GetAncestors_FullMethodName + const VM_GetBlockIDAtHeight_FullMethodName + const VM_GetBlock_FullMethodName + const VM_GetLastStateSummary_FullMethodName + const VM_GetOngoingSyncStateSummary_FullMethodName + const VM_GetStateSummary_FullMethodName + const VM_Health_FullMethodName + const VM_Initialize_FullMethodName + const VM_ParseBlock_FullMethodName + const VM_ParseStateSummary_FullMethodName + const VM_SetPreference_FullMethodName + const VM_SetState_FullMethodName + const VM_Shutdown_FullMethodName + const VM_StateSummaryAccept_FullMethodName + const VM_StateSyncEnabled_FullMethodName + const VM_Version_FullMethodName + var Error_name = map[int32]string + var Error_value = map[string]int32 + var File_vm_vm_proto protoreflect.FileDescriptor + var StateSummaryAcceptResponse_Mode_name = map[int32]string + var StateSummaryAcceptResponse_Mode_value = map[string]int32 + var State_name = map[int32]string + var State_value = map[string]int32 + var Status_name = map[int32]string + var Status_value = map[string]int32 + var VM_ServiceDesc = grpc.ServiceDesc + func RegisterVMServer(s grpc.ServiceRegistrar, srv VMServer) + type AppGossipMsg struct + Msg []byte + NodeId []byte + func (*AppGossipMsg) Descriptor() ([]byte, []int) + func (*AppGossipMsg) ProtoMessage() + func (x *AppGossipMsg) GetMsg() []byte + func (x *AppGossipMsg) GetNodeId() []byte + func (x *AppGossipMsg) ProtoReflect() protoreflect.Message + func (x *AppGossipMsg) Reset() + func (x *AppGossipMsg) String() string + type AppRequestFailedMsg struct + ErrorCode int32 + ErrorMessage string + NodeId []byte + RequestId uint32 + func (*AppRequestFailedMsg) Descriptor() ([]byte, []int) + func (*AppRequestFailedMsg) ProtoMessage() + func (x *AppRequestFailedMsg) GetErrorCode() int32 + func (x *AppRequestFailedMsg) GetErrorMessage() string + func (x *AppRequestFailedMsg) GetNodeId() []byte + func (x *AppRequestFailedMsg) GetRequestId() uint32 + func (x *AppRequestFailedMsg) ProtoReflect() protoreflect.Message + func (x *AppRequestFailedMsg) Reset() + func (x *AppRequestFailedMsg) String() string + type AppRequestMsg struct + Deadline *timestamppb.Timestamp + NodeId []byte + Request []byte + RequestId uint32 + func (*AppRequestMsg) Descriptor() ([]byte, []int) + func (*AppRequestMsg) ProtoMessage() + func (x *AppRequestMsg) GetDeadline() *timestamppb.Timestamp + func (x *AppRequestMsg) GetNodeId() []byte + func (x *AppRequestMsg) GetRequest() []byte + func (x *AppRequestMsg) GetRequestId() uint32 + func (x *AppRequestMsg) ProtoReflect() protoreflect.Message + func (x *AppRequestMsg) Reset() + func (x *AppRequestMsg) String() string + type AppResponseMsg struct + NodeId []byte + RequestId uint32 + Response []byte + func (*AppResponseMsg) Descriptor() ([]byte, []int) + func (*AppResponseMsg) ProtoMessage() + func (x *AppResponseMsg) GetNodeId() []byte + func (x *AppResponseMsg) GetRequestId() uint32 + func (x *AppResponseMsg) GetResponse() []byte + func (x *AppResponseMsg) ProtoReflect() protoreflect.Message + func (x *AppResponseMsg) Reset() + func (x *AppResponseMsg) String() string + type BatchedParseBlockRequest struct + Request [][]byte + func (*BatchedParseBlockRequest) Descriptor() ([]byte, []int) + func (*BatchedParseBlockRequest) ProtoMessage() + func (x *BatchedParseBlockRequest) GetRequest() [][]byte + func (x *BatchedParseBlockRequest) ProtoReflect() protoreflect.Message + func (x *BatchedParseBlockRequest) Reset() + func (x *BatchedParseBlockRequest) String() string + type BatchedParseBlockResponse struct + Response []*ParseBlockResponse + func (*BatchedParseBlockResponse) Descriptor() ([]byte, []int) + func (*BatchedParseBlockResponse) ProtoMessage() + func (x *BatchedParseBlockResponse) GetResponse() []*ParseBlockResponse + func (x *BatchedParseBlockResponse) ProtoReflect() protoreflect.Message + func (x *BatchedParseBlockResponse) Reset() + func (x *BatchedParseBlockResponse) String() string + type BlockAcceptRequest struct + Id []byte + func (*BlockAcceptRequest) Descriptor() ([]byte, []int) + func (*BlockAcceptRequest) ProtoMessage() + func (x *BlockAcceptRequest) GetId() []byte + func (x *BlockAcceptRequest) ProtoReflect() protoreflect.Message + func (x *BlockAcceptRequest) Reset() + func (x *BlockAcceptRequest) String() string + type BlockRejectRequest struct + Id []byte + func (*BlockRejectRequest) Descriptor() ([]byte, []int) + func (*BlockRejectRequest) ProtoMessage() + func (x *BlockRejectRequest) GetId() []byte + func (x *BlockRejectRequest) ProtoReflect() protoreflect.Message + func (x *BlockRejectRequest) Reset() + func (x *BlockRejectRequest) String() string + type BlockVerifyRequest struct + Bytes []byte + PChainHeight *uint64 + func (*BlockVerifyRequest) Descriptor() ([]byte, []int) + func (*BlockVerifyRequest) ProtoMessage() + func (x *BlockVerifyRequest) GetBytes() []byte + func (x *BlockVerifyRequest) GetPChainHeight() uint64 + func (x *BlockVerifyRequest) ProtoReflect() protoreflect.Message + func (x *BlockVerifyRequest) Reset() + func (x *BlockVerifyRequest) String() string + type BlockVerifyResponse struct + Timestamp *timestamppb.Timestamp + func (*BlockVerifyResponse) Descriptor() ([]byte, []int) + func (*BlockVerifyResponse) ProtoMessage() + func (x *BlockVerifyResponse) GetTimestamp() *timestamppb.Timestamp + func (x *BlockVerifyResponse) ProtoReflect() protoreflect.Message + func (x *BlockVerifyResponse) Reset() + func (x *BlockVerifyResponse) String() string + type BuildBlockRequest struct + PChainHeight *uint64 + func (*BuildBlockRequest) Descriptor() ([]byte, []int) + func (*BuildBlockRequest) ProtoMessage() + func (x *BuildBlockRequest) GetPChainHeight() uint64 + func (x *BuildBlockRequest) ProtoReflect() protoreflect.Message + func (x *BuildBlockRequest) Reset() + func (x *BuildBlockRequest) String() string + type BuildBlockResponse struct + Bytes []byte + Height uint64 + Id []byte + ParentId []byte + Timestamp *timestamppb.Timestamp + VerifyWithContext bool + func (*BuildBlockResponse) Descriptor() ([]byte, []int) + func (*BuildBlockResponse) ProtoMessage() + func (x *BuildBlockResponse) GetBytes() []byte + func (x *BuildBlockResponse) GetHeight() uint64 + func (x *BuildBlockResponse) GetId() []byte + func (x *BuildBlockResponse) GetParentId() []byte + func (x *BuildBlockResponse) GetTimestamp() *timestamppb.Timestamp + func (x *BuildBlockResponse) GetVerifyWithContext() bool + func (x *BuildBlockResponse) ProtoReflect() protoreflect.Message + func (x *BuildBlockResponse) Reset() + func (x *BuildBlockResponse) String() string + type ConnectedRequest struct + Major uint32 + Minor uint32 + Name string + NodeId []byte + Patch uint32 + func (*ConnectedRequest) Descriptor() ([]byte, []int) + func (*ConnectedRequest) ProtoMessage() + func (x *ConnectedRequest) GetMajor() uint32 + func (x *ConnectedRequest) GetMinor() uint32 + func (x *ConnectedRequest) GetName() string + func (x *ConnectedRequest) GetNodeId() []byte + func (x *ConnectedRequest) GetPatch() uint32 + func (x *ConnectedRequest) ProtoReflect() protoreflect.Message + func (x *ConnectedRequest) Reset() + func (x *ConnectedRequest) String() string + type CreateHandlersResponse struct + Handlers []*Handler + func (*CreateHandlersResponse) Descriptor() ([]byte, []int) + func (*CreateHandlersResponse) ProtoMessage() + func (x *CreateHandlersResponse) GetHandlers() []*Handler + func (x *CreateHandlersResponse) ProtoReflect() protoreflect.Message + func (x *CreateHandlersResponse) Reset() + func (x *CreateHandlersResponse) String() string + type CrossChainAppRequestFailedMsg struct + ChainId []byte + ErrorCode int32 + ErrorMessage string + RequestId uint32 + func (*CrossChainAppRequestFailedMsg) Descriptor() ([]byte, []int) + func (*CrossChainAppRequestFailedMsg) ProtoMessage() + func (x *CrossChainAppRequestFailedMsg) GetChainId() []byte + func (x *CrossChainAppRequestFailedMsg) GetErrorCode() int32 + func (x *CrossChainAppRequestFailedMsg) GetErrorMessage() string + func (x *CrossChainAppRequestFailedMsg) GetRequestId() uint32 + func (x *CrossChainAppRequestFailedMsg) ProtoReflect() protoreflect.Message + func (x *CrossChainAppRequestFailedMsg) Reset() + func (x *CrossChainAppRequestFailedMsg) String() string + type CrossChainAppRequestMsg struct + ChainId []byte + Deadline *timestamppb.Timestamp + Request []byte + RequestId uint32 + func (*CrossChainAppRequestMsg) Descriptor() ([]byte, []int) + func (*CrossChainAppRequestMsg) ProtoMessage() + func (x *CrossChainAppRequestMsg) GetChainId() []byte + func (x *CrossChainAppRequestMsg) GetDeadline() *timestamppb.Timestamp + func (x *CrossChainAppRequestMsg) GetRequest() []byte + func (x *CrossChainAppRequestMsg) GetRequestId() uint32 + func (x *CrossChainAppRequestMsg) ProtoReflect() protoreflect.Message + func (x *CrossChainAppRequestMsg) Reset() + func (x *CrossChainAppRequestMsg) String() string + type CrossChainAppResponseMsg struct + ChainId []byte + RequestId uint32 + Response []byte + func (*CrossChainAppResponseMsg) Descriptor() ([]byte, []int) + func (*CrossChainAppResponseMsg) ProtoMessage() + func (x *CrossChainAppResponseMsg) GetChainId() []byte + func (x *CrossChainAppResponseMsg) GetRequestId() uint32 + func (x *CrossChainAppResponseMsg) GetResponse() []byte + func (x *CrossChainAppResponseMsg) ProtoReflect() protoreflect.Message + func (x *CrossChainAppResponseMsg) Reset() + func (x *CrossChainAppResponseMsg) String() string + type DisconnectedRequest struct + NodeId []byte + func (*DisconnectedRequest) Descriptor() ([]byte, []int) + func (*DisconnectedRequest) ProtoMessage() + func (x *DisconnectedRequest) GetNodeId() []byte + func (x *DisconnectedRequest) ProtoReflect() protoreflect.Message + func (x *DisconnectedRequest) Reset() + func (x *DisconnectedRequest) String() string + type Error int32 + const Error_ERROR_CLOSED + const Error_ERROR_NOT_FOUND + const Error_ERROR_STATE_SYNC_NOT_IMPLEMENTED + const Error_ERROR_UNSPECIFIED + func (Error) Descriptor() protoreflect.EnumDescriptor + func (Error) EnumDescriptor() ([]byte, []int) + func (Error) Type() protoreflect.EnumType + func (x Error) Enum() *Error + func (x Error) Number() protoreflect.EnumNumber + func (x Error) String() string + type GatherResponse struct + MetricFamilies []*_go.MetricFamily + func (*GatherResponse) Descriptor() ([]byte, []int) + func (*GatherResponse) ProtoMessage() + func (x *GatherResponse) GetMetricFamilies() []*_go.MetricFamily + func (x *GatherResponse) ProtoReflect() protoreflect.Message + func (x *GatherResponse) Reset() + func (x *GatherResponse) String() string + type GetAncestorsRequest struct + BlkId []byte + MaxBlocksNum int32 + MaxBlocksRetrivalTime int64 + MaxBlocksSize int32 + func (*GetAncestorsRequest) Descriptor() ([]byte, []int) + func (*GetAncestorsRequest) ProtoMessage() + func (x *GetAncestorsRequest) GetBlkId() []byte + func (x *GetAncestorsRequest) GetMaxBlocksNum() int32 + func (x *GetAncestorsRequest) GetMaxBlocksRetrivalTime() int64 + func (x *GetAncestorsRequest) GetMaxBlocksSize() int32 + func (x *GetAncestorsRequest) ProtoReflect() protoreflect.Message + func (x *GetAncestorsRequest) Reset() + func (x *GetAncestorsRequest) String() string + type GetAncestorsResponse struct + BlksBytes [][]byte + func (*GetAncestorsResponse) Descriptor() ([]byte, []int) + func (*GetAncestorsResponse) ProtoMessage() + func (x *GetAncestorsResponse) GetBlksBytes() [][]byte + func (x *GetAncestorsResponse) ProtoReflect() protoreflect.Message + func (x *GetAncestorsResponse) Reset() + func (x *GetAncestorsResponse) String() string + type GetBlockIDAtHeightRequest struct + Height uint64 + func (*GetBlockIDAtHeightRequest) Descriptor() ([]byte, []int) + func (*GetBlockIDAtHeightRequest) ProtoMessage() + func (x *GetBlockIDAtHeightRequest) GetHeight() uint64 + func (x *GetBlockIDAtHeightRequest) ProtoReflect() protoreflect.Message + func (x *GetBlockIDAtHeightRequest) Reset() + func (x *GetBlockIDAtHeightRequest) String() string + type GetBlockIDAtHeightResponse struct + BlkId []byte + Err Error + func (*GetBlockIDAtHeightResponse) Descriptor() ([]byte, []int) + func (*GetBlockIDAtHeightResponse) ProtoMessage() + func (x *GetBlockIDAtHeightResponse) GetBlkId() []byte + func (x *GetBlockIDAtHeightResponse) GetErr() Error + func (x *GetBlockIDAtHeightResponse) ProtoReflect() protoreflect.Message + func (x *GetBlockIDAtHeightResponse) Reset() + func (x *GetBlockIDAtHeightResponse) String() string + type GetBlockRequest struct + Id []byte + func (*GetBlockRequest) Descriptor() ([]byte, []int) + func (*GetBlockRequest) ProtoMessage() + func (x *GetBlockRequest) GetId() []byte + func (x *GetBlockRequest) ProtoReflect() protoreflect.Message + func (x *GetBlockRequest) Reset() + func (x *GetBlockRequest) String() string + type GetBlockResponse struct + Bytes []byte + Err Error + Height uint64 + ParentId []byte + Status Status + Timestamp *timestamppb.Timestamp + VerifyWithContext bool + func (*GetBlockResponse) Descriptor() ([]byte, []int) + func (*GetBlockResponse) ProtoMessage() + func (x *GetBlockResponse) GetBytes() []byte + func (x *GetBlockResponse) GetErr() Error + func (x *GetBlockResponse) GetHeight() uint64 + func (x *GetBlockResponse) GetParentId() []byte + func (x *GetBlockResponse) GetStatus() Status + func (x *GetBlockResponse) GetTimestamp() *timestamppb.Timestamp + func (x *GetBlockResponse) GetVerifyWithContext() bool + func (x *GetBlockResponse) ProtoReflect() protoreflect.Message + func (x *GetBlockResponse) Reset() + func (x *GetBlockResponse) String() string + type GetLastStateSummaryResponse struct + Bytes []byte + Err Error + Height uint64 + Id []byte + func (*GetLastStateSummaryResponse) Descriptor() ([]byte, []int) + func (*GetLastStateSummaryResponse) ProtoMessage() + func (x *GetLastStateSummaryResponse) GetBytes() []byte + func (x *GetLastStateSummaryResponse) GetErr() Error + func (x *GetLastStateSummaryResponse) GetHeight() uint64 + func (x *GetLastStateSummaryResponse) GetId() []byte + func (x *GetLastStateSummaryResponse) ProtoReflect() protoreflect.Message + func (x *GetLastStateSummaryResponse) Reset() + func (x *GetLastStateSummaryResponse) String() string + type GetOngoingSyncStateSummaryResponse struct + Bytes []byte + Err Error + Height uint64 + Id []byte + func (*GetOngoingSyncStateSummaryResponse) Descriptor() ([]byte, []int) + func (*GetOngoingSyncStateSummaryResponse) ProtoMessage() + func (x *GetOngoingSyncStateSummaryResponse) GetBytes() []byte + func (x *GetOngoingSyncStateSummaryResponse) GetErr() Error + func (x *GetOngoingSyncStateSummaryResponse) GetHeight() uint64 + func (x *GetOngoingSyncStateSummaryResponse) GetId() []byte + func (x *GetOngoingSyncStateSummaryResponse) ProtoReflect() protoreflect.Message + func (x *GetOngoingSyncStateSummaryResponse) Reset() + func (x *GetOngoingSyncStateSummaryResponse) String() string + type GetStateSummaryRequest struct + Height uint64 + func (*GetStateSummaryRequest) Descriptor() ([]byte, []int) + func (*GetStateSummaryRequest) ProtoMessage() + func (x *GetStateSummaryRequest) GetHeight() uint64 + func (x *GetStateSummaryRequest) ProtoReflect() protoreflect.Message + func (x *GetStateSummaryRequest) Reset() + func (x *GetStateSummaryRequest) String() string + type GetStateSummaryResponse struct + Bytes []byte + Err Error + Id []byte + func (*GetStateSummaryResponse) Descriptor() ([]byte, []int) + func (*GetStateSummaryResponse) ProtoMessage() + func (x *GetStateSummaryResponse) GetBytes() []byte + func (x *GetStateSummaryResponse) GetErr() Error + func (x *GetStateSummaryResponse) GetId() []byte + func (x *GetStateSummaryResponse) ProtoReflect() protoreflect.Message + func (x *GetStateSummaryResponse) Reset() + func (x *GetStateSummaryResponse) String() string + type Handler struct + Prefix string + ServerAddr string + func (*Handler) Descriptor() ([]byte, []int) + func (*Handler) ProtoMessage() + func (x *Handler) GetPrefix() string + func (x *Handler) GetServerAddr() string + func (x *Handler) ProtoReflect() protoreflect.Message + func (x *Handler) Reset() + func (x *Handler) String() string + type HealthResponse struct + Details []byte + func (*HealthResponse) Descriptor() ([]byte, []int) + func (*HealthResponse) ProtoMessage() + func (x *HealthResponse) GetDetails() []byte + func (x *HealthResponse) ProtoReflect() protoreflect.Message + func (x *HealthResponse) Reset() + func (x *HealthResponse) String() string + type InitializeRequest struct + CChainId []byte + ChainDataDir string + ChainId []byte + ConfigBytes []byte + DbServerAddr string + GenesisBytes []byte + LuxAssetId []byte + NetworkId uint32 + NodeId []byte + PublicKey []byte + ServerAddr string + SubnetId []byte + UpgradeBytes []byte + XChainId []byte + func (*InitializeRequest) Descriptor() ([]byte, []int) + func (*InitializeRequest) ProtoMessage() + func (x *InitializeRequest) GetCChainId() []byte + func (x *InitializeRequest) GetChainDataDir() string + func (x *InitializeRequest) GetChainId() []byte + func (x *InitializeRequest) GetConfigBytes() []byte + func (x *InitializeRequest) GetDbServerAddr() string + func (x *InitializeRequest) GetGenesisBytes() []byte + func (x *InitializeRequest) GetLuxAssetId() []byte + func (x *InitializeRequest) GetNetworkId() uint32 + func (x *InitializeRequest) GetNodeId() []byte + func (x *InitializeRequest) GetPublicKey() []byte + func (x *InitializeRequest) GetServerAddr() string + func (x *InitializeRequest) GetSubnetId() []byte + func (x *InitializeRequest) GetUpgradeBytes() []byte + func (x *InitializeRequest) GetXChainId() []byte + func (x *InitializeRequest) ProtoReflect() protoreflect.Message + func (x *InitializeRequest) Reset() + func (x *InitializeRequest) String() string + type InitializeResponse struct + Bytes []byte + Height uint64 + LastAcceptedId []byte + LastAcceptedParentId []byte + Timestamp *timestamppb.Timestamp + func (*InitializeResponse) Descriptor() ([]byte, []int) + func (*InitializeResponse) ProtoMessage() + func (x *InitializeResponse) GetBytes() []byte + func (x *InitializeResponse) GetHeight() uint64 + func (x *InitializeResponse) GetLastAcceptedId() []byte + func (x *InitializeResponse) GetLastAcceptedParentId() []byte + func (x *InitializeResponse) GetTimestamp() *timestamppb.Timestamp + func (x *InitializeResponse) ProtoReflect() protoreflect.Message + func (x *InitializeResponse) Reset() + func (x *InitializeResponse) String() string + type ParseBlockRequest struct + Bytes []byte + func (*ParseBlockRequest) Descriptor() ([]byte, []int) + func (*ParseBlockRequest) ProtoMessage() + func (x *ParseBlockRequest) GetBytes() []byte + func (x *ParseBlockRequest) ProtoReflect() protoreflect.Message + func (x *ParseBlockRequest) Reset() + func (x *ParseBlockRequest) String() string + type ParseBlockResponse struct + Height uint64 + Id []byte + ParentId []byte + Status Status + Timestamp *timestamppb.Timestamp + VerifyWithContext bool + func (*ParseBlockResponse) Descriptor() ([]byte, []int) + func (*ParseBlockResponse) ProtoMessage() + func (x *ParseBlockResponse) GetHeight() uint64 + func (x *ParseBlockResponse) GetId() []byte + func (x *ParseBlockResponse) GetParentId() []byte + func (x *ParseBlockResponse) GetStatus() Status + func (x *ParseBlockResponse) GetTimestamp() *timestamppb.Timestamp + func (x *ParseBlockResponse) GetVerifyWithContext() bool + func (x *ParseBlockResponse) ProtoReflect() protoreflect.Message + func (x *ParseBlockResponse) Reset() + func (x *ParseBlockResponse) String() string + type ParseStateSummaryRequest struct + Bytes []byte + func (*ParseStateSummaryRequest) Descriptor() ([]byte, []int) + func (*ParseStateSummaryRequest) ProtoMessage() + func (x *ParseStateSummaryRequest) GetBytes() []byte + func (x *ParseStateSummaryRequest) ProtoReflect() protoreflect.Message + func (x *ParseStateSummaryRequest) Reset() + func (x *ParseStateSummaryRequest) String() string + type ParseStateSummaryResponse struct + Err Error + Height uint64 + Id []byte + func (*ParseStateSummaryResponse) Descriptor() ([]byte, []int) + func (*ParseStateSummaryResponse) ProtoMessage() + func (x *ParseStateSummaryResponse) GetErr() Error + func (x *ParseStateSummaryResponse) GetHeight() uint64 + func (x *ParseStateSummaryResponse) GetId() []byte + func (x *ParseStateSummaryResponse) ProtoReflect() protoreflect.Message + func (x *ParseStateSummaryResponse) Reset() + func (x *ParseStateSummaryResponse) String() string + type SetPreferenceRequest struct + Id []byte + func (*SetPreferenceRequest) Descriptor() ([]byte, []int) + func (*SetPreferenceRequest) ProtoMessage() + func (x *SetPreferenceRequest) GetId() []byte + func (x *SetPreferenceRequest) ProtoReflect() protoreflect.Message + func (x *SetPreferenceRequest) Reset() + func (x *SetPreferenceRequest) String() string + type SetStateRequest struct + State State + func (*SetStateRequest) Descriptor() ([]byte, []int) + func (*SetStateRequest) ProtoMessage() + func (x *SetStateRequest) GetState() State + func (x *SetStateRequest) ProtoReflect() protoreflect.Message + func (x *SetStateRequest) Reset() + func (x *SetStateRequest) String() string + type SetStateResponse struct + Bytes []byte + Height uint64 + LastAcceptedId []byte + LastAcceptedParentId []byte + Timestamp *timestamppb.Timestamp + func (*SetStateResponse) Descriptor() ([]byte, []int) + func (*SetStateResponse) ProtoMessage() + func (x *SetStateResponse) GetBytes() []byte + func (x *SetStateResponse) GetHeight() uint64 + func (x *SetStateResponse) GetLastAcceptedId() []byte + func (x *SetStateResponse) GetLastAcceptedParentId() []byte + func (x *SetStateResponse) GetTimestamp() *timestamppb.Timestamp + func (x *SetStateResponse) ProtoReflect() protoreflect.Message + func (x *SetStateResponse) Reset() + func (x *SetStateResponse) String() string + type State int32 + const State_STATE_BOOTSTRAPPING + const State_STATE_NORMAL_OP + const State_STATE_STATE_SYNCING + const State_STATE_UNSPECIFIED + func (State) Descriptor() protoreflect.EnumDescriptor + func (State) EnumDescriptor() ([]byte, []int) + func (State) Type() protoreflect.EnumType + func (x State) Enum() *State + func (x State) Number() protoreflect.EnumNumber + func (x State) String() string + type StateSummaryAcceptRequest struct + Bytes []byte + func (*StateSummaryAcceptRequest) Descriptor() ([]byte, []int) + func (*StateSummaryAcceptRequest) ProtoMessage() + func (x *StateSummaryAcceptRequest) GetBytes() []byte + func (x *StateSummaryAcceptRequest) ProtoReflect() protoreflect.Message + func (x *StateSummaryAcceptRequest) Reset() + func (x *StateSummaryAcceptRequest) String() string + type StateSummaryAcceptResponse struct + Err Error + Mode StateSummaryAcceptResponse_Mode + func (*StateSummaryAcceptResponse) Descriptor() ([]byte, []int) + func (*StateSummaryAcceptResponse) ProtoMessage() + func (x *StateSummaryAcceptResponse) GetErr() Error + func (x *StateSummaryAcceptResponse) GetMode() StateSummaryAcceptResponse_Mode + func (x *StateSummaryAcceptResponse) ProtoReflect() protoreflect.Message + func (x *StateSummaryAcceptResponse) Reset() + func (x *StateSummaryAcceptResponse) String() string + type StateSummaryAcceptResponse_Mode int32 + const StateSummaryAcceptResponse_MODE_DYNAMIC + const StateSummaryAcceptResponse_MODE_SKIPPED + const StateSummaryAcceptResponse_MODE_STATIC + const StateSummaryAcceptResponse_MODE_UNSPECIFIED + func (StateSummaryAcceptResponse_Mode) Descriptor() protoreflect.EnumDescriptor + func (StateSummaryAcceptResponse_Mode) EnumDescriptor() ([]byte, []int) + func (StateSummaryAcceptResponse_Mode) Type() protoreflect.EnumType + func (x StateSummaryAcceptResponse_Mode) Enum() *StateSummaryAcceptResponse_Mode + func (x StateSummaryAcceptResponse_Mode) Number() protoreflect.EnumNumber + func (x StateSummaryAcceptResponse_Mode) String() string + type StateSyncEnabledResponse struct + Enabled bool + Err Error + func (*StateSyncEnabledResponse) Descriptor() ([]byte, []int) + func (*StateSyncEnabledResponse) ProtoMessage() + func (x *StateSyncEnabledResponse) GetEnabled() bool + func (x *StateSyncEnabledResponse) GetErr() Error + func (x *StateSyncEnabledResponse) ProtoReflect() protoreflect.Message + func (x *StateSyncEnabledResponse) Reset() + func (x *StateSyncEnabledResponse) String() string + type Status int32 + const Status_STATUS_ACCEPTED + const Status_STATUS_PROCESSING + const Status_STATUS_REJECTED + const Status_STATUS_UNSPECIFIED + func (Status) Descriptor() protoreflect.EnumDescriptor + func (Status) EnumDescriptor() ([]byte, []int) + func (Status) Type() protoreflect.EnumType + func (x Status) Enum() *Status + func (x Status) Number() protoreflect.EnumNumber + func (x Status) String() string + type UnimplementedVMServer struct + func (UnimplementedVMServer) AppGossip(context.Context, *AppGossipMsg) (*emptypb.Empty, error) + func (UnimplementedVMServer) AppRequest(context.Context, *AppRequestMsg) (*emptypb.Empty, error) + func (UnimplementedVMServer) AppRequestFailed(context.Context, *AppRequestFailedMsg) (*emptypb.Empty, error) + func (UnimplementedVMServer) AppResponse(context.Context, *AppResponseMsg) (*emptypb.Empty, error) + func (UnimplementedVMServer) BatchedParseBlock(context.Context, *BatchedParseBlockRequest) (*BatchedParseBlockResponse, error) + func (UnimplementedVMServer) BlockAccept(context.Context, *BlockAcceptRequest) (*emptypb.Empty, error) + func (UnimplementedVMServer) BlockReject(context.Context, *BlockRejectRequest) (*emptypb.Empty, error) + func (UnimplementedVMServer) BlockVerify(context.Context, *BlockVerifyRequest) (*BlockVerifyResponse, error) + func (UnimplementedVMServer) BuildBlock(context.Context, *BuildBlockRequest) (*BuildBlockResponse, error) + func (UnimplementedVMServer) Connected(context.Context, *ConnectedRequest) (*emptypb.Empty, error) + func (UnimplementedVMServer) CreateHandlers(context.Context, *emptypb.Empty) (*CreateHandlersResponse, error) + func (UnimplementedVMServer) CrossChainAppRequest(context.Context, *CrossChainAppRequestMsg) (*emptypb.Empty, error) + func (UnimplementedVMServer) CrossChainAppRequestFailed(context.Context, *CrossChainAppRequestFailedMsg) (*emptypb.Empty, error) + func (UnimplementedVMServer) CrossChainAppResponse(context.Context, *CrossChainAppResponseMsg) (*emptypb.Empty, error) + func (UnimplementedVMServer) Disconnected(context.Context, *DisconnectedRequest) (*emptypb.Empty, error) + func (UnimplementedVMServer) Gather(context.Context, *emptypb.Empty) (*GatherResponse, error) + func (UnimplementedVMServer) GetAncestors(context.Context, *GetAncestorsRequest) (*GetAncestorsResponse, error) + func (UnimplementedVMServer) GetBlock(context.Context, *GetBlockRequest) (*GetBlockResponse, error) + func (UnimplementedVMServer) GetBlockIDAtHeight(context.Context, *GetBlockIDAtHeightRequest) (*GetBlockIDAtHeightResponse, error) + func (UnimplementedVMServer) GetLastStateSummary(context.Context, *emptypb.Empty) (*GetLastStateSummaryResponse, error) + func (UnimplementedVMServer) GetOngoingSyncStateSummary(context.Context, *emptypb.Empty) (*GetOngoingSyncStateSummaryResponse, error) + func (UnimplementedVMServer) GetStateSummary(context.Context, *GetStateSummaryRequest) (*GetStateSummaryResponse, error) + func (UnimplementedVMServer) Health(context.Context, *emptypb.Empty) (*HealthResponse, error) + func (UnimplementedVMServer) Initialize(context.Context, *InitializeRequest) (*InitializeResponse, error) + func (UnimplementedVMServer) ParseBlock(context.Context, *ParseBlockRequest) (*ParseBlockResponse, error) + func (UnimplementedVMServer) ParseStateSummary(context.Context, *ParseStateSummaryRequest) (*ParseStateSummaryResponse, error) + func (UnimplementedVMServer) SetPreference(context.Context, *SetPreferenceRequest) (*emptypb.Empty, error) + func (UnimplementedVMServer) SetState(context.Context, *SetStateRequest) (*SetStateResponse, error) + func (UnimplementedVMServer) Shutdown(context.Context, *emptypb.Empty) (*emptypb.Empty, error) + func (UnimplementedVMServer) StateSummaryAccept(context.Context, *StateSummaryAcceptRequest) (*StateSummaryAcceptResponse, error) + func (UnimplementedVMServer) StateSyncEnabled(context.Context, *emptypb.Empty) (*StateSyncEnabledResponse, error) + func (UnimplementedVMServer) Version(context.Context, *emptypb.Empty) (*VersionResponse, error) + type UnsafeVMServer interface + type VMClient interface + AppGossip func(ctx context.Context, in *AppGossipMsg, opts ...grpc.CallOption) (*emptypb.Empty, error) + AppRequest func(ctx context.Context, in *AppRequestMsg, opts ...grpc.CallOption) (*emptypb.Empty, error) + AppRequestFailed func(ctx context.Context, in *AppRequestFailedMsg, opts ...grpc.CallOption) (*emptypb.Empty, error) + AppResponse func(ctx context.Context, in *AppResponseMsg, opts ...grpc.CallOption) (*emptypb.Empty, error) + BatchedParseBlock func(ctx context.Context, in *BatchedParseBlockRequest, opts ...grpc.CallOption) (*BatchedParseBlockResponse, error) + BlockAccept func(ctx context.Context, in *BlockAcceptRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + BlockReject func(ctx context.Context, in *BlockRejectRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + BlockVerify func(ctx context.Context, in *BlockVerifyRequest, opts ...grpc.CallOption) (*BlockVerifyResponse, error) + BuildBlock func(ctx context.Context, in *BuildBlockRequest, opts ...grpc.CallOption) (*BuildBlockResponse, error) + Connected func(ctx context.Context, in *ConnectedRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + CreateHandlers func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*CreateHandlersResponse, error) + CrossChainAppRequest func(ctx context.Context, in *CrossChainAppRequestMsg, opts ...grpc.CallOption) (*emptypb.Empty, error) + CrossChainAppRequestFailed func(ctx context.Context, in *CrossChainAppRequestFailedMsg, ...) (*emptypb.Empty, error) + CrossChainAppResponse func(ctx context.Context, in *CrossChainAppResponseMsg, opts ...grpc.CallOption) (*emptypb.Empty, error) + Disconnected func(ctx context.Context, in *DisconnectedRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + Gather func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GatherResponse, error) + GetAncestors func(ctx context.Context, in *GetAncestorsRequest, opts ...grpc.CallOption) (*GetAncestorsResponse, error) + GetBlock func(ctx context.Context, in *GetBlockRequest, opts ...grpc.CallOption) (*GetBlockResponse, error) + GetBlockIDAtHeight func(ctx context.Context, in *GetBlockIDAtHeightRequest, opts ...grpc.CallOption) (*GetBlockIDAtHeightResponse, error) + GetLastStateSummary func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetLastStateSummaryResponse, error) + GetOngoingSyncStateSummary func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetOngoingSyncStateSummaryResponse, error) + GetStateSummary func(ctx context.Context, in *GetStateSummaryRequest, opts ...grpc.CallOption) (*GetStateSummaryResponse, error) + Health func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*HealthResponse, error) + Initialize func(ctx context.Context, in *InitializeRequest, opts ...grpc.CallOption) (*InitializeResponse, error) + ParseBlock func(ctx context.Context, in *ParseBlockRequest, opts ...grpc.CallOption) (*ParseBlockResponse, error) + ParseStateSummary func(ctx context.Context, in *ParseStateSummaryRequest, opts ...grpc.CallOption) (*ParseStateSummaryResponse, error) + SetPreference func(ctx context.Context, in *SetPreferenceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + SetState func(ctx context.Context, in *SetStateRequest, opts ...grpc.CallOption) (*SetStateResponse, error) + Shutdown func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) + StateSummaryAccept func(ctx context.Context, in *StateSummaryAcceptRequest, opts ...grpc.CallOption) (*StateSummaryAcceptResponse, error) + StateSyncEnabled func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*StateSyncEnabledResponse, error) + Version func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*VersionResponse, error) + func NewVMClient(cc grpc.ClientConnInterface) VMClient + type VMServer interface + AppGossip func(context.Context, *AppGossipMsg) (*emptypb.Empty, error) + AppRequest func(context.Context, *AppRequestMsg) (*emptypb.Empty, error) + AppRequestFailed func(context.Context, *AppRequestFailedMsg) (*emptypb.Empty, error) + AppResponse func(context.Context, *AppResponseMsg) (*emptypb.Empty, error) + BatchedParseBlock func(context.Context, *BatchedParseBlockRequest) (*BatchedParseBlockResponse, error) + BlockAccept func(context.Context, *BlockAcceptRequest) (*emptypb.Empty, error) + BlockReject func(context.Context, *BlockRejectRequest) (*emptypb.Empty, error) + BlockVerify func(context.Context, *BlockVerifyRequest) (*BlockVerifyResponse, error) + BuildBlock func(context.Context, *BuildBlockRequest) (*BuildBlockResponse, error) + Connected func(context.Context, *ConnectedRequest) (*emptypb.Empty, error) + CreateHandlers func(context.Context, *emptypb.Empty) (*CreateHandlersResponse, error) + CrossChainAppRequest func(context.Context, *CrossChainAppRequestMsg) (*emptypb.Empty, error) + CrossChainAppRequestFailed func(context.Context, *CrossChainAppRequestFailedMsg) (*emptypb.Empty, error) + CrossChainAppResponse func(context.Context, *CrossChainAppResponseMsg) (*emptypb.Empty, error) + Disconnected func(context.Context, *DisconnectedRequest) (*emptypb.Empty, error) + Gather func(context.Context, *emptypb.Empty) (*GatherResponse, error) + GetAncestors func(context.Context, *GetAncestorsRequest) (*GetAncestorsResponse, error) + GetBlock func(context.Context, *GetBlockRequest) (*GetBlockResponse, error) + GetBlockIDAtHeight func(context.Context, *GetBlockIDAtHeightRequest) (*GetBlockIDAtHeightResponse, error) + GetLastStateSummary func(context.Context, *emptypb.Empty) (*GetLastStateSummaryResponse, error) + GetOngoingSyncStateSummary func(context.Context, *emptypb.Empty) (*GetOngoingSyncStateSummaryResponse, error) + GetStateSummary func(context.Context, *GetStateSummaryRequest) (*GetStateSummaryResponse, error) + Health func(context.Context, *emptypb.Empty) (*HealthResponse, error) + Initialize func(context.Context, *InitializeRequest) (*InitializeResponse, error) + ParseBlock func(context.Context, *ParseBlockRequest) (*ParseBlockResponse, error) + ParseStateSummary func(context.Context, *ParseStateSummaryRequest) (*ParseStateSummaryResponse, error) + SetPreference func(context.Context, *SetPreferenceRequest) (*emptypb.Empty, error) + SetState func(context.Context, *SetStateRequest) (*SetStateResponse, error) + Shutdown func(context.Context, *emptypb.Empty) (*emptypb.Empty, error) + StateSummaryAccept func(context.Context, *StateSummaryAcceptRequest) (*StateSummaryAcceptResponse, error) + StateSyncEnabled func(context.Context, *emptypb.Empty) (*StateSyncEnabledResponse, error) + Version func(context.Context, *emptypb.Empty) (*VersionResponse, error) + type VersionResponse struct + Version string + func (*VersionResponse) Descriptor() ([]byte, []int) + func (*VersionResponse) ProtoMessage() + func (x *VersionResponse) GetVersion() string + func (x *VersionResponse) ProtoReflect() protoreflect.Message + func (x *VersionResponse) Reset() + func (x *VersionResponse) String() string