vm

package
v0.0.0-...-6519026 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 19, 2024 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	VM_Initialize_FullMethodName                 = "/vm.VM/Initialize"
	VM_SetState_FullMethodName                   = "/vm.VM/SetState"
	VM_Shutdown_FullMethodName                   = "/vm.VM/Shutdown"
	VM_CreateHandlers_FullMethodName             = "/vm.VM/CreateHandlers"
	VM_Connected_FullMethodName                  = "/vm.VM/Connected"
	VM_Disconnected_FullMethodName               = "/vm.VM/Disconnected"
	VM_BuildBlock_FullMethodName                 = "/vm.VM/BuildBlock"
	VM_ParseBlock_FullMethodName                 = "/vm.VM/ParseBlock"
	VM_GetBlock_FullMethodName                   = "/vm.VM/GetBlock"
	VM_SetPreference_FullMethodName              = "/vm.VM/SetPreference"
	VM_Health_FullMethodName                     = "/vm.VM/Health"
	VM_Version_FullMethodName                    = "/vm.VM/Version"
	VM_AppRequest_FullMethodName                 = "/vm.VM/AppRequest"
	VM_AppRequestFailed_FullMethodName           = "/vm.VM/AppRequestFailed"
	VM_AppResponse_FullMethodName                = "/vm.VM/AppResponse"
	VM_AppGossip_FullMethodName                  = "/vm.VM/AppGossip"
	VM_Gather_FullMethodName                     = "/vm.VM/Gather"
	VM_CrossChainAppRequest_FullMethodName       = "/vm.VM/CrossChainAppRequest"
	VM_CrossChainAppRequestFailed_FullMethodName = "/vm.VM/CrossChainAppRequestFailed"
	VM_CrossChainAppResponse_FullMethodName      = "/vm.VM/CrossChainAppResponse"
	VM_GetAncestors_FullMethodName               = "/vm.VM/GetAncestors"
	VM_BatchedParseBlock_FullMethodName          = "/vm.VM/BatchedParseBlock"
	VM_GetBlockIDAtHeight_FullMethodName         = "/vm.VM/GetBlockIDAtHeight"
	VM_StateSyncEnabled_FullMethodName           = "/vm.VM/StateSyncEnabled"
	VM_GetOngoingSyncStateSummary_FullMethodName = "/vm.VM/GetOngoingSyncStateSummary"
	VM_GetLastStateSummary_FullMethodName        = "/vm.VM/GetLastStateSummary"
	VM_ParseStateSummary_FullMethodName          = "/vm.VM/ParseStateSummary"
	VM_GetStateSummary_FullMethodName            = "/vm.VM/GetStateSummary"
	VM_BlockVerify_FullMethodName                = "/vm.VM/BlockVerify"
	VM_BlockAccept_FullMethodName                = "/vm.VM/BlockAccept"
	VM_BlockReject_FullMethodName                = "/vm.VM/BlockReject"
	VM_StateSummaryAccept_FullMethodName         = "/vm.VM/StateSummaryAccept"
)

Variables

View Source
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.

View Source
var (
	Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "STATUS_PROCESSING",
		2: "STATUS_REJECTED",
		3: "STATUS_ACCEPTED",
	}
	Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"STATUS_PROCESSING":  1,
		"STATUS_REJECTED":    2,
		"STATUS_ACCEPTED":    3,
	}
)

Enum value maps for Status.

View Source
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.

View Source
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.

