vmproto

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2022 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_vmproto_vm_proto protoreflect.FileDescriptor
View Source
var VM_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "vmproto.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: "CreateStaticHandlers",
			Handler:    _VM_CreateStaticHandlers_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: "BlockVerify",
			Handler:    _VM_BlockVerify_Handler,
		},
		{
			MethodName: "BlockAccept",
			Handler:    _VM_BlockAccept_Handler,
		},
		{
			MethodName: "BlockReject",
			Handler:    _VM_BlockReject_Handler,
		},
		{
			MethodName: "GetAncestors",
			Handler:    _VM_GetAncestors_Handler,
		},
		{
			MethodName: "BatchedParseBlock",
			Handler:    _VM_BatchedParseBlock_Handler,
		},
		{
			MethodName: "VerifyHeightIndex",
			Handler:    _VM_VerifyHeightIndex_Handler,
		},
		{
			MethodName: "GetBlockIDAtHeight",
			Handler:    _VM_GetBlockIDAtHeight_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "vmproto/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"`
	// contains filtered or unexported fields
}

func (*AppRequestFailedMsg) Descriptor deprecated

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

Deprecated: Use AppRequestFailedMsg.ProtoReflect.Descriptor instead.

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 []byte `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() []byte

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"`
	// 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) 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 []byte `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() []byte

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 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 []byte `protobuf:"bytes,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // status is always processing
	// contains filtered or unexported fields
}

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() []byte

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"`
	Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*ConnectedRequest) Descriptor deprecated

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

Deprecated: Use ConnectedRequest.ProtoReflect.Descriptor instead.

func (*ConnectedRequest) GetNodeId

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

func (*ConnectedRequest) GetVersion

func (x *ConnectedRequest) GetVersion() string

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 CreateStaticHandlersResponse

type CreateStaticHandlersResponse struct {
	Handlers []*Handler `protobuf:"bytes,1,rep,name=handlers,proto3" json:"handlers,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateStaticHandlersResponse) Descriptor deprecated

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

Deprecated: Use CreateStaticHandlersResponse.ProtoReflect.Descriptor instead.

func (*CreateStaticHandlersResponse) GetHandlers

func (x *CreateStaticHandlersResponse) GetHandlers() []*Handler

func (*CreateStaticHandlersResponse) ProtoMessage

func (*CreateStaticHandlersResponse) ProtoMessage()

func (*CreateStaticHandlersResponse) ProtoReflect

func (*CreateStaticHandlersResponse) Reset

func (x *CreateStaticHandlersResponse) Reset()

func (*CreateStaticHandlersResponse) 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 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   uint32 `protobuf:"varint,2,opt,name=err,proto3" 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() uint32

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    uint32 `protobuf:"varint,3,opt,name=status,proto3" json:"status,omitempty"`
	Height    uint64 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"`
	Timestamp []byte `protobuf:"bytes,5,opt,name=timestamp,proto3" json:"timestamp,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) GetHeight

func (x *GetBlockResponse) GetHeight() uint64

func (*GetBlockResponse) GetParentId

func (x *GetBlockResponse) GetParentId() []byte

func (*GetBlockResponse) GetStatus

func (x *GetBlockResponse) GetStatus() uint32

func (*GetBlockResponse) GetTimestamp

func (x *GetBlockResponse) GetTimestamp() []byte

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 Handler

type Handler struct {
	Prefix      string `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"`
	LockOptions uint32 `protobuf:"varint,2,opt,name=lock_options,json=lockOptions,proto3" json:"lock_options,omitempty"`
	Server      uint32 `protobuf:"varint,3,opt,name=server,proto3" json:"server,omitempty"`
	// contains filtered or unexported fields
}

func (*Handler) Descriptor deprecated

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

Deprecated: Use Handler.ProtoReflect.Descriptor instead.

func (*Handler) GetLockOptions

func (x *Handler) GetLockOptions() uint32

