Documentation
¶
Index ¶
- Variables
- type BatchedParseBlockRequest
- func (*BatchedParseBlockRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BatchedParseBlockRequest) GetRequest() [][]byte
- func (*BatchedParseBlockRequest) ProtoMessage()
- func (x *BatchedParseBlockRequest) ProtoReflect() protoreflect.Message
- func (x *BatchedParseBlockRequest) Reset()
- func (x *BatchedParseBlockRequest) String() string
- type BatchedParseBlockResponse
- func (*BatchedParseBlockResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BatchedParseBlockResponse) GetResponse() []*ParseBlockResponse
- func (*BatchedParseBlockResponse) ProtoMessage()
- func (x *BatchedParseBlockResponse) ProtoReflect() protoreflect.Message
- func (x *BatchedParseBlockResponse) Reset()
- func (x *BatchedParseBlockResponse) String() string
- type BlockAcceptRequest
- type BlockRejectRequest
- type BlockVerifyRequest
- func (*BlockVerifyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BlockVerifyRequest) GetBytes() []byte
- func (x *BlockVerifyRequest) GetPChainHeight() uint64
- func (*BlockVerifyRequest) ProtoMessage()
- func (x *BlockVerifyRequest) ProtoReflect() protoreflect.Message
- func (x *BlockVerifyRequest) Reset()
- func (x *BlockVerifyRequest) String() string
- type BlockVerifyResponse
- func (*BlockVerifyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BlockVerifyResponse) GetTimestamp() *timestamppb.Timestamp
- func (*BlockVerifyResponse) ProtoMessage()
- func (x *BlockVerifyResponse) ProtoReflect() protoreflect.Message
- func (x *BlockVerifyResponse) Reset()
- func (x *BlockVerifyResponse) String() string
- type BuildBlockRequest
- func (*BuildBlockRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BuildBlockRequest) GetPChainHeight() uint64
- func (*BuildBlockRequest) ProtoMessage()
- func (x *BuildBlockRequest) ProtoReflect() protoreflect.Message
- func (x *BuildBlockRequest) Reset()
- func (x *BuildBlockRequest) String() string
- type BuildBlockResponse
- func (*BuildBlockResponse) Descriptor() ([]byte, []int)deprecated
- 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) GetVerifyWithRuntime() bool
- func (*BuildBlockResponse) ProtoMessage()
- func (x *BuildBlockResponse) ProtoReflect() protoreflect.Message
- func (x *BuildBlockResponse) Reset()
- func (x *BuildBlockResponse) String() string
- type ConnectedRequest
- func (*ConnectedRequest) Descriptor() ([]byte, []int)deprecated
- 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 (*ConnectedRequest) ProtoMessage()
- func (x *ConnectedRequest) ProtoReflect() protoreflect.Message
- func (x *ConnectedRequest) Reset()
- func (x *ConnectedRequest) String() string
- type CreateHandlersResponse
- func (*CreateHandlersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateHandlersResponse) GetHandlers() []*Handler
- func (*CreateHandlersResponse) ProtoMessage()
- func (x *CreateHandlersResponse) ProtoReflect() protoreflect.Message
- func (x *CreateHandlersResponse) Reset()
- func (x *CreateHandlersResponse) String() string
- type DisconnectedRequest
- func (*DisconnectedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DisconnectedRequest) GetNodeId() []byte
- func (*DisconnectedRequest) ProtoMessage()
- func (x *DisconnectedRequest) ProtoReflect() protoreflect.Message
- func (x *DisconnectedRequest) Reset()
- func (x *DisconnectedRequest) String() string
- type Error
- type GatherResponse
- func (*GatherResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GatherResponse) GetMetricFamilies() []*client.MetricFamily
- func (*GatherResponse) ProtoMessage()
- func (x *GatherResponse) ProtoReflect() protoreflect.Message
- func (x *GatherResponse) Reset()
- func (x *GatherResponse) String() string
- type GetAncestorsRequest
- func (*GetAncestorsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAncestorsRequest) GetBlkId() []byte
- func (x *GetAncestorsRequest) GetMaxBlocksNum() int32
- func (x *GetAncestorsRequest) GetMaxBlocksRetrivalTime() int64
- func (x *GetAncestorsRequest) GetMaxBlocksSize() int32
- func (*GetAncestorsRequest) ProtoMessage()
- func (x *GetAncestorsRequest) ProtoReflect() protoreflect.Message
- func (x *GetAncestorsRequest) Reset()
- func (x *GetAncestorsRequest) String() string
- type GetAncestorsResponse
- func (*GetAncestorsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAncestorsResponse) GetBlksBytes() [][]byte
- func (*GetAncestorsResponse) ProtoMessage()
- func (x *GetAncestorsResponse) ProtoReflect() protoreflect.Message
- func (x *GetAncestorsResponse) Reset()
- func (x *GetAncestorsResponse) String() string
- type GetBlockIDAtHeightRequest
- func (*GetBlockIDAtHeightRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlockIDAtHeightRequest) GetHeight() uint64
- func (*GetBlockIDAtHeightRequest) ProtoMessage()
- func (x *GetBlockIDAtHeightRequest) ProtoReflect() protoreflect.Message
- func (x *GetBlockIDAtHeightRequest) Reset()
- func (x *GetBlockIDAtHeightRequest) String() string
- type GetBlockIDAtHeightResponse
- func (*GetBlockIDAtHeightResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlockIDAtHeightResponse) GetBlkId() []byte
- func (x *GetBlockIDAtHeightResponse) GetErr() Error
- func (*GetBlockIDAtHeightResponse) ProtoMessage()
- func (x *GetBlockIDAtHeightResponse) ProtoReflect() protoreflect.Message
- func (x *GetBlockIDAtHeightResponse) Reset()
- func (x *GetBlockIDAtHeightResponse) String() string
- type GetBlockRequest
- type GetBlockResponse
- func (*GetBlockResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlockResponse) GetBytes() []byte
- func (x *GetBlockResponse) GetErr() Error
- func (x *GetBlockResponse) GetHeight() uint64
- func (x *GetBlockResponse) GetParentId() []byte
- func (x *GetBlockResponse) GetTimestamp() *timestamppb.Timestamp
- func (x *GetBlockResponse) GetVerifyWithRuntime() bool
- func (*GetBlockResponse) ProtoMessage()
- func (x *GetBlockResponse) ProtoReflect() protoreflect.Message
- func (x *GetBlockResponse) Reset()
- func (x *GetBlockResponse) String() string
- type GetLastStateSummaryResponse
- func (*GetLastStateSummaryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetLastStateSummaryResponse) GetBytes() []byte
- func (x *GetLastStateSummaryResponse) GetErr() Error
- func (x *GetLastStateSummaryResponse) GetHeight() uint64
- func (x *GetLastStateSummaryResponse) GetId() []byte
- func (*GetLastStateSummaryResponse) ProtoMessage()
- func (x *GetLastStateSummaryResponse) ProtoReflect() protoreflect.Message
- func (x *GetLastStateSummaryResponse) Reset()
- func (x *GetLastStateSummaryResponse) String() string
- type GetOngoingSyncStateSummaryResponse
- func (*GetOngoingSyncStateSummaryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetOngoingSyncStateSummaryResponse) GetBytes() []byte
- func (x *GetOngoingSyncStateSummaryResponse) GetErr() Error
- func (x *GetOngoingSyncStateSummaryResponse) GetHeight() uint64
- func (x *GetOngoingSyncStateSummaryResponse) GetId() []byte
- func (*GetOngoingSyncStateSummaryResponse) ProtoMessage()
- func (x *GetOngoingSyncStateSummaryResponse) ProtoReflect() protoreflect.Message
- func (x *GetOngoingSyncStateSummaryResponse) Reset()
- func (x *GetOngoingSyncStateSummaryResponse) String() string
- type GetStateSummaryRequest
- func (*GetStateSummaryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetStateSummaryRequest) GetHeight() uint64
- func (*GetStateSummaryRequest) ProtoMessage()
- func (x *GetStateSummaryRequest) ProtoReflect() protoreflect.Message
- func (x *GetStateSummaryRequest) Reset()
- func (x *GetStateSummaryRequest) String() string
- type GetStateSummaryResponse
- func (*GetStateSummaryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetStateSummaryResponse) GetBytes() []byte
- func (x *GetStateSummaryResponse) GetErr() Error
- func (x *GetStateSummaryResponse) GetId() []byte
- func (*GetStateSummaryResponse) ProtoMessage()
- func (x *GetStateSummaryResponse) ProtoReflect() protoreflect.Message
- func (x *GetStateSummaryResponse) Reset()
- func (x *GetStateSummaryResponse) String() string
- type GossipMsg
- type Handler
- type HealthResponse
- type InitializeRequest
- func (*InitializeRequest) Descriptor() ([]byte, []int)deprecated
- 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) GetNetworkUpgrades() *NetworkUpgrades
- func (x *InitializeRequest) GetNodeId() []byte
- func (x *InitializeRequest) GetPublicKey() []byte
- func (x *InitializeRequest) GetServerAddr() string
- func (x *InitializeRequest) GetUpgradeBytes() []byte
- func (x *InitializeRequest) GetXChainId() []byte
- func (*InitializeRequest) ProtoMessage()
- func (x *InitializeRequest) ProtoReflect() protoreflect.Message
- func (x *InitializeRequest) Reset()
- func (x *InitializeRequest) String() string
- type InitializeResponse
- func (*InitializeResponse) Descriptor() ([]byte, []int)deprecated
- 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 (*InitializeResponse) ProtoMessage()
- func (x *InitializeResponse) ProtoReflect() protoreflect.Message
- func (x *InitializeResponse) Reset()
- func (x *InitializeResponse) String() string
- type Message
- type NetworkUpgrades
- func (*NetworkUpgrades) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkUpgrades) GetApricotPhasePost_6Time() *timestamppb.Timestamp
- func (x *NetworkUpgrades) GetApricotPhasePre_6Time() *timestamppb.Timestamp
- func (x *NetworkUpgrades) GetApricotPhase_1Time() *timestamppb.Timestamp
- func (x *NetworkUpgrades) GetApricotPhase_2Time() *timestamppb.Timestamp
- func (x *NetworkUpgrades) GetApricotPhase_3Time() *timestamppb.Timestamp
- func (x *NetworkUpgrades) GetApricotPhase_4MinPChainHeight() uint64
- func (x *NetworkUpgrades) GetApricotPhase_4Time() *timestamppb.Timestamp
- func (x *NetworkUpgrades) GetApricotPhase_5Time() *timestamppb.Timestamp
- func (x *NetworkUpgrades) GetApricotPhase_6Time() *timestamppb.Timestamp
- func (x *NetworkUpgrades) GetBanffTime() *timestamppb.Timestamp
- func (x *NetworkUpgrades) GetCortinaTime() *timestamppb.Timestamp
- func (x *NetworkUpgrades) GetCortinaXChainStopVertexId() []byte
- func (x *NetworkUpgrades) GetDurangoTime() *timestamppb.Timestamp
- func (x *NetworkUpgrades) GetEtnaTime() *timestamppb.Timestamp
- func (x *NetworkUpgrades) GetFortunaTime() *timestamppb.Timestamp
- func (x *NetworkUpgrades) GetGraniteTime() *timestamppb.Timestamp
- func (*NetworkUpgrades) ProtoMessage()
- func (x *NetworkUpgrades) ProtoReflect() protoreflect.Message
- func (x *NetworkUpgrades) Reset()
- func (x *NetworkUpgrades) String() string
- type NewHTTPHandlerResponse
- func (*NewHTTPHandlerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NewHTTPHandlerResponse) GetServerAddr() string
- func (*NewHTTPHandlerResponse) ProtoMessage()
- func (x *NewHTTPHandlerResponse) ProtoReflect() protoreflect.Message
- func (x *NewHTTPHandlerResponse) Reset()
- func (x *NewHTTPHandlerResponse) String() string
- type ParseBlockRequest
- type ParseBlockResponse
- func (*ParseBlockResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ParseBlockResponse) GetHeight() uint64
- func (x *ParseBlockResponse) GetId() []byte
- func (x *ParseBlockResponse) GetParentId() []byte
- func (x *ParseBlockResponse) GetTimestamp() *timestamppb.Timestamp
- func (x *ParseBlockResponse) GetVerifyWithRuntime() bool
- func (*ParseBlockResponse) ProtoMessage()
- func (x *ParseBlockResponse) ProtoReflect() protoreflect.Message
- func (x *ParseBlockResponse) Reset()
- func (x *ParseBlockResponse) String() string
- type ParseStateSummaryRequest
- func (*ParseStateSummaryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ParseStateSummaryRequest) GetBytes() []byte
- func (*ParseStateSummaryRequest) ProtoMessage()
- func (x *ParseStateSummaryRequest) ProtoReflect() protoreflect.Message
- func (x *ParseStateSummaryRequest) Reset()
- func (x *ParseStateSummaryRequest) String() string
- type ParseStateSummaryResponse
- func (*ParseStateSummaryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ParseStateSummaryResponse) GetErr() Error
- func (x *ParseStateSummaryResponse) GetHeight() uint64
- func (x *ParseStateSummaryResponse) GetId() []byte
- func (*ParseStateSummaryResponse) ProtoMessage()
- func (x *ParseStateSummaryResponse) ProtoReflect() protoreflect.Message
- func (x *ParseStateSummaryResponse) Reset()
- func (x *ParseStateSummaryResponse) String() string
- type RequestFailedMsg
- func (*RequestFailedMsg) Descriptor() ([]byte, []int)deprecated
- func (x *RequestFailedMsg) GetErrorCode() int32
- func (x *RequestFailedMsg) GetErrorMessage() string
- func (x *RequestFailedMsg) GetNodeId() []byte
- func (x *RequestFailedMsg) GetRequestId() uint32
- func (*RequestFailedMsg) ProtoMessage()
- func (x *RequestFailedMsg) ProtoReflect() protoreflect.Message
- func (x *RequestFailedMsg) Reset()
- func (x *RequestFailedMsg) String() string
- type RequestMsg
- func (*RequestMsg) Descriptor() ([]byte, []int)deprecated
- func (x *RequestMsg) GetDeadline() *timestamppb.Timestamp
- func (x *RequestMsg) GetNodeId() []byte
- func (x *RequestMsg) GetRequest() []byte
- func (x *RequestMsg) GetRequestId() uint32
- func (*RequestMsg) ProtoMessage()
- func (x *RequestMsg) ProtoReflect() protoreflect.Message
- func (x *RequestMsg) Reset()
- func (x *RequestMsg) String() string
- type ResponseMsg
- func (*ResponseMsg) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseMsg) GetNodeId() []byte
- func (x *ResponseMsg) GetRequestId() uint32
- func (x *ResponseMsg) GetResponse() []byte
- func (*ResponseMsg) ProtoMessage()
- func (x *ResponseMsg) ProtoReflect() protoreflect.Message
- func (x *ResponseMsg) Reset()
- func (x *ResponseMsg) String() string
- type SetPreferenceRequest
- func (*SetPreferenceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetPreferenceRequest) GetId() []byte
- func (*SetPreferenceRequest) ProtoMessage()
- func (x *SetPreferenceRequest) ProtoReflect() protoreflect.Message
- func (x *SetPreferenceRequest) Reset()
- func (x *SetPreferenceRequest) String() string
- type SetStateRequest
- type SetStateResponse
- func (*SetStateResponse) Descriptor() ([]byte, []int)deprecated
- 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 (*SetStateResponse) ProtoMessage()
- func (x *SetStateResponse) ProtoReflect() protoreflect.Message
- func (x *SetStateResponse) Reset()
- func (x *SetStateResponse) String() string
- type State
- type StateSummaryAcceptRequest
- func (*StateSummaryAcceptRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StateSummaryAcceptRequest) GetBytes() []byte
- func (*StateSummaryAcceptRequest) ProtoMessage()
- func (x *StateSummaryAcceptRequest) ProtoReflect() protoreflect.Message
- func (x *StateSummaryAcceptRequest) Reset()
- func (x *StateSummaryAcceptRequest) String() string
- type StateSummaryAcceptResponse
- func (*StateSummaryAcceptResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StateSummaryAcceptResponse) GetErr() Error
- func (x *StateSummaryAcceptResponse) GetMode() StateSummaryAcceptResponse_Mode
- func (*StateSummaryAcceptResponse) ProtoMessage()
- func (x *StateSummaryAcceptResponse) ProtoReflect() protoreflect.Message
- func (x *StateSummaryAcceptResponse) Reset()
- func (x *StateSummaryAcceptResponse) String() string
- type StateSummaryAcceptResponse_Mode
- func (StateSummaryAcceptResponse_Mode) Descriptor() protoreflect.EnumDescriptor
- func (x StateSummaryAcceptResponse_Mode) Enum() *StateSummaryAcceptResponse_Mode
- func (StateSummaryAcceptResponse_Mode) EnumDescriptor() ([]byte, []int)deprecated
- func (x StateSummaryAcceptResponse_Mode) Number() protoreflect.EnumNumber
- func (x StateSummaryAcceptResponse_Mode) String() string
- func (StateSummaryAcceptResponse_Mode) Type() protoreflect.EnumType
- type StateSyncEnabledResponse
- func (*StateSyncEnabledResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StateSyncEnabledResponse) GetEnabled() bool
- func (x *StateSyncEnabledResponse) GetErr() Error
- func (*StateSyncEnabledResponse) ProtoMessage()
- func (x *StateSyncEnabledResponse) ProtoReflect() protoreflect.Message
- func (x *StateSyncEnabledResponse) Reset()
- func (x *StateSyncEnabledResponse) String() string
- type VersionResponse
- type WaitForEventResponse
- func (*WaitForEventResponse) Descriptor() ([]byte, []int)deprecated
- func (x *WaitForEventResponse) GetMessage() Message
- func (*WaitForEventResponse) ProtoMessage()
- func (x *WaitForEventResponse) ProtoReflect() protoreflect.Message
- func (x *WaitForEventResponse) Reset()
- func (x *WaitForEventResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var ( State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "STATE_STATE_SYNCING", 2: "STATE_BOOTSTRAPPING", 3: "STATE_NORMAL_OP", } State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "STATE_STATE_SYNCING": 1, "STATE_BOOTSTRAPPING": 2, "STATE_NORMAL_OP": 3, } )
Enum value maps for State.
var ( Error_name = map[int32]string{ 0: "ERROR_UNSPECIFIED", 1: "ERROR_CLOSED", 2: "ERROR_NOT_FOUND", 3: "ERROR_STATE_SYNC_NOT_IMPLEMENTED", } Error_value = map[string]int32{ "ERROR_UNSPECIFIED": 0, "ERROR_CLOSED": 1, "ERROR_NOT_FOUND": 2, "ERROR_STATE_SYNC_NOT_IMPLEMENTED": 3, } )
Enum value maps for Error.
var ( Message_name = map[int32]string{ 0: "MESSAGE_UNSPECIFIED", 1: "MESSAGE_BUILD_BLOCK", 2: "MESSAGE_STATE_SYNC_FINISHED", } Message_value = map[string]int32{ "MESSAGE_UNSPECIFIED": 0, "MESSAGE_BUILD_BLOCK": 1, "MESSAGE_STATE_SYNC_FINISHED": 2, } )
Enum value maps for Message.
var ( StateSummaryAcceptResponse_Mode_name = map[int32]string{ 0: "MODE_UNSPECIFIED", 1: "MODE_SKIPPED", 2: "MODE_STATIC", 3: "MODE_DYNAMIC", } StateSummaryAcceptResponse_Mode_value = map[string]int32{ "MODE_UNSPECIFIED": 0, "MODE_SKIPPED": 1, "MODE_STATIC": 2, "MODE_DYNAMIC": 3, } )
Enum value maps for StateSummaryAcceptResponse_Mode.
var File_vm_vm_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BatchedParseBlockRequest ¶
type BatchedParseBlockRequest struct {
Request [][]byte `protobuf:"bytes,1,rep,name=request,proto3" json:"request,omitempty"`
// contains filtered or unexported fields
}
func (*BatchedParseBlockRequest) Descriptor
deprecated
func (*BatchedParseBlockRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchedParseBlockRequest.ProtoReflect.Descriptor instead.
func (*BatchedParseBlockRequest) GetRequest ¶
func (x *BatchedParseBlockRequest) GetRequest() [][]byte
func (*BatchedParseBlockRequest) ProtoMessage ¶
func (*BatchedParseBlockRequest) ProtoMessage()
func (*BatchedParseBlockRequest) ProtoReflect ¶
func (x *BatchedParseBlockRequest) ProtoReflect() protoreflect.Message
func (*BatchedParseBlockRequest) Reset ¶
func (x *BatchedParseBlockRequest) Reset()
func (*BatchedParseBlockRequest) String ¶
func (x *BatchedParseBlockRequest) String() string
type BatchedParseBlockResponse ¶
type BatchedParseBlockResponse struct {
Response []*ParseBlockResponse `protobuf:"bytes,1,rep,name=response,proto3" json:"response,omitempty"`
// contains filtered or unexported fields
}
func (*BatchedParseBlockResponse) Descriptor
deprecated
func (*BatchedParseBlockResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchedParseBlockResponse.ProtoReflect.Descriptor instead.
func (*BatchedParseBlockResponse) GetResponse ¶
func (x *BatchedParseBlockResponse) GetResponse() []*ParseBlockResponse
func (*BatchedParseBlockResponse) ProtoMessage ¶
func (*BatchedParseBlockResponse) ProtoMessage()
func (*BatchedParseBlockResponse) ProtoReflect ¶
func (x *BatchedParseBlockResponse) ProtoReflect() protoreflect.Message
func (*BatchedParseBlockResponse) Reset ¶
func (x *BatchedParseBlockResponse) Reset()
func (*BatchedParseBlockResponse) String ¶
func (x *BatchedParseBlockResponse) String() string
type BlockAcceptRequest ¶
type BlockAcceptRequest struct {
Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*BlockAcceptRequest) Descriptor
deprecated
func (*BlockAcceptRequest) Descriptor() ([]byte, []int)
Deprecated: Use BlockAcceptRequest.ProtoReflect.Descriptor instead.
func (*BlockAcceptRequest) GetId ¶
func (x *BlockAcceptRequest) GetId() []byte
func (*BlockAcceptRequest) ProtoMessage ¶
func (*BlockAcceptRequest) ProtoMessage()
func (*BlockAcceptRequest) ProtoReflect ¶
func (x *BlockAcceptRequest) ProtoReflect() protoreflect.Message
func (*BlockAcceptRequest) Reset ¶
func (x *BlockAcceptRequest) Reset()
func (*BlockAcceptRequest) String ¶
func (x *BlockAcceptRequest) String() string
type BlockRejectRequest ¶
type BlockRejectRequest struct {
Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*BlockRejectRequest) Descriptor
deprecated
func (*BlockRejectRequest) Descriptor() ([]byte, []int)
Deprecated: Use BlockRejectRequest.ProtoReflect.Descriptor instead.
func (*BlockRejectRequest) GetId ¶
func (x *BlockRejectRequest) GetId() []byte
func (*BlockRejectRequest) ProtoMessage ¶
func (*BlockRejectRequest) ProtoMessage()
func (*BlockRejectRequest) ProtoReflect ¶
func (x *BlockRejectRequest) ProtoReflect() protoreflect.Message
func (*BlockRejectRequest) Reset ¶
func (x *BlockRejectRequest) Reset()
func (*BlockRejectRequest) String ¶
func (x *BlockRejectRequest) String() string
type BlockVerifyRequest ¶
type BlockVerifyRequest struct {
Bytes []byte `protobuf:"bytes,1,opt,name=bytes,proto3" json:"bytes,omitempty"`
// If set, the VM server casts the block to a [block.WithVerifyRuntime] and
// calls [VerifyWithRuntime] instead of [Verify].
PChainHeight *uint64 `protobuf:"varint,2,opt,name=p_chain_height,json=pChainHeight,proto3,oneof" json:"p_chain_height,omitempty"`
// contains filtered or unexported fields
}
func (*BlockVerifyRequest) Descriptor
deprecated
func (*BlockVerifyRequest) Descriptor() ([]byte, []int)
Deprecated: Use BlockVerifyRequest.ProtoReflect.Descriptor instead.
func (*BlockVerifyRequest) GetBytes ¶
func (x *BlockVerifyRequest) GetBytes() []byte
func (*BlockVerifyRequest) GetPChainHeight ¶
func (x *BlockVerifyRequest) GetPChainHeight() uint64
func (*BlockVerifyRequest) ProtoMessage ¶
func (*BlockVerifyRequest) ProtoMessage()
func (*BlockVerifyRequest) ProtoReflect ¶
func (x *BlockVerifyRequest) ProtoReflect() protoreflect.Message
func (*BlockVerifyRequest) Reset ¶
func (x *BlockVerifyRequest) Reset()
func (*BlockVerifyRequest) String ¶
func (x *BlockVerifyRequest) String() string
type BlockVerifyResponse ¶
type BlockVerifyResponse struct {
Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// contains filtered or unexported fields
}
func (*BlockVerifyResponse) Descriptor
deprecated
func (*BlockVerifyResponse) Descriptor() ([]byte, []int)
Deprecated: Use BlockVerifyResponse.ProtoReflect.Descriptor instead.
func (*BlockVerifyResponse) GetTimestamp ¶
func (x *BlockVerifyResponse) GetTimestamp() *timestamppb.Timestamp
func (*BlockVerifyResponse) ProtoMessage ¶
func (*BlockVerifyResponse) ProtoMessage()
func (*BlockVerifyResponse) ProtoReflect ¶
func (x *BlockVerifyResponse) ProtoReflect() protoreflect.Message
func (*BlockVerifyResponse) Reset ¶
func (x *BlockVerifyResponse) Reset()
func (*BlockVerifyResponse) String ¶
func (x *BlockVerifyResponse) String() string
type BuildBlockRequest ¶
type BuildBlockRequest struct {
PChainHeight *uint64 `protobuf:"varint,1,opt,name=p_chain_height,json=pChainHeight,proto3,oneof" json:"p_chain_height,omitempty"`
// contains filtered or unexported fields
}
func (*BuildBlockRequest) Descriptor
deprecated
func (*BuildBlockRequest) Descriptor() ([]byte, []int)
Deprecated: Use BuildBlockRequest.ProtoReflect.Descriptor instead.
func (*BuildBlockRequest) GetPChainHeight ¶
func (x *BuildBlockRequest) GetPChainHeight() uint64
func (*BuildBlockRequest) ProtoMessage ¶
func (*BuildBlockRequest) ProtoMessage()
func (*BuildBlockRequest) ProtoReflect ¶
func (x *BuildBlockRequest) ProtoReflect() protoreflect.Message
func (*BuildBlockRequest) Reset ¶
func (x *BuildBlockRequest) Reset()
func (*BuildBlockRequest) String ¶
func (x *BuildBlockRequest) String() string
type BuildBlockResponse ¶
type BuildBlockResponse struct {
Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
ParentId []byte `protobuf:"bytes,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
Bytes []byte `protobuf:"bytes,3,opt,name=bytes,proto3" json:"bytes,omitempty"`
Height uint64 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"`
Timestamp *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
VerifyWithRuntime bool `protobuf:"varint,6,opt,name=verify_with_context,json=verifyWithContext,proto3" json:"verify_with_context,omitempty"`
// contains filtered or unexported fields
}
Note: The status of a freshly built block is assumed to be Processing.
func (*BuildBlockResponse) Descriptor
deprecated
func (*BuildBlockResponse) Descriptor() ([]byte, []int)
Deprecated: Use BuildBlockResponse.ProtoReflect.Descriptor instead.
func (*BuildBlockResponse) GetBytes ¶
func (x *BuildBlockResponse) GetBytes() []byte
func (*BuildBlockResponse) GetHeight ¶
func (x *BuildBlockResponse) GetHeight() uint64
func (*BuildBlockResponse) GetId ¶
func (x *BuildBlockResponse) GetId() []byte
func (*BuildBlockResponse) GetParentId ¶
func (x *BuildBlockResponse) GetParentId() []byte
func (*BuildBlockResponse) GetTimestamp ¶
func (x *BuildBlockResponse) GetTimestamp() *timestamppb.Timestamp
func (*BuildBlockResponse) GetVerifyWithRuntime ¶ added in v1.22.87
func (x *BuildBlockResponse) GetVerifyWithRuntime() bool
func (*BuildBlockResponse) ProtoMessage ¶
func (*BuildBlockResponse) ProtoMessage()
func (*BuildBlockResponse) ProtoReflect ¶
func (x *BuildBlockResponse) ProtoReflect() protoreflect.Message
func (*BuildBlockResponse) Reset ¶
func (x *BuildBlockResponse) Reset()
func (*BuildBlockResponse) String ¶
func (x *BuildBlockResponse) String() string
type ConnectedRequest ¶
type ConnectedRequest struct {
NodeId []byte `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
// Client name (e.g node)
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Client semantic version
Major uint32 `protobuf:"varint,3,opt,name=major,proto3" json:"major,omitempty"`
Minor uint32 `protobuf:"varint,4,opt,name=minor,proto3" json:"minor,omitempty"`
Patch uint32 `protobuf:"varint,5,opt,name=patch,proto3" json:"patch,omitempty"`
// contains filtered or unexported fields
}
func (*ConnectedRequest) Descriptor
deprecated
func (*ConnectedRequest) Descriptor() ([]byte, []int)
Deprecated: Use ConnectedRequest.ProtoReflect.Descriptor instead.
func (*ConnectedRequest) GetMajor ¶
func (x *ConnectedRequest) GetMajor() uint32
func (*ConnectedRequest) GetMinor ¶
func (x *ConnectedRequest) GetMinor() uint32
func (*ConnectedRequest) GetName ¶
func (x *ConnectedRequest) GetName() string
func (*ConnectedRequest) GetNodeId ¶
func (x *ConnectedRequest) GetNodeId() []byte
func (*ConnectedRequest) GetPatch ¶
func (x *ConnectedRequest) GetPatch() uint32
func (*ConnectedRequest) ProtoMessage ¶
func (*ConnectedRequest) ProtoMessage()
func (*ConnectedRequest) ProtoReflect ¶
func (x *ConnectedRequest) ProtoReflect() protoreflect.Message
func (*ConnectedRequest) Reset ¶
func (x *ConnectedRequest) Reset()
func (*ConnectedRequest) String ¶
func (x *ConnectedRequest) String() string
type CreateHandlersResponse ¶
type CreateHandlersResponse struct {
Handlers []*Handler `protobuf:"bytes,1,rep,name=handlers,proto3" json:"handlers,omitempty"`
// contains filtered or unexported fields
}
func (*CreateHandlersResponse) Descriptor
deprecated
func (*CreateHandlersResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateHandlersResponse.ProtoReflect.Descriptor instead.
func (*CreateHandlersResponse) GetHandlers ¶
func (x *CreateHandlersResponse) GetHandlers() []*Handler
func (*CreateHandlersResponse) ProtoMessage ¶
func (*CreateHandlersResponse) ProtoMessage()
func (*CreateHandlersResponse) ProtoReflect ¶
func (x *CreateHandlersResponse) ProtoReflect() protoreflect.Message
func (*CreateHandlersResponse) Reset ¶
func (x *CreateHandlersResponse) Reset()
func (*CreateHandlersResponse) String ¶
func (x *CreateHandlersResponse) String() string
type DisconnectedRequest ¶
type DisconnectedRequest struct {
NodeId []byte `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
// contains filtered or unexported fields
}
func (*DisconnectedRequest) Descriptor
deprecated
func (*DisconnectedRequest) Descriptor() ([]byte, []int)
Deprecated: Use DisconnectedRequest.ProtoReflect.Descriptor instead.
func (*DisconnectedRequest) GetNodeId ¶
func (x *DisconnectedRequest) GetNodeId() []byte
func (*DisconnectedRequest) ProtoMessage ¶
func (*DisconnectedRequest) ProtoMessage()
func (*DisconnectedRequest) ProtoReflect ¶
func (x *DisconnectedRequest) ProtoReflect() protoreflect.Message
func (*DisconnectedRequest) Reset ¶
func (x *DisconnectedRequest) Reset()
func (*DisconnectedRequest) String ¶
func (x *DisconnectedRequest) String() string
type Error ¶
type Error int32
func (Error) Descriptor ¶
func (Error) Descriptor() protoreflect.EnumDescriptor
func (Error) EnumDescriptor
deprecated
func (Error) Number ¶
func (x Error) Number() protoreflect.EnumNumber
func (Error) Type ¶
func (Error) Type() protoreflect.EnumType
type GatherResponse ¶
type GatherResponse struct {
MetricFamilies []*client.MetricFamily `protobuf:"bytes,1,rep,name=metric_families,json=metricFamilies,proto3" json:"metric_families,omitempty"`
// contains filtered or unexported fields
}
func (*GatherResponse) Descriptor
deprecated
func (*GatherResponse) Descriptor() ([]byte, []int)
Deprecated: Use GatherResponse.ProtoReflect.Descriptor instead.
func (*GatherResponse) GetMetricFamilies ¶
func (x *GatherResponse) GetMetricFamilies() []*client.MetricFamily
func (*GatherResponse) ProtoMessage ¶
func (*GatherResponse) ProtoMessage()
func (*GatherResponse) ProtoReflect ¶
func (x *GatherResponse) ProtoReflect() protoreflect.Message
func (*GatherResponse) Reset ¶
func (x *GatherResponse) Reset()
func (*GatherResponse) String ¶
func (x *GatherResponse) String() string
type GetAncestorsRequest ¶
type GetAncestorsRequest struct {
BlkId []byte `protobuf:"bytes,1,opt,name=blk_id,json=blkId,proto3" json:"blk_id,omitempty"`
MaxBlocksNum int32 `protobuf:"varint,2,opt,name=max_blocks_num,json=maxBlocksNum,proto3" json:"max_blocks_num,omitempty"`
MaxBlocksSize int32 `protobuf:"varint,3,opt,name=max_blocks_size,json=maxBlocksSize,proto3" json:"max_blocks_size,omitempty"`
MaxBlocksRetrivalTime int64 `` /* 129-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*GetAncestorsRequest) Descriptor
deprecated
func (*GetAncestorsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAncestorsRequest.ProtoReflect.Descriptor instead.
func (*GetAncestorsRequest) GetBlkId ¶
func (x *GetAncestorsRequest) GetBlkId() []byte
func (*GetAncestorsRequest) GetMaxBlocksNum ¶
func (x *GetAncestorsRequest) GetMaxBlocksNum() int32
func (*GetAncestorsRequest) GetMaxBlocksRetrivalTime ¶
func (x *GetAncestorsRequest) GetMaxBlocksRetrivalTime() int64
func (*GetAncestorsRequest) GetMaxBlocksSize ¶
func (x *GetAncestorsRequest) GetMaxBlocksSize() int32
func (*GetAncestorsRequest) ProtoMessage ¶
func (*GetAncestorsRequest) ProtoMessage()
func (*GetAncestorsRequest) ProtoReflect ¶
func (x *GetAncestorsRequest) ProtoReflect() protoreflect.Message
func (*GetAncestorsRequest) Reset ¶
func (x *GetAncestorsRequest) Reset()
func (*GetAncestorsRequest) String ¶
func (x *GetAncestorsRequest) String() string
type GetAncestorsResponse ¶
type GetAncestorsResponse struct {
BlksBytes [][]byte `protobuf:"bytes,1,rep,name=blks_bytes,json=blksBytes,proto3" json:"blks_bytes,omitempty"`
// contains filtered or unexported fields
}
func (*GetAncestorsResponse) Descriptor
deprecated
func (*GetAncestorsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAncestorsResponse.ProtoReflect.Descriptor instead.
func (*GetAncestorsResponse) GetBlksBytes ¶
func (x *GetAncestorsResponse) GetBlksBytes() [][]byte
func (*GetAncestorsResponse) ProtoMessage ¶
func (*GetAncestorsResponse) ProtoMessage()
func (*GetAncestorsResponse) ProtoReflect ¶
func (x *GetAncestorsResponse) ProtoReflect() protoreflect.Message
func (*GetAncestorsResponse) Reset ¶
func (x *GetAncestorsResponse) Reset()
func (*GetAncestorsResponse) String ¶
func (x *GetAncestorsResponse) String() string
type GetBlockIDAtHeightRequest ¶
type GetBlockIDAtHeightRequest struct {
Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
// contains filtered or unexported fields
}
func (*GetBlockIDAtHeightRequest) Descriptor
deprecated
func (*GetBlockIDAtHeightRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBlockIDAtHeightRequest.ProtoReflect.Descriptor instead.
func (*GetBlockIDAtHeightRequest) GetHeight ¶
func (x *GetBlockIDAtHeightRequest) GetHeight() uint64
func (*GetBlockIDAtHeightRequest) ProtoMessage ¶
func (*GetBlockIDAtHeightRequest) ProtoMessage()
func (*GetBlockIDAtHeightRequest) ProtoReflect ¶
func (x *GetBlockIDAtHeightRequest) ProtoReflect() protoreflect.Message
func (*GetBlockIDAtHeightRequest) Reset ¶
func (x *GetBlockIDAtHeightRequest) Reset()
func (*GetBlockIDAtHeightRequest) String ¶
func (x *GetBlockIDAtHeightRequest) String() string
type GetBlockIDAtHeightResponse ¶
type GetBlockIDAtHeightResponse struct {
BlkId []byte `protobuf:"bytes,1,opt,name=blk_id,json=blkId,proto3" json:"blk_id,omitempty"`
Err Error `protobuf:"varint,2,opt,name=err,proto3,enum=vm.Error" json:"err,omitempty"`
// contains filtered or unexported fields
}
func (*GetBlockIDAtHeightResponse) Descriptor
deprecated
func (*GetBlockIDAtHeightResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBlockIDAtHeightResponse.ProtoReflect.Descriptor instead.
func (*GetBlockIDAtHeightResponse) GetBlkId ¶
func (x *GetBlockIDAtHeightResponse) GetBlkId() []byte
func (*GetBlockIDAtHeightResponse) GetErr ¶
func (x *GetBlockIDAtHeightResponse) GetErr() Error
func (*GetBlockIDAtHeightResponse) ProtoMessage ¶
func (*GetBlockIDAtHeightResponse) ProtoMessage()
func (*GetBlockIDAtHeightResponse) ProtoReflect ¶
func (x *GetBlockIDAtHeightResponse) ProtoReflect() protoreflect.Message
func (*GetBlockIDAtHeightResponse) Reset ¶
func (x *GetBlockIDAtHeightResponse) Reset()
func (*GetBlockIDAtHeightResponse) String ¶
func (x *GetBlockIDAtHeightResponse) String() string
type GetBlockRequest ¶
type GetBlockRequest struct {
Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*GetBlockRequest) Descriptor
deprecated
func (*GetBlockRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBlockRequest.ProtoReflect.Descriptor instead.
func (*GetBlockRequest) GetId ¶
func (x *GetBlockRequest) GetId() []byte
func (*GetBlockRequest) ProtoMessage ¶
func (*GetBlockRequest) ProtoMessage()
func (*GetBlockRequest) ProtoReflect ¶
func (x *GetBlockRequest) ProtoReflect() protoreflect.Message
func (*GetBlockRequest) Reset ¶
func (x *GetBlockRequest) Reset()
func (*GetBlockRequest) String ¶
func (x *GetBlockRequest) String() string
type GetBlockResponse ¶
type GetBlockResponse struct {
ParentId []byte `protobuf:"bytes,1,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
Bytes []byte `protobuf:"bytes,2,opt,name=bytes,proto3" json:"bytes,omitempty"`
Height uint64 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"`
Timestamp *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// used to propagate database.ErrNotFound through RPC
Err Error `protobuf:"varint,6,opt,name=err,proto3,enum=vm.Error" json:"err,omitempty"`
VerifyWithRuntime bool `protobuf:"varint,7,opt,name=verify_with_context,json=verifyWithContext,proto3" json:"verify_with_context,omitempty"`
// contains filtered or unexported fields
}
func (*GetBlockResponse) Descriptor
deprecated
func (*GetBlockResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBlockResponse.ProtoReflect.Descriptor instead.
func (*GetBlockResponse) GetBytes ¶
func (x *GetBlockResponse) GetBytes() []byte
func (*GetBlockResponse) GetErr ¶
func (x *GetBlockResponse) GetErr() Error
func (*GetBlockResponse) GetHeight ¶
func (x *GetBlockResponse) GetHeight() uint64
func (*GetBlockResponse) GetParentId ¶
func (x *GetBlockResponse) GetParentId() []byte
func (*GetBlockResponse) GetTimestamp ¶
func (x *GetBlockResponse) GetTimestamp() *timestamppb.Timestamp
func (*GetBlockResponse) GetVerifyWithRuntime ¶ added in v1.22.87
func (x *GetBlockResponse) GetVerifyWithRuntime() bool
func (*GetBlockResponse) ProtoMessage ¶
func (*GetBlockResponse) ProtoMessage()
func (*GetBlockResponse) ProtoReflect ¶
func (x *GetBlockResponse) ProtoReflect() protoreflect.Message
func (*GetBlockResponse) Reset ¶
func (x *GetBlockResponse) Reset()
func (*GetBlockResponse) String ¶
func (x *GetBlockResponse) String() string
type GetLastStateSummaryResponse ¶
type GetLastStateSummaryResponse struct {
Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
Bytes []byte `protobuf:"bytes,3,opt,name=bytes,proto3" json:"bytes,omitempty"`
Err Error `protobuf:"varint,4,opt,name=err,proto3,enum=vm.Error" json:"err,omitempty"`
// contains filtered or unexported fields
}
func (*GetLastStateSummaryResponse) Descriptor
deprecated
func (*GetLastStateSummaryResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetLastStateSummaryResponse.ProtoReflect.Descriptor instead.
func (*GetLastStateSummaryResponse) GetBytes ¶
func (x *GetLastStateSummaryResponse) GetBytes() []byte
func (*GetLastStateSummaryResponse) GetErr ¶
func (x *GetLastStateSummaryResponse) GetErr() Error
func (*GetLastStateSummaryResponse) GetHeight ¶
func (x *GetLastStateSummaryResponse) GetHeight() uint64
func (*GetLastStateSummaryResponse) GetId ¶
func (x *GetLastStateSummaryResponse) GetId() []byte
func (*GetLastStateSummaryResponse) ProtoMessage ¶
func (*GetLastStateSummaryResponse) ProtoMessage()
func (*GetLastStateSummaryResponse) ProtoReflect ¶
func (x *GetLastStateSummaryResponse) ProtoReflect() protoreflect.Message
func (*GetLastStateSummaryResponse) Reset ¶
func (x *GetLastStateSummaryResponse) Reset()
func (*GetLastStateSummaryResponse) String ¶
func (x *GetLastStateSummaryResponse) String() string
type GetOngoingSyncStateSummaryResponse ¶
type GetOngoingSyncStateSummaryResponse struct {
Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
Bytes []byte `protobuf:"bytes,3,opt,name=bytes,proto3" json:"bytes,omitempty"`
Err Error `protobuf:"varint,4,opt,name=err,proto3,enum=vm.Error" json:"err,omitempty"`
// contains filtered or unexported fields
}
func (*GetOngoingSyncStateSummaryResponse) Descriptor
deprecated
func (*GetOngoingSyncStateSummaryResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetOngoingSyncStateSummaryResponse.ProtoReflect.Descriptor instead.
func (*GetOngoingSyncStateSummaryResponse) GetBytes ¶
func (x *GetOngoingSyncStateSummaryResponse) GetBytes() []byte
func (*GetOngoingSyncStateSummaryResponse) GetErr ¶
func (x *GetOngoingSyncStateSummaryResponse) GetErr() Error
func (*GetOngoingSyncStateSummaryResponse) GetHeight ¶
func (x *GetOngoingSyncStateSummaryResponse) GetHeight() uint64
func (*GetOngoingSyncStateSummaryResponse) GetId ¶
func (x *GetOngoingSyncStateSummaryResponse) GetId() []byte
func (*GetOngoingSyncStateSummaryResponse) ProtoMessage ¶
func (*GetOngoingSyncStateSummaryResponse) ProtoMessage()
func (*GetOngoingSyncStateSummaryResponse) ProtoReflect ¶
func (x *GetOngoingSyncStateSummaryResponse) ProtoReflect() protoreflect.Message
func (*GetOngoingSyncStateSummaryResponse) Reset ¶
func (x *GetOngoingSyncStateSummaryResponse) Reset()
func (*GetOngoingSyncStateSummaryResponse) String ¶
func (x *GetOngoingSyncStateSummaryResponse) String() string
type GetStateSummaryRequest ¶
type GetStateSummaryRequest struct {
Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
// contains filtered or unexported fields
}
func (*GetStateSummaryRequest) Descriptor
deprecated
func (*GetStateSummaryRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetStateSummaryRequest.ProtoReflect.Descriptor instead.
func (*GetStateSummaryRequest) GetHeight ¶
func (x *GetStateSummaryRequest) GetHeight() uint64
func (*GetStateSummaryRequest) ProtoMessage ¶
func (*GetStateSummaryRequest) ProtoMessage()
func (*GetStateSummaryRequest) ProtoReflect ¶
func (x *GetStateSummaryRequest) ProtoReflect() protoreflect.Message
func (*GetStateSummaryRequest) Reset ¶
func (x *GetStateSummaryRequest) Reset()
func (*GetStateSummaryRequest) String ¶
func (x *GetStateSummaryRequest) String() string
type GetStateSummaryResponse ¶
type GetStateSummaryResponse struct {
Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Bytes []byte `protobuf:"bytes,2,opt,name=bytes,proto3" json:"bytes,omitempty"`
Err Error `protobuf:"varint,3,opt,name=err,proto3,enum=vm.Error" json:"err,omitempty"`
// contains filtered or unexported fields
}
func (*GetStateSummaryResponse) Descriptor
deprecated
func (*GetStateSummaryResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetStateSummaryResponse.ProtoReflect.Descriptor instead.
func (*GetStateSummaryResponse) GetBytes ¶
func (x *GetStateSummaryResponse) GetBytes() []byte
func (*GetStateSummaryResponse) GetErr ¶
func (x *GetStateSummaryResponse) GetErr() Error
func (*GetStateSummaryResponse) GetId ¶
func (x *GetStateSummaryResponse) GetId() []byte
func (*GetStateSummaryResponse) ProtoMessage ¶
func (*GetStateSummaryResponse) ProtoMessage()
func (*GetStateSummaryResponse) ProtoReflect ¶
func (x *GetStateSummaryResponse) ProtoReflect() protoreflect.Message
func (*GetStateSummaryResponse) Reset ¶
func (x *GetStateSummaryResponse) Reset()
func (*GetStateSummaryResponse) String ¶
func (x *GetStateSummaryResponse) String() string
type GossipMsg ¶ added in v1.22.87
type GossipMsg struct {
// The node that sent us a gossip message
NodeId []byte `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
// The message body
Msg []byte `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
// contains filtered or unexported fields
}
func (*GossipMsg) Descriptor
deprecated
added in
v1.22.87
func (*GossipMsg) ProtoMessage ¶ added in v1.22.87
func (*GossipMsg) ProtoMessage()
func (*GossipMsg) ProtoReflect ¶ added in v1.22.87
func (x *GossipMsg) ProtoReflect() protoreflect.Message
type Handler ¶
type Handler struct {
Prefix string `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"`
// server_addr is the address of the gRPC server which serves the
// HTTP service
ServerAddr string `protobuf:"bytes,2,opt,name=server_addr,json=serverAddr,proto3" json:"server_addr,omitempty"`
// contains filtered or unexported fields
}
func (*Handler) Descriptor
deprecated
func (*Handler) GetServerAddr ¶
func (*Handler) ProtoMessage ¶
func (*Handler) ProtoMessage()
func (*Handler) ProtoReflect ¶
func (x *Handler) ProtoReflect() protoreflect.Message
type HealthResponse ¶
type HealthResponse struct {
Details []byte `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"`
// contains filtered or unexported fields
}
func (*HealthResponse) Descriptor
deprecated
func (*HealthResponse) Descriptor() ([]byte, []int)
Deprecated: Use HealthResponse.ProtoReflect.Descriptor instead.
func (*HealthResponse) GetDetails ¶
func (x *HealthResponse) GetDetails() []byte
func (*HealthResponse) ProtoMessage ¶
func (*HealthResponse) ProtoMessage()
func (*HealthResponse) ProtoReflect ¶
func (x *HealthResponse) ProtoReflect() protoreflect.Message
func (*HealthResponse) Reset ¶
func (x *HealthResponse) Reset()
func (*HealthResponse) String ¶
func (x *HealthResponse) String() string
type InitializeRequest ¶
type InitializeRequest struct {
NetworkId uint32 `protobuf:"varint,1,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"`
ChainId []byte `protobuf:"bytes,3,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
NodeId []byte `protobuf:"bytes,4,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
// public_key is the BLS public key that would correspond with any signatures
// produced by the warp messaging signer
PublicKey []byte `protobuf:"bytes,5,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
XChainId []byte `protobuf:"bytes,6,opt,name=x_chain_id,json=xChainId,proto3" json:"x_chain_id,omitempty"`
CChainId []byte `protobuf:"bytes,7,opt,name=c_chain_id,json=cChainId,proto3" json:"c_chain_id,omitempty"`
LuxAssetId []byte `protobuf:"bytes,8,opt,name=lux_asset_id,json=luxAssetId,proto3" json:"lux_asset_id,omitempty"`
ChainDataDir string `protobuf:"bytes,9,opt,name=chain_data_dir,json=chainDataDir,proto3" json:"chain_data_dir,omitempty"`
GenesisBytes []byte `protobuf:"bytes,10,opt,name=genesis_bytes,json=genesisBytes,proto3" json:"genesis_bytes,omitempty"`
UpgradeBytes []byte `protobuf:"bytes,11,opt,name=upgrade_bytes,json=upgradeBytes,proto3" json:"upgrade_bytes,omitempty"`
ConfigBytes []byte `protobuf:"bytes,12,opt,name=config_bytes,json=configBytes,proto3" json:"config_bytes,omitempty"`
DbServerAddr string `protobuf:"bytes,13,opt,name=db_server_addr,json=dbServerAddr,proto3" json:"db_server_addr,omitempty"`
// server_addr is the address of the gRPC server which serves the shared
// memory, blockchain alias, chain alias, and appSender services
ServerAddr string `protobuf:"bytes,14,opt,name=server_addr,json=serverAddr,proto3" json:"server_addr,omitempty"`
// network_upgrades_bytes is the json encoded network upgrades
NetworkUpgrades *NetworkUpgrades `protobuf:"bytes,15,opt,name=network_upgrades,json=networkUpgrades,proto3" json:"network_upgrades,omitempty"`
// contains filtered or unexported fields
}
func (*InitializeRequest) Descriptor
deprecated
func (*InitializeRequest) Descriptor() ([]byte, []int)
Deprecated: Use InitializeRequest.ProtoReflect.Descriptor instead.
func (*InitializeRequest) GetCChainId ¶
func (x *InitializeRequest) GetCChainId() []byte
func (*InitializeRequest) GetChainDataDir ¶
func (x *InitializeRequest) GetChainDataDir() string
func (*InitializeRequest) GetChainId ¶
func (x *InitializeRequest) GetChainId() []byte
func (*InitializeRequest) GetConfigBytes ¶
func (x *InitializeRequest) GetConfigBytes() []byte
func (*InitializeRequest) GetDbServerAddr ¶
func (x *InitializeRequest) GetDbServerAddr() string
func (*InitializeRequest) GetGenesisBytes ¶
func (x *InitializeRequest) GetGenesisBytes() []byte
func (*InitializeRequest) GetLuxAssetId ¶
func (x *InitializeRequest) GetLuxAssetId() []byte
func (*InitializeRequest) GetNetworkId ¶
func (x *InitializeRequest) GetNetworkId() uint32
func (*InitializeRequest) GetNetworkUpgrades ¶
func (x *InitializeRequest) GetNetworkUpgrades() *NetworkUpgrades
func (*InitializeRequest) GetNodeId ¶
func (x *InitializeRequest) GetNodeId() []byte
func (*InitializeRequest) GetPublicKey ¶
func (x *InitializeRequest) GetPublicKey() []byte
func (*InitializeRequest) GetServerAddr ¶
func (x *InitializeRequest) GetServerAddr() string
func (*InitializeRequest) GetUpgradeBytes ¶
func (x *InitializeRequest) GetUpgradeBytes() []byte
func (*InitializeRequest) GetXChainId ¶
func (x *InitializeRequest) GetXChainId() []byte
func (*InitializeRequest) ProtoMessage ¶
func (*InitializeRequest) ProtoMessage()
func (*InitializeRequest) ProtoReflect ¶
func (x *InitializeRequest) ProtoReflect() protoreflect.Message
func (*InitializeRequest) Reset ¶
func (x *InitializeRequest) Reset()
func (*InitializeRequest) String ¶
func (x *InitializeRequest) String() string
type InitializeResponse ¶
type InitializeResponse struct {
LastAcceptedId []byte `protobuf:"bytes,1,opt,name=last_accepted_id,json=lastAcceptedId,proto3" json:"last_accepted_id,omitempty"`
LastAcceptedParentId []byte `protobuf:"bytes,2,opt,name=last_accepted_parent_id,json=lastAcceptedParentId,proto3" json:"last_accepted_parent_id,omitempty"`
Height uint64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
Bytes []byte `protobuf:"bytes,4,opt,name=bytes,proto3" json:"bytes,omitempty"`
Timestamp *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// contains filtered or unexported fields
}
func (*InitializeResponse) Descriptor
deprecated
func (*InitializeResponse) Descriptor() ([]byte, []int)
Deprecated: Use InitializeResponse.ProtoReflect.Descriptor instead.
func (*InitializeResponse) GetBytes ¶
func (x *InitializeResponse) GetBytes() []byte
func (*InitializeResponse) GetHeight ¶
func (x *InitializeResponse) GetHeight() uint64
func (*InitializeResponse) GetLastAcceptedId ¶
func (x *InitializeResponse) GetLastAcceptedId() []byte
func (*InitializeResponse) GetLastAcceptedParentId ¶
func (x *InitializeResponse) GetLastAcceptedParentId() []byte
func (*InitializeResponse) GetTimestamp ¶
func (x *InitializeResponse) GetTimestamp() *timestamppb.Timestamp
func (*InitializeResponse) ProtoMessage ¶
func (*InitializeResponse) ProtoMessage()
func (*InitializeResponse) ProtoReflect ¶
func (x *InitializeResponse) ProtoReflect() protoreflect.Message
func (*InitializeResponse) Reset ¶
func (x *InitializeResponse) Reset()
func (*InitializeResponse) String ¶
func (x *InitializeResponse) String() string
type Message ¶
type Message int32
func (Message) Descriptor ¶
func (Message) Descriptor() protoreflect.EnumDescriptor
func (Message) EnumDescriptor
deprecated
func (Message) Number ¶
func (x Message) Number() protoreflect.EnumNumber
func (Message) Type ¶
func (Message) Type() protoreflect.EnumType
type NetworkUpgrades ¶
type NetworkUpgrades struct {
ApricotPhase_1Time *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=apricot_phase_1_time,json=apricotPhase1Time,proto3" json:"apricot_phase_1_time,omitempty"`
ApricotPhase_2Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=apricot_phase_2_time,json=apricotPhase2Time,proto3" json:"apricot_phase_2_time,omitempty"`
ApricotPhase_3Time *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=apricot_phase_3_time,json=apricotPhase3Time,proto3" json:"apricot_phase_3_time,omitempty"`
ApricotPhase_4Time *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=apricot_phase_4_time,json=apricotPhase4Time,proto3" json:"apricot_phase_4_time,omitempty"`
ApricotPhase_4MinPChainHeight uint64 `` /* 156-byte string literal not displayed */
ApricotPhase_5Time *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=apricot_phase_5_time,json=apricotPhase5Time,proto3" json:"apricot_phase_5_time,omitempty"`
ApricotPhasePre_6Time *timestamppb.Timestamp `` /* 127-byte string literal not displayed */
ApricotPhase_6Time *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=apricot_phase_6_time,json=apricotPhase6Time,proto3" json:"apricot_phase_6_time,omitempty"`
ApricotPhasePost_6Time *timestamppb.Timestamp `` /* 130-byte string literal not displayed */
BanffTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=banff_time,json=banffTime,proto3" json:"banff_time,omitempty"`
CortinaTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=cortina_time,json=cortinaTime,proto3" json:"cortina_time,omitempty"`
CortinaXChainStopVertexId []byte `` /* 145-byte string literal not displayed */
DurangoTime *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=durango_time,json=durangoTime,proto3" json:"durango_time,omitempty"`
EtnaTime *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=etna_time,json=etnaTime,proto3" json:"etna_time,omitempty"`
FortunaTime *timestamppb.Timestamp `protobuf:"bytes,15,opt,name=fortuna_time,json=fortunaTime,proto3" json:"fortuna_time,omitempty"`
GraniteTime *timestamppb.Timestamp `protobuf:"bytes,16,opt,name=granite_time,json=graniteTime,proto3" json:"granite_time,omitempty"`
// contains filtered or unexported fields
}
func (*NetworkUpgrades) Descriptor
deprecated
func (*NetworkUpgrades) Descriptor() ([]byte, []int)
Deprecated: Use NetworkUpgrades.ProtoReflect.Descriptor instead.
func (*NetworkUpgrades) GetApricotPhasePost_6Time ¶
func (x *NetworkUpgrades) GetApricotPhasePost_6Time() *timestamppb.Timestamp
func (*NetworkUpgrades) GetApricotPhasePre_6Time ¶
func (x *NetworkUpgrades) GetApricotPhasePre_6Time() *timestamppb.Timestamp
func (*NetworkUpgrades) GetApricotPhase_1Time ¶
func (x *NetworkUpgrades) GetApricotPhase_1Time() *timestamppb.Timestamp
func (*NetworkUpgrades) GetApricotPhase_2Time ¶
func (x *NetworkUpgrades) GetApricotPhase_2Time() *timestamppb.Timestamp
func (*NetworkUpgrades) GetApricotPhase_3Time ¶
func (x *NetworkUpgrades) GetApricotPhase_3Time() *timestamppb.Timestamp
func (*NetworkUpgrades) GetApricotPhase_4MinPChainHeight ¶
func (x *NetworkUpgrades) GetApricotPhase_4MinPChainHeight() uint64
func (*NetworkUpgrades) GetApricotPhase_4Time ¶
func (x *NetworkUpgrades) GetApricotPhase_4Time() *timestamppb.Timestamp
func (*NetworkUpgrades) GetApricotPhase_5Time ¶
func (x *NetworkUpgrades) GetApricotPhase_5Time() *timestamppb.Timestamp
func (*NetworkUpgrades) GetApricotPhase_6Time ¶
func (x *NetworkUpgrades) GetApricotPhase_6Time() *timestamppb.Timestamp
func (*NetworkUpgrades) GetBanffTime ¶
func (x *NetworkUpgrades) GetBanffTime() *timestamppb.Timestamp
func (*NetworkUpgrades) GetCortinaTime ¶
func (x *NetworkUpgrades) GetCortinaTime() *timestamppb.Timestamp
func (*NetworkUpgrades) GetCortinaXChainStopVertexId ¶
func (x *NetworkUpgrades) GetCortinaXChainStopVertexId() []byte
func (*NetworkUpgrades) GetDurangoTime ¶
func (x *NetworkUpgrades) GetDurangoTime() *timestamppb.Timestamp
func (*NetworkUpgrades) GetEtnaTime ¶
func (x *NetworkUpgrades) GetEtnaTime() *timestamppb.Timestamp
func (*NetworkUpgrades) GetFortunaTime ¶
func (x *NetworkUpgrades) GetFortunaTime() *timestamppb.Timestamp
func (*NetworkUpgrades) GetGraniteTime ¶
func (x *NetworkUpgrades) GetGraniteTime() *timestamppb.Timestamp
func (*NetworkUpgrades) ProtoMessage ¶
func (*NetworkUpgrades) ProtoMessage()
func (*NetworkUpgrades) ProtoReflect ¶
func (x *NetworkUpgrades) ProtoReflect() protoreflect.Message
func (*NetworkUpgrades) Reset ¶
func (x *NetworkUpgrades) Reset()
func (*NetworkUpgrades) String ¶
func (x *NetworkUpgrades) String() string
type NewHTTPHandlerResponse ¶
type NewHTTPHandlerResponse struct {
// server_addr is the address of the gRPC server which serves the
// HTTP service
ServerAddr string `protobuf:"bytes,1,opt,name=server_addr,json=serverAddr,proto3" json:"server_addr,omitempty"`
// contains filtered or unexported fields
}
func (*NewHTTPHandlerResponse) Descriptor
deprecated
func (*NewHTTPHandlerResponse) Descriptor() ([]byte, []int)
Deprecated: Use NewHTTPHandlerResponse.ProtoReflect.Descriptor instead.
func (*NewHTTPHandlerResponse) GetServerAddr ¶
func (x *NewHTTPHandlerResponse) GetServerAddr() string
func (*NewHTTPHandlerResponse) ProtoMessage ¶
func (*NewHTTPHandlerResponse) ProtoMessage()
func (*NewHTTPHandlerResponse) ProtoReflect ¶
func (x *NewHTTPHandlerResponse) ProtoReflect() protoreflect.Message
func (*NewHTTPHandlerResponse) Reset ¶
func (x *NewHTTPHandlerResponse) Reset()
func (*NewHTTPHandlerResponse) String ¶
func (x *NewHTTPHandlerResponse) String() string
type ParseBlockRequest ¶
type ParseBlockRequest struct {
Bytes []byte `protobuf:"bytes,1,opt,name=bytes,proto3" json:"bytes,omitempty"`
// contains filtered or unexported fields
}
func (*ParseBlockRequest) Descriptor
deprecated
func (*ParseBlockRequest) Descriptor() ([]byte, []int)
Deprecated: Use ParseBlockRequest.ProtoReflect.Descriptor instead.
func (*ParseBlockRequest) GetBytes ¶
func (x *ParseBlockRequest) GetBytes() []byte
func (*ParseBlockRequest) ProtoMessage ¶
func (*ParseBlockRequest) ProtoMessage()
func (*ParseBlockRequest) ProtoReflect ¶
func (x *ParseBlockRequest) ProtoReflect() protoreflect.Message
func (*ParseBlockRequest) Reset ¶
func (x *ParseBlockRequest) Reset()
func (*ParseBlockRequest) String ¶
func (x *ParseBlockRequest) String() string
type ParseBlockResponse ¶
type ParseBlockResponse struct {
Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
ParentId []byte `protobuf:"bytes,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
Height uint64 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"`
Timestamp *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
VerifyWithRuntime bool `protobuf:"varint,6,opt,name=verify_with_context,json=verifyWithContext,proto3" json:"verify_with_context,omitempty"`
// contains filtered or unexported fields
}
func (*ParseBlockResponse) Descriptor
deprecated
func (*ParseBlockResponse) Descriptor() ([]byte, []int)
Deprecated: Use ParseBlockResponse.ProtoReflect.Descriptor instead.
func (*ParseBlockResponse) GetHeight ¶
func (x *ParseBlockResponse) GetHeight() uint64
func (*ParseBlockResponse) GetId ¶
func (x *ParseBlockResponse) GetId() []byte
func (*ParseBlockResponse) GetParentId ¶
func (x *ParseBlockResponse) GetParentId() []byte
func (*ParseBlockResponse) GetTimestamp ¶
func (x *ParseBlockResponse) GetTimestamp() *timestamppb.Timestamp
func (*ParseBlockResponse) GetVerifyWithRuntime ¶ added in v1.22.87
func (x *ParseBlockResponse) GetVerifyWithRuntime() bool
func (*ParseBlockResponse) ProtoMessage ¶
func (*ParseBlockResponse) ProtoMessage()
func (*ParseBlockResponse) ProtoReflect ¶
func (x *ParseBlockResponse) ProtoReflect() protoreflect.Message
func (*ParseBlockResponse) Reset ¶
func (x *ParseBlockResponse) Reset()
func (*ParseBlockResponse) String ¶
func (x *ParseBlockResponse) String() string
type ParseStateSummaryRequest ¶
type ParseStateSummaryRequest struct {
Bytes []byte `protobuf:"bytes,1,opt,name=bytes,proto3" json:"bytes,omitempty"`
// contains filtered or unexported fields
}
func (*ParseStateSummaryRequest) Descriptor
deprecated
func (*ParseStateSummaryRequest) Descriptor() ([]byte, []int)
Deprecated: Use ParseStateSummaryRequest.ProtoReflect.Descriptor instead.
func (*ParseStateSummaryRequest) GetBytes ¶
func (x *ParseStateSummaryRequest) GetBytes() []byte
func (*ParseStateSummaryRequest) ProtoMessage ¶
func (*ParseStateSummaryRequest) ProtoMessage()
func (*ParseStateSummaryRequest) ProtoReflect ¶
func (x *ParseStateSummaryRequest) ProtoReflect() protoreflect.Message
func (*ParseStateSummaryRequest) Reset ¶
func (x *ParseStateSummaryRequest) Reset()
func (*ParseStateSummaryRequest) String ¶
func (x *ParseStateSummaryRequest) String() string
type ParseStateSummaryResponse ¶
type ParseStateSummaryResponse struct {
Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
Err Error `protobuf:"varint,3,opt,name=err,proto3,enum=vm.Error" json:"err,omitempty"`
// contains filtered or unexported fields
}
func (*ParseStateSummaryResponse) Descriptor
deprecated
func (*ParseStateSummaryResponse) Descriptor() ([]byte, []int)
Deprecated: Use ParseStateSummaryResponse.ProtoReflect.Descriptor instead.
func (*ParseStateSummaryResponse) GetErr ¶
func (x *ParseStateSummaryResponse) GetErr() Error
func (*ParseStateSummaryResponse) GetHeight ¶
func (x *ParseStateSummaryResponse) GetHeight() uint64
func (*ParseStateSummaryResponse) GetId ¶
func (x *ParseStateSummaryResponse) GetId() []byte
func (*ParseStateSummaryResponse) ProtoMessage ¶
func (*ParseStateSummaryResponse) ProtoMessage()
func (*ParseStateSummaryResponse) ProtoReflect ¶
func (x *ParseStateSummaryResponse) ProtoReflect() protoreflect.Message
func (*ParseStateSummaryResponse) Reset ¶
func (x *ParseStateSummaryResponse) Reset()
func (*ParseStateSummaryResponse) String ¶
func (x *ParseStateSummaryResponse) String() string
type RequestFailedMsg ¶ added in v1.22.87
type RequestFailedMsg struct {
// The node that we failed to get a response from
NodeId []byte `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
// The ID of the request we sent and didn't get a response to
RequestId uint32 `protobuf:"varint,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Application-defined error code
ErrorCode int32 `protobuf:"zigzag32,3,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
// Application-defined error message
ErrorMessage string `protobuf:"bytes,4,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
// contains filtered or unexported fields
}
func (*RequestFailedMsg) Descriptor
deprecated
added in
v1.22.87
func (*RequestFailedMsg) Descriptor() ([]byte, []int)
Deprecated: Use RequestFailedMsg.ProtoReflect.Descriptor instead.
func (*RequestFailedMsg) GetErrorCode ¶ added in v1.22.87
func (x *RequestFailedMsg) GetErrorCode() int32
func (*RequestFailedMsg) GetErrorMessage ¶ added in v1.22.87
func (x *RequestFailedMsg) GetErrorMessage() string
func (*RequestFailedMsg) GetNodeId ¶ added in v1.22.87
func (x *RequestFailedMsg) GetNodeId() []byte
func (*RequestFailedMsg) GetRequestId ¶ added in v1.22.87
func (x *RequestFailedMsg) GetRequestId() uint32
func (*RequestFailedMsg) ProtoMessage ¶ added in v1.22.87
func (*RequestFailedMsg) ProtoMessage()
func (*RequestFailedMsg) ProtoReflect ¶ added in v1.22.87
func (x *RequestFailedMsg) ProtoReflect() protoreflect.Message
func (*RequestFailedMsg) Reset ¶ added in v1.22.87
func (x *RequestFailedMsg) Reset()
func (*RequestFailedMsg) String ¶ added in v1.22.87
func (x *RequestFailedMsg) String() string
type RequestMsg ¶ added in v1.22.87
type RequestMsg struct {
// The node that sent us this request
NodeId []byte `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
// The ID of this request
RequestId uint32 `protobuf:"varint,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// deadline for this request
Deadline *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=deadline,proto3" json:"deadline,omitempty"`
// The request body
Request []byte `protobuf:"bytes,4,opt,name=request,proto3" json:"request,omitempty"`
// contains filtered or unexported fields
}
func (*RequestMsg) Descriptor
deprecated
added in
v1.22.87
func (*RequestMsg) Descriptor() ([]byte, []int)
Deprecated: Use RequestMsg.ProtoReflect.Descriptor instead.
func (*RequestMsg) GetDeadline ¶ added in v1.22.87
func (x *RequestMsg) GetDeadline() *timestamppb.Timestamp
func (*RequestMsg) GetNodeId ¶ added in v1.22.87
func (x *RequestMsg) GetNodeId() []byte
func (*RequestMsg) GetRequest ¶ added in v1.22.87
func (x *RequestMsg) GetRequest() []byte
func (*RequestMsg) GetRequestId ¶ added in v1.22.87
func (x *RequestMsg) GetRequestId() uint32
func (*RequestMsg) ProtoMessage ¶ added in v1.22.87
func (*RequestMsg) ProtoMessage()
func (*RequestMsg) ProtoReflect ¶ added in v1.22.87
func (x *RequestMsg) ProtoReflect() protoreflect.Message
func (*RequestMsg) Reset ¶ added in v1.22.87
func (x *RequestMsg) Reset()
func (*RequestMsg) String ¶ added in v1.22.87
func (x *RequestMsg) String() string
type ResponseMsg ¶ added in v1.22.87
type ResponseMsg struct {
// The node that we got a response from
NodeId []byte `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
// Request ID of request that this is in response to
RequestId uint32 `protobuf:"varint,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// The response body
Response []byte `protobuf:"bytes,3,opt,name=response,proto3" json:"response,omitempty"`
// contains filtered or unexported fields
}
func (*ResponseMsg) Descriptor
deprecated
added in
v1.22.87
func (*ResponseMsg) Descriptor() ([]byte, []int)
Deprecated: Use ResponseMsg.ProtoReflect.Descriptor instead.
func (*ResponseMsg) GetNodeId ¶ added in v1.22.87
func (x *ResponseMsg) GetNodeId() []byte
func (*ResponseMsg) GetRequestId ¶ added in v1.22.87
func (x *ResponseMsg) GetRequestId() uint32
func (*ResponseMsg) GetResponse ¶ added in v1.22.87
func (x *ResponseMsg) GetResponse() []byte
func (*ResponseMsg) ProtoMessage ¶ added in v1.22.87
func (*ResponseMsg) ProtoMessage()
func (*ResponseMsg) ProtoReflect ¶ added in v1.22.87
func (x *ResponseMsg) ProtoReflect() protoreflect.Message
func (*ResponseMsg) Reset ¶ added in v1.22.87
func (x *ResponseMsg) Reset()
func (*ResponseMsg) String ¶ added in v1.22.87
func (x *ResponseMsg) String() string
type SetPreferenceRequest ¶
type SetPreferenceRequest struct {
Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*SetPreferenceRequest) Descriptor
deprecated
func (*SetPreferenceRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetPreferenceRequest.ProtoReflect.Descriptor instead.
func (*SetPreferenceRequest) GetId ¶
func (x *SetPreferenceRequest) GetId() []byte
func (*SetPreferenceRequest) ProtoMessage ¶
func (*SetPreferenceRequest) ProtoMessage()
func (*SetPreferenceRequest) ProtoReflect ¶
func (x *SetPreferenceRequest) ProtoReflect() protoreflect.Message
func (*SetPreferenceRequest) Reset ¶
func (x *SetPreferenceRequest) Reset()
func (*SetPreferenceRequest) String ¶
func (x *SetPreferenceRequest) String() string
type SetStateRequest ¶
type SetStateRequest struct {
State State `protobuf:"varint,1,opt,name=state,proto3,enum=vm.State" json:"state,omitempty"`
// contains filtered or unexported fields
}
func (*SetStateRequest) Descriptor
deprecated
func (*SetStateRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetStateRequest.ProtoReflect.Descriptor instead.
func (*SetStateRequest) GetState ¶
func (x *SetStateRequest) GetState() State
func (*SetStateRequest) ProtoMessage ¶
func (*SetStateRequest) ProtoMessage()
func (*SetStateRequest) ProtoReflect ¶
func (x *SetStateRequest) ProtoReflect() protoreflect.Message
func (*SetStateRequest) Reset ¶
func (x *SetStateRequest) Reset()
func (*SetStateRequest) String ¶
func (x *SetStateRequest) String() string
type SetStateResponse ¶
type SetStateResponse struct {
LastAcceptedId []byte `protobuf:"bytes,1,opt,name=last_accepted_id,json=lastAcceptedId,proto3" json:"last_accepted_id,omitempty"`
LastAcceptedParentId []byte `protobuf:"bytes,2,opt,name=last_accepted_parent_id,json=lastAcceptedParentId,proto3" json:"last_accepted_parent_id,omitempty"`
Height uint64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
Bytes []byte `protobuf:"bytes,4,opt,name=bytes,proto3" json:"bytes,omitempty"`
Timestamp *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// contains filtered or unexported fields
}
func (*SetStateResponse) Descriptor
deprecated
func (*SetStateResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetStateResponse.ProtoReflect.Descriptor instead.
func (*SetStateResponse) GetBytes ¶
func (x *SetStateResponse) GetBytes() []byte
func (*SetStateResponse) GetHeight ¶
func (x *SetStateResponse) GetHeight() uint64
func (*SetStateResponse) GetLastAcceptedId ¶
func (x *SetStateResponse) GetLastAcceptedId() []byte
func (*SetStateResponse) GetLastAcceptedParentId ¶
func (x *SetStateResponse) GetLastAcceptedParentId() []byte
func (*SetStateResponse) GetTimestamp ¶
func (x *SetStateResponse) GetTimestamp() *timestamppb.Timestamp
func (*SetStateResponse) ProtoMessage ¶
func (*SetStateResponse) ProtoMessage()
func (*SetStateResponse) ProtoReflect ¶
func (x *SetStateResponse) ProtoReflect() protoreflect.Message
func (*SetStateResponse) Reset ¶
func (x *SetStateResponse) Reset()
func (*SetStateResponse) String ¶
func (x *SetStateResponse) String() string
type State ¶
type State int32
func (State) Descriptor ¶
func (State) Descriptor() protoreflect.EnumDescriptor
func (State) EnumDescriptor
deprecated
func (State) Number ¶
func (x State) Number() protoreflect.EnumNumber
func (State) Type ¶
func (State) Type() protoreflect.EnumType
type StateSummaryAcceptRequest ¶
type StateSummaryAcceptRequest struct {
Bytes []byte `protobuf:"bytes,1,opt,name=bytes,proto3" json:"bytes,omitempty"`
// contains filtered or unexported fields
}
func (*StateSummaryAcceptRequest) Descriptor
deprecated
func (*StateSummaryAcceptRequest) Descriptor() ([]byte, []int)
Deprecated: Use StateSummaryAcceptRequest.ProtoReflect.Descriptor instead.
func (*StateSummaryAcceptRequest) GetBytes ¶
func (x *StateSummaryAcceptRequest) GetBytes() []byte
func (*StateSummaryAcceptRequest) ProtoMessage ¶
func (*StateSummaryAcceptRequest) ProtoMessage()
func (*StateSummaryAcceptRequest) ProtoReflect ¶
func (x *StateSummaryAcceptRequest) ProtoReflect() protoreflect.Message
func (*StateSummaryAcceptRequest) Reset ¶
func (x *StateSummaryAcceptRequest) Reset()
func (*StateSummaryAcceptRequest) String ¶
func (x *StateSummaryAcceptRequest) String() string
type StateSummaryAcceptResponse ¶
type StateSummaryAcceptResponse struct {
Mode StateSummaryAcceptResponse_Mode `protobuf:"varint,1,opt,name=mode,proto3,enum=vm.StateSummaryAcceptResponse_Mode" json:"mode,omitempty"`
Err Error `protobuf:"varint,2,opt,name=err,proto3,enum=vm.Error" json:"err,omitempty"`
// contains filtered or unexported fields
}
func (*StateSummaryAcceptResponse) Descriptor
deprecated
func (*StateSummaryAcceptResponse) Descriptor() ([]byte, []int)
Deprecated: Use StateSummaryAcceptResponse.ProtoReflect.Descriptor instead.
func (*StateSummaryAcceptResponse) GetErr ¶
func (x *StateSummaryAcceptResponse) GetErr() Error
func (*StateSummaryAcceptResponse) GetMode ¶
func (x *StateSummaryAcceptResponse) GetMode() StateSummaryAcceptResponse_Mode
func (*StateSummaryAcceptResponse) ProtoMessage ¶
func (*StateSummaryAcceptResponse) ProtoMessage()
func (*StateSummaryAcceptResponse) ProtoReflect ¶
func (x *StateSummaryAcceptResponse) ProtoReflect() protoreflect.Message
func (*StateSummaryAcceptResponse) Reset ¶
func (x *StateSummaryAcceptResponse) Reset()
func (*StateSummaryAcceptResponse) String ¶
func (x *StateSummaryAcceptResponse) String() string
type StateSummaryAcceptResponse_Mode ¶
type StateSummaryAcceptResponse_Mode int32
const ( StateSummaryAcceptResponse_MODE_UNSPECIFIED StateSummaryAcceptResponse_Mode = 0 StateSummaryAcceptResponse_MODE_SKIPPED StateSummaryAcceptResponse_Mode = 1 StateSummaryAcceptResponse_MODE_STATIC StateSummaryAcceptResponse_Mode = 2 StateSummaryAcceptResponse_MODE_DYNAMIC StateSummaryAcceptResponse_Mode = 3 )
func (StateSummaryAcceptResponse_Mode) Descriptor ¶
func (StateSummaryAcceptResponse_Mode) Descriptor() protoreflect.EnumDescriptor
func (StateSummaryAcceptResponse_Mode) Enum ¶
func (x StateSummaryAcceptResponse_Mode) Enum() *StateSummaryAcceptResponse_Mode
func (StateSummaryAcceptResponse_Mode) EnumDescriptor
deprecated
func (StateSummaryAcceptResponse_Mode) EnumDescriptor() ([]byte, []int)
Deprecated: Use StateSummaryAcceptResponse_Mode.Descriptor instead.
func (StateSummaryAcceptResponse_Mode) Number ¶
func (x StateSummaryAcceptResponse_Mode) Number() protoreflect.EnumNumber
func (StateSummaryAcceptResponse_Mode) String ¶
func (x StateSummaryAcceptResponse_Mode) String() string
func (StateSummaryAcceptResponse_Mode) Type ¶
func (StateSummaryAcceptResponse_Mode) Type() protoreflect.EnumType
type StateSyncEnabledResponse ¶
type StateSyncEnabledResponse struct {
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
Err Error `protobuf:"varint,2,opt,name=err,proto3,enum=vm.Error" json:"err,omitempty"`
// contains filtered or unexported fields
}
func (*StateSyncEnabledResponse) Descriptor
deprecated
func (*StateSyncEnabledResponse) Descriptor() ([]byte, []int)
Deprecated: Use StateSyncEnabledResponse.ProtoReflect.Descriptor instead.
func (*StateSyncEnabledResponse) GetEnabled ¶
func (x *StateSyncEnabledResponse) GetEnabled() bool
func (*StateSyncEnabledResponse) GetErr ¶
func (x *StateSyncEnabledResponse) GetErr() Error
func (*StateSyncEnabledResponse) ProtoMessage ¶
func (*StateSyncEnabledResponse) ProtoMessage()
func (*StateSyncEnabledResponse) ProtoReflect ¶
func (x *StateSyncEnabledResponse) ProtoReflect() protoreflect.Message
func (*StateSyncEnabledResponse) Reset ¶
func (x *StateSyncEnabledResponse) Reset()
func (*StateSyncEnabledResponse) String ¶
func (x *StateSyncEnabledResponse) String() string
type VersionResponse ¶
type VersionResponse struct {
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
// contains filtered or unexported fields
}
func (*VersionResponse) Descriptor
deprecated
func (*VersionResponse) Descriptor() ([]byte, []int)
Deprecated: Use VersionResponse.ProtoReflect.Descriptor instead.
func (*VersionResponse) GetVersion ¶
func (x *VersionResponse) GetVersion() string
func (*VersionResponse) ProtoMessage ¶
func (*VersionResponse) ProtoMessage()
func (*VersionResponse) ProtoReflect ¶
func (x *VersionResponse) ProtoReflect() protoreflect.Message
func (*VersionResponse) Reset ¶
func (x *VersionResponse) Reset()
func (*VersionResponse) String ¶
func (x *VersionResponse) String() string
type WaitForEventResponse ¶
type WaitForEventResponse struct {
Message Message `protobuf:"varint,1,opt,name=message,proto3,enum=vm.Message" json:"message,omitempty"`
// contains filtered or unexported fields
}
func (*WaitForEventResponse) Descriptor
deprecated
func (*WaitForEventResponse) Descriptor() ([]byte, []int)
Deprecated: Use WaitForEventResponse.ProtoReflect.Descriptor instead.
func (*WaitForEventResponse) GetMessage ¶
func (x *WaitForEventResponse) GetMessage() Message
func (*WaitForEventResponse) ProtoMessage ¶
func (*WaitForEventResponse) ProtoMessage()
func (*WaitForEventResponse) ProtoReflect ¶
func (x *WaitForEventResponse) ProtoReflect() protoreflect.Message
func (*WaitForEventResponse) Reset ¶
func (x *WaitForEventResponse) Reset()
func (*WaitForEventResponse) String ¶
func (x *WaitForEventResponse) String() string