View Source
var File_vm_vm_proto protoreflect.FileDescriptor
View Source
var VM_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "vm.VM",
	HandlerType: (*VMServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Initialize",
			Handler:    _VM_Initialize_Handler,
		},
		{
			MethodName: "SetState",
			Handler:    _VM_SetState_Handler,
		},
		{
			MethodName: "Shutdown",
			Handler:    _VM_Shutdown_Handler,
		},
		{
			MethodName: "CreateHandlers",
			Handler:    _VM_CreateHandlers_Handler,
		},
		{
			MethodName: "Connected",
			Handler:    _VM_Connected_Handler,
		},
		{
			MethodName: "Disconnected",
			Handler:    _VM_Disconnected_Handler,
		},
		{
			MethodName: "BuildBlock",
			Handler:    _VM_BuildBlock_Handler,
		},
		{
			MethodName: "ParseBlock",
			Handler:    _VM_ParseBlock_Handler,
		},
		{
			MethodName: "GetBlock",
			Handler:    _VM_GetBlock_Handler,
		},
		{
			MethodName: "SetPreference",
			Handler:    _VM_SetPreference_Handler,
		},
		{
			MethodName: "Health",
			Handler:    _VM_Health_Handler,
		},
		{
			MethodName: "Version",
			Handler:    _VM_Version_Handler,
		},
		{
			MethodName: "AppRequest",
			Handler:    _VM_AppRequest_Handler,
		},
		{
			MethodName: "AppRequestFailed",
			Handler:    _VM_AppRequestFailed_Handler,
		},
		{
			MethodName: "AppResponse",
			Handler:    _VM_AppResponse_Handler,
		},
		{
			MethodName: "AppGossip",
			Handler:    _VM_AppGossip_Handler,
		},
		{
			MethodName: "Gather",
			Handler:    _VM_Gather_Handler,
		},
		{
			MethodName: "CrossChainAppRequest",
			Handler:    _VM_CrossChainAppRequest_Handler,
		},
		{
			MethodName: "CrossChainAppRequestFailed",
			Handler:    _VM_CrossChainAppRequestFailed_Handler,
		},
		{
			MethodName: "CrossChainAppResponse",
			Handler:    _VM_CrossChainAppResponse_Handler,
		},
		{
			MethodName: "GetAncestors",
			Handler:    _VM_GetAncestors_Handler,
		},
		{
			MethodName: "BatchedParseBlock",
			Handler:    _VM_BatchedParseBlock_Handler,
		},
		{
			MethodName: "GetBlockIDAtHeight",
			Handler:    _VM_GetBlockIDAtHeight_Handler,
		},
		{
			MethodName: "StateSyncEnabled",
			Handler:    _VM_StateSyncEnabled_Handler,
		},
		{
			MethodName: "GetOngoingSyncStateSummary",
			Handler:    _VM_GetOngoingSyncStateSummary_Handler,
		},
		{
			MethodName: "GetLastStateSummary",
			Handler:    _VM_GetLastStateSummary_Handler,
		},
		{
			MethodName: "ParseStateSummary",
			Handler:    _VM_ParseStateSummary_Handler,
		},
		{
			MethodName: "GetStateSummary",
			Handler:    _VM_GetStateSummary_Handler,
		},
		{
			MethodName: "BlockVerify",
			Handler:    _VM_BlockVerify_Handler,
		},
		{
			MethodName: "BlockAccept",
			Handler:    _VM_BlockAccept_Handler,
		},
		{
			MethodName: "BlockReject",
			Handler:    _VM_BlockReject_Handler,
		},
		{
			MethodName: "StateSummaryAccept",
			Handler:    _VM_StateSummaryAccept_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "vm/vm.proto",
}

VM_ServiceDesc is the grpc.ServiceDesc for VM service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterVMServer

func RegisterVMServer(s grpc.ServiceRegistrar, srv VMServer)

Types

type AppGossipMsg

type AppGossipMsg 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 (*AppGossipMsg) Descriptor deprecated

func (*AppGossipMsg) Descriptor() ([]byte, []int)

Deprecated: Use AppGossipMsg.ProtoReflect.Descriptor instead.

func (*AppGossipMsg) GetMsg

func (x *AppGossipMsg) GetMsg() []byte

func (*AppGossipMsg) GetNodeId

func (x *AppGossipMsg) GetNodeId() []byte

func (*AppGossipMsg) ProtoMessage

func (*AppGossipMsg) ProtoMessage()

func (*AppGossipMsg) ProtoReflect

func (x *AppGossipMsg) ProtoReflect() protoreflect.Message

func (*AppGossipMsg) Reset

func (x *AppGossipMsg) Reset()

func (*AppGossipMsg) String

func (x *AppGossipMsg) String() string

type AppRequestFailedMsg

type AppRequestFailedMsg 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 (*AppRequestFailedMsg) Descriptor deprecated

func (*AppRequestFailedMsg) Descriptor() ([]byte, []int)

Deprecated: Use AppRequestFailedMsg.ProtoReflect.Descriptor instead.

func (*AppRequestFailedMsg) GetErrorCode

func (x *AppRequestFailedMsg) GetErrorCode() int32

func (*AppRequestFailedMsg) GetErrorMessage