func (*Handler) GetPrefix

func (x *Handler) GetPrefix() string

func (*Handler) GetServer

func (x *Handler) GetServer() uint32

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 string `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() string

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"`
	SubnetId           []byte               `protobuf:"bytes,2,opt,name=subnet_id,json=subnetId,proto3" json:"subnet_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"`
	XChainId           []byte               `protobuf:"bytes,5,opt,name=x_chain_id,json=xChainId,proto3" json:"x_chain_id,omitempty"`
	AvaxAssetId        []byte               `protobuf:"bytes,6,opt,name=avax_asset_id,json=avaxAssetId,proto3" json:"avax_asset_id,omitempty"`
	GenesisBytes       []byte               `protobuf:"bytes,7,opt,name=genesis_bytes,json=genesisBytes,proto3" json:"genesis_bytes,omitempty"`
	UpgradeBytes       []byte               `protobuf:"bytes,8,opt,name=upgrade_bytes,json=upgradeBytes,proto3" json:"upgrade_bytes,omitempty"`
	ConfigBytes        []byte               `protobuf:"bytes,9,opt,name=config_bytes,json=configBytes,proto3" json:"config_bytes,omitempty"`
	DbServers          []*VersionedDBServer `protobuf:"bytes,10,rep,name=db_servers,json=dbServers,proto3" json:"db_servers,omitempty"`
	EngineServer       uint32               `protobuf:"varint,11,opt,name=engine_server,json=engineServer,proto3" json:"engine_server,omitempty"`
	KeystoreServer     uint32               `protobuf:"varint,12,opt,name=keystore_server,json=keystoreServer,proto3" json:"keystore_server,omitempty"`
	SharedMemoryServer uint32               `protobuf:"varint,13,opt,name=shared_memory_server,json=sharedMemoryServer,proto3" json:"shared_memory_server,omitempty"`
	BcLookupServer     uint32               `protobuf:"varint,14,opt,name=bc_lookup_server,json=bcLookupServer,proto3" json:"bc_lookup_server,omitempty"`
	SnLookupServer     uint32               `protobuf:"varint,15,opt,name=sn_lookup_server,json=snLookupServer,proto3" json:"sn_lookup_server,omitempty"`
	AppSenderServer    uint32               `protobuf:"varint,16,opt,name=app_sender_server,json=appSenderServer,proto3" json:"app_sender_server,omitempty"`
	// contains filtered or unexported fields
}

func (*InitializeRequest) Descriptor deprecated

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

Deprecated: Use InitializeRequest.ProtoReflect.Descriptor instead.

func (*InitializeRequest) GetAppSenderServer

func (x *InitializeRequest) GetAppSenderServer() uint32

func (*InitializeRequest) GetAvaxAssetId

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

func (*InitializeRequest) GetBcLookupServer

func (x *InitializeRequest) GetBcLookupServer() uint32

func (*InitializeRequest) GetChainId

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

func (*InitializeRequest) GetConfigBytes

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

func (*InitializeRequest) GetDbServers

func (x *InitializeRequest) GetDbServers() []*VersionedDBServer

func (*InitializeRequest) GetEngineServer

func (x *InitializeRequest) GetEngineServer() uint32

func (*InitializeRequest) GetGenesisBytes

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

func (*InitializeRequest) GetKeystoreServer

func (x *InitializeRequest) GetKeystoreServer() uint32

func (*InitializeRequest) GetNetworkId

func (x *InitializeRequest) GetNetworkId() uint32

func (*InitializeRequest) GetNodeId

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

func (*InitializeRequest) GetSharedMemoryServer

func (x *InitializeRequest) GetSharedMemoryServer() uint32

func (*InitializeRequest) GetSnLookupServer

func (x *InitializeRequest) GetSnLookupServer() uint32

func (*InitializeRequest) GetSubnetId