func (x *AppRequestFailedMsg) GetErrorMessage() string

func (*AppRequestFailedMsg) GetNodeId

func (x *AppRequestFailedMsg) GetNodeId() []byte

func (*AppRequestFailedMsg) GetRequestId

func (x *AppRequestFailedMsg) GetRequestId() uint32

func (*AppRequestFailedMsg) ProtoMessage

func (*AppRequestFailedMsg) ProtoMessage()

func (*AppRequestFailedMsg) ProtoReflect

func (x *AppRequestFailedMsg) ProtoReflect() protoreflect.Message

func (*AppRequestFailedMsg) Reset

func (x *AppRequestFailedMsg) Reset()

func (*AppRequestFailedMsg) String

func (x *AppRequestFailedMsg) String() string

type AppRequestMsg

type AppRequestMsg 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 (*AppRequestMsg) Descriptor deprecated

func (*AppRequestMsg) Descriptor() ([]byte, []int)

Deprecated: Use AppRequestMsg.ProtoReflect.Descriptor instead.

func (*AppRequestMsg) GetDeadline

func (x *AppRequestMsg) GetDeadline() *timestamppb.Timestamp

func (*AppRequestMsg) GetNodeId

func (x *AppRequestMsg) GetNodeId() []byte

func (*AppRequestMsg) GetRequest

func (x *AppRequestMsg) GetRequest() []byte

func (*AppRequestMsg) GetRequestId

func (x *AppRequestMsg) GetRequestId() uint32

func (*AppRequestMsg) ProtoMessage

func (*AppRequestMsg) ProtoMessage()

func (*AppRequestMsg) ProtoReflect

func (x *AppRequestMsg) ProtoReflect() protoreflect.Message

func (*AppRequestMsg) Reset

func (x *AppRequestMsg) Reset()

func (*AppRequestMsg) String

func (x *AppRequestMsg) String() string

type AppResponseMsg

type AppResponseMsg 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 (*AppResponseMsg) Descriptor deprecated

func (*AppResponseMsg) Descriptor() ([]byte, []int)

Deprecated: Use AppResponseMsg.ProtoReflect.Descriptor instead.

func (*AppResponseMsg) GetNodeId

func (x *AppResponseMsg) GetNodeId() []byte

func (*AppResponseMsg) GetRequestId

func (x *AppResponseMsg) GetRequestId() uint32

func (*AppResponseMsg) GetResponse

func (x *AppResponseMsg) GetResponse() []byte

func (*AppResponseMsg) ProtoMessage

func (*AppResponseMsg) ProtoMessage()

func (*AppResponseMsg) ProtoReflect

func (x *AppResponseMsg) ProtoReflect() protoreflect.Message

func (*AppResponseMsg) Reset

func (x *AppResponseMsg) Reset()

func (*AppResponseMsg) String

func (x *AppResponseMsg) String() string

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 (*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.WithVerifyContext] and
	// calls [VerifyWithContext] 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"`
	VerifyWithContext 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) GetVerifyWithContext

func (x *BuildBlockResponse) GetVerifyWithContext() 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 avalanchego)
	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 CrossChainAppRequestFailedMsg

type CrossChainAppRequestFailedMsg struct {

	// The chain that we failed to get a response from
	ChainId []byte `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_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 (*CrossChainAppRequestFailedMsg) Descriptor deprecated

func (*CrossChainAppRequestFailedMsg) Descriptor() ([]byte, []int)

Deprecated: Use CrossChainAppRequestFailedMsg.ProtoReflect.Descriptor instead.

func (*CrossChainAppRequestFailedMsg) GetChainId

func (x *CrossChainAppRequestFailedMsg) GetChainId() []byte

func (*CrossChainAppRequestFailedMsg) GetErrorCode

func (x *CrossChainAppRequestFailedMsg) GetErrorCode() int32

func (*CrossChainAppRequestFailedMsg) GetErrorMessage

func (x *CrossChainAppRequestFailedMsg) GetErrorMessage() string

func (*CrossChainAppRequestFailedMsg) GetRequestId

func (x *CrossChainAppRequestFailedMsg) GetRequestId() uint32

func (*CrossChainAppRequestFailedMsg) ProtoMessage

func (*CrossChainAppRequestFailedMsg) ProtoMessage()

func (*CrossChainAppRequestFailedMsg) ProtoReflect

func (*CrossChainAppRequestFailedMsg) Reset

func (x *CrossChainAppRequestFailedMsg) Reset()

func (*CrossChainAppRequestFailedMsg) String

type CrossChainAppRequestMsg

type CrossChainAppRequestMsg struct {

	// The chain that sent us this request
	ChainId []byte `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_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 (*CrossChainAppRequestMsg) Descriptor deprecated

func (*CrossChainAppRequestMsg) Descriptor() ([]byte, []int)

Deprecated: Use CrossChainAppRequestMsg.ProtoReflect.Descriptor instead.

func (*CrossChainAppRequestMsg) GetChainId

func (x *CrossChainAppRequestMsg) GetChainId() []byte

func (*CrossChainAppRequestMsg) GetDeadline

func (x *CrossChainAppRequestMsg) GetDeadline() *timestamppb.Timestamp

func (*CrossChainAppRequestMsg) GetRequest

func (x *CrossChainAppRequestMsg) GetRequest() []byte

func (*CrossChainAppRequestMsg) GetRequestId

func (x *CrossChainAppRequestMsg) GetRequestId() uint32

func (*CrossChainAppRequestMsg) ProtoMessage

func (*CrossChainAppRequestMsg) ProtoMessage()

func (*CrossChainAppRequestMsg) ProtoReflect

func (x *CrossChainAppRequestMsg) ProtoReflect() protoreflect.Message

func (*CrossChainAppRequestMsg) Reset

func (x *CrossChainAppRequestMsg) Reset()

func (*CrossChainAppRequestMsg) String

func (x *CrossChainAppRequestMsg) String() string

type CrossChainAppResponseMsg

type CrossChainAppResponseMsg struct {

	// The chain that we got a response from
	ChainId []byte `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_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 (*CrossChainAppResponseMsg) Descriptor deprecated

func (*CrossChainAppResponseMsg) Descriptor() ([]byte, []int)

Deprecated: Use CrossChainAppResponseMsg.ProtoReflect.Descriptor instead.

func (*CrossChainAppResponseMsg) GetChainId

func (x *CrossChainAppResponseMsg) GetChainId() []byte

func (*CrossChainAppResponseMsg) GetRequestId

func (x *CrossChainAppResponseMsg) GetRequestId() uint32

func (*CrossChainAppResponseMsg) GetResponse

func (x *CrossChainAppResponseMsg) GetResponse() []byte

func (*CrossChainAppResponseMsg) ProtoMessage

func (*CrossChainAppResponseMsg) ProtoMessage()

func (*CrossChainAppResponseMsg) ProtoReflect

func (x *CrossChainAppResponseMsg) ProtoReflect() protoreflect.Message

func (*CrossChainAppResponseMsg) Reset

func (x *CrossChainAppResponseMsg) Reset()

func (*CrossChainAppResponseMsg) String

func (x *CrossChainAppResponseMsg) 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
const (
	// ERROR_UNSPECIFIED is used to indicate that no error occurred.
	Error_ERROR_UNSPECIFIED                Error = 0
	Error_ERROR_CLOSED                     Error = 1
	Error_ERROR_NOT_FOUND                  Error = 2
	Error_ERROR_STATE_SYNC_NOT_IMPLEMENTED Error = 3
)

func (Error) Descriptor

func (Error) Descriptor() protoreflect.EnumDescriptor

func (Error) Enum

func (x Error) Enum() *Error

func (Error) EnumDescriptor deprecated

func (Error) EnumDescriptor() ([]byte, []int)

Deprecated: Use Error.Descriptor instead.

func (Error) Number

func (x Error) Number() protoreflect.EnumNumber

func (Error) String

func (x Error) String() string

func (Error) Type

func (Error) Type() protoreflect.EnumType

type GatherResponse

type GatherResponse struct {
	MetricFamilies []*_go.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() []*_go.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 (*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 (*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"`
	Status    Status                 `protobuf:"varint,3,opt,name=status,proto3,enum=vm.Status" json:"status,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"`
	VerifyWithContext 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) GetStatus

func (x *GetBlockResponse) GetStatus() Status

func (*GetBlockResponse) GetTimestamp

func (x *GetBlockResponse) GetTimestamp() *timestamppb.Timestamp

func (*GetBlockResponse) GetVerifyWithContext

func (x *GetBlockResponse) GetVerifyWithContext() 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 (*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 (*GetOngoingSyncStateSummaryResponse) GetHeight

func (*GetOngoingSyncStateSummaryResponse) GetId

func (*GetOngoingSyncStateSummaryResponse) ProtoMessage

func (*GetOngoingSyncStateSummaryResponse) ProtoMessage()

func (*GetOngoingSyncStateSummaryResponse) ProtoReflect

func (*GetOngoingSyncStateSummaryResponse) Reset

func (*GetOngoingSyncStateSummaryResponse) 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 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) Descriptor() ([]byte, []int)

Deprecated: Use Handler.ProtoReflect.Descriptor instead.

func (*Handler) GetPrefix

func (x *Handler) GetPrefix() string

func (*Handler) GetServerAddr

func (x *Handler) GetServerAddr() string

func (*Handler) ProtoMessage

func (*Handler) ProtoMessage()

func (*Handler) ProtoReflect

func (x *Handler) ProtoReflect() protoreflect.Message

func (*Handler) Reset

func (x *Handler) Reset()

func (*Handler) String

func (x *Handler) String() string

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"`
	SupernetId []byte `protobuf:"bytes,2,opt,name=supernet_id,json=supernetId,proto3" json:"supernet_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"`
	AvaxAssetId  []byte `protobuf:"bytes,8,opt,name=avax_asset_id,json=avaxAssetId,proto3" json:"avax_asset_id,omitempty"`
	ChainAssetId []byte `protobuf:"bytes,9,opt,name=chain_asset_id,json=chainAssetId,proto3" json:"chain_asset_id,omitempty"`
	ChainDataDir string `protobuf:"bytes,10,opt,name=chain_data_dir,json=chainDataDir,proto3" json:"chain_data_dir,omitempty"`
	GenesisBytes []byte `protobuf:"bytes,11,opt,name=genesis_bytes,json=genesisBytes,proto3" json:"genesis_bytes,omitempty"`
	UpgradeBytes []byte `protobuf:"bytes,12,opt,name=upgrade_bytes,json=upgradeBytes,proto3" json:"upgrade_bytes,omitempty"`
	ConfigBytes  []byte `protobuf:"bytes,13,opt,name=config_bytes,json=configBytes,proto3" json:"config_bytes,omitempty"`
	DbServerAddr string `protobuf:"bytes,14,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 messenger, keystore, shared memory, blockchain alias,
	// supernet alias, and appSender services
	ServerAddr string `protobuf:"bytes,15,opt,name=server_addr,json=serverAddr,proto3" json:"server_addr,omitempty"`
	// contains filtered or unexported fields
}

func (*InitializeRequest) Descriptor deprecated

func (*InitializeRequest) Descriptor() ([]byte, []int)

Deprecated: Use InitializeRequest.ProtoReflect.Descriptor instead.

func (*InitializeRequest) GetAvaxAssetId

func (x *InitializeRequest) GetAvaxAssetId() []byte

func (*InitializeRequest) GetCChainId

func (x *InitializeRequest) GetCChainId() []byte

func (*InitializeRequest) GetChainAssetId

func (x *InitializeRequest) GetChainAssetId() []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) GetNetworkId

func (x *InitializeRequest) GetNetworkId() uint32

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) GetSupernetId

func (x *InitializeRequest) GetSupernetId() []byte

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 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"`
	Status            Status                 `protobuf:"varint,3,opt,name=status,proto3,enum=vm.Status" json:"status,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"`
	VerifyWithContext 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) GetStatus