func (x *InitializeRequest) GetSubnetId() []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"`
	Status               uint32 `protobuf:"varint,3,opt,name=status,proto3" json:"status,omitempty"`
	Height               uint64 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"`
	Bytes                []byte `protobuf:"bytes,5,opt,name=bytes,proto3" json:"bytes,omitempty"`
	Timestamp            []byte `protobuf:"bytes,6,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) GetStatus

func (x *InitializeResponse) GetStatus() uint32

func (*InitializeResponse) GetTimestamp

func (x *InitializeResponse) GetTimestamp() []byte

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    uint32 `protobuf:"varint,3,opt,name=status,proto3" json:"status,omitempty"`
	Height    uint64 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"`
	Timestamp []byte `protobuf:"bytes,5,opt,name=timestamp,proto3" json:"timestamp,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() uint32

func (*ParseBlockResponse) GetTimestamp

func (x *ParseBlockResponse) GetTimestamp() []byte

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 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 uint32 `protobuf:"varint,1,opt,name=state,proto3" 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() uint32

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

func (UnimplementedVMServer) Disconnected

func (UnimplementedVMServer) Gather

func (UnimplementedVMServer) GetAncestors

func (UnimplementedVMServer) GetBlock

func (UnimplementedVMServer) Health

func (UnimplementedVMServer) Initialize

func (UnimplementedVMServer) ParseBlock

func (UnimplementedVMServer) SetPreference

func (UnimplementedVMServer) SetState

func (UnimplementedVMServer) Shutdown