func (x *ParseBlockResponse) GetStatus() Status

func (*ParseBlockResponse) GetTimestamp

func (x *ParseBlockResponse) GetTimestamp() *timestamppb.Timestamp

func (*ParseBlockResponse) GetVerifyWithContext

func (x *ParseBlockResponse) GetVerifyWithContext() 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 (*ParseStateSummaryResponse) Reset

func (x *ParseStateSummaryResponse) Reset()

func (*ParseStateSummaryResponse) String

func (x *ParseStateSummaryResponse) 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
const (
	State_STATE_UNSPECIFIED   State = 0
	State_STATE_STATE_SYNCING State = 1
	State_STATE_BOOTSTRAPPING State = 2
	State_STATE_NORMAL_OP     State = 3
)

func (State) Descriptor

func (State) Descriptor() protoreflect.EnumDescriptor

func (State) Enum

func (x State) Enum() *State

func (State) EnumDescriptor deprecated

func (State) EnumDescriptor() ([]byte, []int)

Deprecated: Use State.Descriptor instead.

func (State) Number

func (x State) Number() protoreflect.EnumNumber

func (State) String

func (x State) String() string

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 (*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 (*StateSummaryAcceptResponse) ProtoMessage

func (*StateSummaryAcceptResponse) ProtoMessage()

func (*StateSummaryAcceptResponse) ProtoReflect

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) Enum

func (StateSummaryAcceptResponse_Mode) EnumDescriptor deprecated

func (StateSummaryAcceptResponse_Mode) EnumDescriptor() ([]byte, []int)

Deprecated: Use StateSummaryAcceptResponse_Mode.Descriptor instead.

func (StateSummaryAcceptResponse_Mode) Number

func (StateSummaryAcceptResponse_Mode) String

func (StateSummaryAcceptResponse_Mode) Type

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 Status

type Status int32
const (
	Status_STATUS_UNSPECIFIED Status = 0
	Status_STATUS_PROCESSING  Status = 1
	Status_STATUS_REJECTED    Status = 2
	Status_STATUS_ACCEPTED    Status = 3
)

func (Status) Descriptor

func (Status) Descriptor() protoreflect.EnumDescriptor

func (Status) Enum

func (x Status) Enum() *Status

func (Status) EnumDescriptor deprecated

func (Status) EnumDescriptor() ([]byte, []int)

Deprecated: Use Status.Descriptor instead.

func (Status) Number

func (x Status) Number() protoreflect.EnumNumber

func (Status) String

func (x Status) String() string

func (Status) Type

func (Status) Type() protoreflect.EnumType

type UnimplementedVMServer

type UnimplementedVMServer struct {
}

UnimplementedVMServer must be embedded to have forward compatible implementations.

func (UnimplementedVMServer) AppGossip

func (UnimplementedVMServer) AppRequest

func (UnimplementedVMServer) AppRequestFailed

func (UnimplementedVMServer) AppResponse

func (UnimplementedVMServer) BlockAccept

func (UnimplementedVMServer) BlockReject

func (UnimplementedVMServer) BlockVerify

func (UnimplementedVMServer) BuildBlock

func (UnimplementedVMServer) Connected

func (UnimplementedVMServer) CreateHandlers

func (UnimplementedVMServer) CrossChainAppRequest

func (UnimplementedVMServer) CrossChainAppRequestFailed

func (UnimplementedVMServer) CrossChainAppResponse

func (UnimplementedVMServer) Disconnected

func (UnimplementedVMServer) Gather

func (UnimplementedVMServer) GetAncestors

func (UnimplementedVMServer) GetBlock

func (UnimplementedVMServer) GetLastStateSummary

func (UnimplementedVMServer) GetOngoingSyncStateSummary

func (UnimplementedVMServer) GetStateSummary

func (UnimplementedVMServer) Health

func (UnimplementedVMServer) Initialize

func (UnimplementedVMServer) ParseBlock

func (UnimplementedVMServer) SetPreference

func (UnimplementedVMServer) SetState

func (UnimplementedVMServer) Shutdown

func (UnimplementedVMServer) StateSyncEnabled

func (UnimplementedVMServer) Version

type UnsafeVMServer

type UnsafeVMServer interface {
	// contains filtered or unexported methods
}

UnsafeVMServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to VMServer will result in compilation errors.

type VMClient