func (UnimplementedVMServer) VerifyHeightIndex

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 {
	Initialize(ctx context.Context, in *InitializeRequest, opts ...grpc.CallOption) (*InitializeResponse, error)
	SetState(ctx context.Context, in *SetStateRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Shutdown(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
	CreateHandlers(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*CreateHandlersResponse, error)
	CreateStaticHandlers(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*CreateStaticHandlersResponse, 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)
	BuildBlock(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*BuildBlockResponse, error)
	ParseBlock(ctx context.Context, in *ParseBlockRequest, opts ...grpc.CallOption) (*ParseBlockResponse, error)
	GetBlock(ctx context.Context, in *GetBlockRequest, opts ...grpc.CallOption) (*GetBlockResponse, error)
	SetPreference(ctx context.Context, in *SetPreferenceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Health(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*HealthResponse, error)
	Version(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*VersionResponse, error)
	AppRequest(ctx context.Context, in *AppRequestMsg, opts ...grpc.CallOption) (*emptypb.Empty, error)
	AppRequestFailed(ctx context.Context, in *AppRequestFailedMsg, opts ...grpc.CallOption) (*emptypb.Empty, error)
	AppResponse(ctx context.Context, in *AppResponseMsg, opts ...grpc.CallOption) (*emptypb.Empty, error)
	AppGossip(ctx context.Context, in *AppGossipMsg, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Gather(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GatherResponse, error)
	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)
	GetAncestors(ctx context.Context, in *GetAncestorsRequest, opts ...grpc.CallOption) (*GetAncestorsResponse, error)
	BatchedParseBlock(ctx context.Context, in *BatchedParseBlockRequest, opts ...grpc.CallOption) (*BatchedParseBlockResponse, error)
	VerifyHeightIndex(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*VerifyHeightIndexResponse, error)
	GetBlockIDAtHeight(ctx context.Context, in *GetBlockIDAtHeightRequest, opts ...grpc.CallOption) (*GetBlockIDAtHeightResponse, 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 {
	Initialize(context.Context, *InitializeRequest) (*InitializeResponse, error)
	SetState(context.Context, *SetStateRequest) (*emptypb.Empty, error)
	Shutdown(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
	CreateHandlers(context.Context, *emptypb.Empty) (*CreateHandlersResponse, error)
	CreateStaticHandlers(context.Context, *emptypb.Empty) (*CreateStaticHandlersResponse, error)
	Connected(context.Context, *ConnectedRequest) (*emptypb.Empty, error)
	Disconnected(context.Context, *DisconnectedRequest) (*emptypb.Empty, error)
	BuildBlock(context.Context, *emptypb.Empty) (*BuildBlockResponse, error)
	ParseBlock(context.Context, *ParseBlockRequest) (*ParseBlockResponse, error)
	GetBlock(context.Context, *GetBlockRequest) (*GetBlockResponse, error)
	SetPreference(context.Context, *SetPreferenceRequest) (*emptypb.Empty, error)
	Health(context.Context, *emptypb.Empty) (*HealthResponse, error)
	Version(context.Context, *emptypb.Empty) (*VersionResponse, error)
	AppRequest(context.Context, *AppRequestMsg) (*emptypb.Empty, error)
	AppRequestFailed(context.Context, *AppRequestFailedMsg) (*emptypb.Empty, error)
	AppResponse(context.Context, *AppResponseMsg) (*emptypb.Empty, error)
	AppGossip(context.Context, *AppGossipMsg) (*emptypb.Empty, error)
	Gather(context.Context, *emptypb.Empty) (*GatherResponse, error)
	BlockVerify(context.Context, *BlockVerifyRequest) (*BlockVerifyResponse, error)
	BlockAccept(context.Context, *BlockAcceptRequest) (*emptypb.Empty, error)
	BlockReject(context.Context, *BlockRejectRequest) (*emptypb.Empty, error)
	GetAncestors(context.Context, *GetAncestorsRequest) (*GetAncestorsResponse, error)
	BatchedParseBlock(context.Context, *BatchedParseBlockRequest) (*BatchedParseBlockResponse, error)
	VerifyHeightIndex(context.Context, *emptypb.Empty) (*VerifyHeightIndexResponse, error)
	GetBlockIDAtHeight(context.Context, *GetBlockIDAtHeightRequest) (*GetBlockIDAtHeightResponse, error)
	// contains filtered or unexported methods
}

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

type VerifyHeightIndexResponse

type VerifyHeightIndexResponse struct {
	Err uint32 `protobuf:"varint,1,opt,name=err,proto3" json:"err,omitempty"`
	// contains filtered or unexported fields
}

HeightIndexedVM related messages

func (*VerifyHeightIndexResponse) Descriptor deprecated

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

Deprecated: Use VerifyHeightIndexResponse.ProtoReflect.Descriptor instead.

func (*VerifyHeightIndexResponse) GetErr

func (x *VerifyHeightIndexResponse) GetErr() uint32

func (*VerifyHeightIndexResponse) ProtoMessage

func (*VerifyHeightIndexResponse) ProtoMessage()

func (*VerifyHeightIndexResponse) ProtoReflect

func (*VerifyHeightIndexResponse) Reset

func (x *VerifyHeightIndexResponse) Reset()

func (*VerifyHeightIndexResponse) String

func (x *VerifyHeightIndexResponse) 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 VersionedDBServer

type VersionedDBServer struct {
	DbServer uint32 `protobuf:"varint,1,opt,name=db_server,json=dbServer,proto3" json:"db_server,omitempty"`
	Version  string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*VersionedDBServer) Descriptor deprecated

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

Deprecated: Use VersionedDBServer.ProtoReflect.Descriptor instead.

func (*VersionedDBServer) GetDbServer

func (x *VersionedDBServer) GetDbServer() uint32

func (*VersionedDBServer) GetVersion

func (x *VersionedDBServer) GetVersion() string

func (*VersionedDBServer) ProtoMessage

func (*VersionedDBServer) ProtoMessage()

func (*VersionedDBServer) ProtoReflect

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

func (*VersionedDBServer) Reset

func (x *VersionedDBServer) Reset()

func (*VersionedDBServer) String

func (x *VersionedDBServer) String() string

Jump to

Keyboard shortcuts

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