type VMClient interface {
	// ChainVM
	//
	// Initialize this VM.
	Initialize(ctx context.Context, in *InitializeRequest, opts ...grpc.CallOption) (*InitializeResponse, error)
	// SetState communicates to VM its next state it starts
	SetState(ctx context.Context, in *SetStateRequest, opts ...grpc.CallOption) (*SetStateResponse, error)
	// Shutdown is called when the node is shutting down.
	Shutdown(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Creates the HTTP handlers for custom chain network calls.
	CreateHandlers(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*CreateHandlersResponse, error)
	Connected(ctx context.Context, in *ConnectedRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Disconnected(ctx context.Context, in *DisconnectedRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Attempt to create a new block from data contained in the VM.
	BuildBlock(ctx context.Context, in *BuildBlockRequest, opts ...grpc.CallOption) (*BuildBlockResponse, error)
	// Attempt to create a block from a stream of bytes.
	ParseBlock(ctx context.Context, in *ParseBlockRequest, opts ...grpc.CallOption) (*ParseBlockResponse, error)
	// Attempt to load a block.
	GetBlock(ctx context.Context, in *GetBlockRequest, opts ...grpc.CallOption) (*GetBlockResponse, error)
	// Notify the VM of the currently preferred block.
	SetPreference(ctx context.Context, in *SetPreferenceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Attempt to verify the health of the VM.
	Health(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*HealthResponse, error)
	// Version returns the version of the VM.
	Version(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*VersionResponse, error)
	// Notify this engine of a request for data from [nodeID].
	AppRequest(ctx context.Context, in *AppRequestMsg, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Notify this engine that an AppRequest message it sent to [nodeID] with
	// request ID [requestID] failed.
	AppRequestFailed(ctx context.Context, in *AppRequestFailedMsg, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Notify this engine of a response to the AppRequest message it sent to
	// [nodeID] with request ID [requestID].
	AppResponse(ctx context.Context, in *AppResponseMsg, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Notify this engine of a gossip message from [nodeID].
	AppGossip(ctx context.Context, in *AppGossipMsg, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Attempts to gather metrics from a VM.
	Gather(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GatherResponse, error)
	CrossChainAppRequest(ctx context.Context, in *CrossChainAppRequestMsg, opts ...grpc.CallOption) (*emptypb.Empty, error)
	CrossChainAppRequestFailed(ctx context.Context, in *CrossChainAppRequestFailedMsg, opts ...grpc.CallOption) (*emptypb.Empty, error)
	CrossChainAppResponse(ctx context.Context, in *CrossChainAppResponseMsg, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// BatchedChainVM
	GetAncestors(ctx context.Context, in *GetAncestorsRequest, opts ...grpc.CallOption) (*GetAncestorsResponse, error)
	BatchedParseBlock(ctx context.Context, in *BatchedParseBlockRequest, opts ...grpc.CallOption) (*BatchedParseBlockResponse, error)
	// HeightIndexedChainVM
	GetBlockIDAtHeight(ctx context.Context, in *GetBlockIDAtHeightRequest, opts ...grpc.CallOption) (*GetBlockIDAtHeightResponse, error)
	// StateSyncableVM
	//
	// StateSyncEnabled indicates whether the state sync is enabled for this VM.
	StateSyncEnabled(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*StateSyncEnabledResponse, error)
	// GetOngoingSyncStateSummary returns an in-progress state summary if it exists.
	GetOngoingSyncStateSummary(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetOngoingSyncStateSummaryResponse, error)
	// GetLastStateSummary returns the latest state summary.
	GetLastStateSummary(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetLastStateSummaryResponse, error)
	// ParseStateSummary parses a state summary out of [summaryBytes].
	ParseStateSummary(ctx context.Context, in *ParseStateSummaryRequest, opts ...grpc.CallOption) (*ParseStateSummaryResponse, error)
	// GetStateSummary retrieves the state summary that was generated at height
	// [summaryHeight].
	GetStateSummary(ctx context.Context, in *GetStateSummaryRequest, opts ...grpc.CallOption) (*GetStateSummaryResponse, error)
	// Block
	BlockVerify(ctx context.Context, in *BlockVerifyRequest, opts ...grpc.CallOption) (*BlockVerifyResponse, error)
	BlockAccept(ctx context.Context, in *BlockAcceptRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	BlockReject(ctx context.Context, in *BlockRejectRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// StateSummary
	StateSummaryAccept(ctx context.Context, in *StateSummaryAcceptRequest, opts ...grpc.CallOption) (*StateSummaryAcceptResponse, error)
}

VMClient is the client API for VM service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewVMClient

func NewVMClient(cc grpc.ClientConnInterface) VMClient

type VMServer

type VMServer interface {
	// ChainVM
	//
	// Initialize this VM.
	Initialize(context.Context, *InitializeRequest) (*InitializeResponse, error)
	// SetState communicates to VM its next state it starts
	SetState(context.Context, *SetStateRequest) (*SetStateResponse, error)
	// Shutdown is called when the node is shutting down.
	Shutdown(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
	// Creates the HTTP handlers for custom chain network calls.
	CreateHandlers(context.Context, *emptypb.Empty) (*CreateHandlersResponse, error)
	Connected(context.Context, *ConnectedRequest) (*emptypb.Empty, error)
	Disconnected(context.Context, *DisconnectedRequest) (*emptypb.Empty, error)
	// Attempt to create a new block from data contained in the VM.
	BuildBlock(context.Context, *BuildBlockRequest) (*BuildBlockResponse, error)
	// Attempt to create a block from a stream of bytes.
	ParseBlock(context.Context, *ParseBlockRequest) (*ParseBlockResponse, error)
	// Attempt to load a block.
	GetBlock(context.Context, *GetBlockRequest) (*GetBlockResponse, error)
	// Notify the VM of the currently preferred block.
	SetPreference(context.Context, *SetPreferenceRequest) (*emptypb.Empty, error)
	// Attempt to verify the health of the VM.
	Health(context.Context, *emptypb.Empty) (*HealthResponse, error)
	// Version returns the version of the VM.
	Version(context.Context, *emptypb.Empty) (*VersionResponse, error)
	// Notify this engine of a request for data from [nodeID].
	AppRequest(context.Context, *AppRequestMsg) (*emptypb.Empty, error)
	// Notify this engine that an AppRequest message it sent to [nodeID] with
	// request ID [requestID] failed.
	AppRequestFailed(context.Context, *AppRequestFailedMsg) (*emptypb.Empty, error)
	// Notify this engine of a response to the AppRequest message it sent to
	// [nodeID] with request ID [requestID].
	AppResponse(context.Context, *AppResponseMsg) (*emptypb.Empty, error)
	// Notify this engine of a gossip message from [nodeID].
	AppGossip(context.Context, *AppGossipMsg) (*emptypb.Empty, error)
	// Attempts to gather metrics from a VM.
	Gather(context.Context, *emptypb.Empty) (*GatherResponse, error)
	CrossChainAppRequest(context.Context, *CrossChainAppRequestMsg) (*emptypb.Empty, error)
	CrossChainAppRequestFailed(context.Context, *CrossChainAppRequestFailedMsg) (*emptypb.Empty, error)
	CrossChainAppResponse(context.Context, *CrossChainAppResponseMsg) (*emptypb.Empty, error)
	// BatchedChainVM
	GetAncestors(context.Context, *GetAncestorsRequest) (*GetAncestorsResponse, error)
	BatchedParseBlock(context.Context, *BatchedParseBlockRequest) (*BatchedParseBlockResponse, error)
	// HeightIndexedChainVM
	GetBlockIDAtHeight(context.Context, *GetBlockIDAtHeightRequest) (*GetBlockIDAtHeightResponse, error)
	// StateSyncableVM
	//
	// StateSyncEnabled indicates whether the state sync is enabled for this VM.
	StateSyncEnabled(context.Context, *emptypb.Empty) (*StateSyncEnabledResponse, error)
	// GetOngoingSyncStateSummary returns an in-progress state summary if it exists.
	GetOngoingSyncStateSummary(context.Context, *emptypb.Empty) (*GetOngoingSyncStateSummaryResponse, error)
	// GetLastStateSummary returns the latest state summary.
	GetLastStateSummary(context.Context, *emptypb.Empty) (*GetLastStateSummaryResponse, error)
	// ParseStateSummary parses a state summary out of [summaryBytes].
	ParseStateSummary(context.Context, *ParseStateSummaryRequest) (*ParseStateSummaryResponse, error)
	// GetStateSummary retrieves the state summary that was generated at height
	// [summaryHeight].
	GetStateSummary(context.Context, *GetStateSummaryRequest) (*GetStateSummaryResponse, error)
	// Block
	BlockVerify(context.Context, *BlockVerifyRequest) (*BlockVerifyResponse, error)
	BlockAccept(context.Context, *BlockAcceptRequest) (*emptypb.Empty, error)
	BlockReject(context.Context, *BlockRejectRequest) (*emptypb.Empty, error)
	// StateSummary
	StateSummaryAccept(context.Context, *StateSummaryAcceptRequest) (*StateSummaryAcceptResponse, error)
	// contains filtered or unexported methods
}

VMServer is the server API for VM service. All implementations must embed UnimplementedVMServer for forward compatibility

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL