vm

package
v1.9.2-rc.8 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2022 License: BSD-3-Clause Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

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: "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: "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: "VerifyHeightIndex",
			Handler:    _VM_VerifyHeightIndex_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"`
	// 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 *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"`
	// 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 *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 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"` // 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() *timestamppb.Timestamp

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 CrossChainAppRequestFailedMsg added in v1.9.2

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"`
	// contains filtered or unexported fields
}

func (*CrossChainAppRequestFailedMsg) Descriptor deprecated added in v1.9.2

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

Deprecated: Use CrossChainAppRequestFailedMsg.ProtoReflect.Descriptor instead.

func (*CrossChainAppRequestFailedMsg) GetChainId added in v1.9.2

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

func (*CrossChainAppRequestFailedMsg) GetRequestId added in v1.9.2

func (x *CrossChainAppRequestFailedMsg) GetRequestId() uint32

func (*CrossChainAppRequestFailedMsg) ProtoMessage added in v1.9.2

func (*CrossChainAppRequestFailedMsg) ProtoMessage()

func (*CrossChainAppRequestFailedMsg) ProtoReflect added in v1.9.2

func (*CrossChainAppRequestFailedMsg) Reset added in v1.9.2

func (x *CrossChainAppRequestFailedMsg) Reset()

func (*CrossChainAppRequestFailedMsg) String added in v1.9.2

type CrossChainAppRequestMsg added in v1.9.2

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 added in v1.9.2

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

Deprecated: Use CrossChainAppRequestMsg.ProtoReflect.Descriptor instead.

func (*CrossChainAppRequestMsg) GetChainId added in v1.9.2

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

func (*CrossChainAppRequestMsg) GetDeadline added in v1.9.2

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

func (*CrossChainAppRequestMsg) GetRequest added in v1.9.2

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

func (*CrossChainAppRequestMsg) GetRequestId added in v1.9.2

func (x *CrossChainAppRequestMsg) GetRequestId() uint32

func (*CrossChainAppRequestMsg) ProtoMessage added in v1.9.2

func (*CrossChainAppRequestMsg) ProtoMessage()

func (*CrossChainAppRequestMsg) ProtoReflect added in v1.9.2

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

func (*CrossChainAppRequestMsg) Reset added in v1.9.2

func (x *CrossChainAppRequestMsg) Reset()

func (*CrossChainAppRequestMsg) String added in v1.9.2

func (x *CrossChainAppRequestMsg) String() string

type CrossChainAppResponseMsg added in v1.9.2

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 added in v1.9.2

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

Deprecated: Use CrossChainAppResponseMsg.ProtoReflect.Descriptor instead.

func (*CrossChainAppResponseMsg) GetChainId added in v1.9.2

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

func (*CrossChainAppResponseMsg) GetRequestId added in v1.9.2

func (x *CrossChainAppResponseMsg) GetRequestId() uint32

func (*CrossChainAppResponseMsg) GetResponse added in v1.9.2

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

func (*CrossChainAppResponseMsg) ProtoMessage added in v1.9.2

func (*CrossChainAppResponseMsg) ProtoMessage()

func (*CrossChainAppResponseMsg) ProtoReflect added in v1.9.2

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

func (*CrossChainAppResponseMsg) Reset added in v1.9.2

func (x *CrossChainAppResponseMsg) Reset()

func (*CrossChainAppResponseMsg) String added in v1.9.2

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 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 *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// used to propagate database.ErrNotFound through RPC
	Err uint32 `protobuf:"varint,6,opt,name=err,proto3" json:"err,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 added in v1.8.4

func (x *GetBlockResponse) GetErr() uint32

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() *timestamppb.Timestamp

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 added in v1.8.4

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    uint32 `protobuf:"varint,4,opt,name=err,proto3" json:"err,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLastStateSummaryResponse) Descriptor deprecated added in v1.8.4

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

Deprecated: Use GetLastStateSummaryResponse.ProtoReflect.Descriptor instead.

func (*GetLastStateSummaryResponse) GetBytes added in v1.8.4

func (x *GetLastStateSummaryResponse) GetBytes() []byte

func (*GetLastStateSummaryResponse) GetErr added in v1.8.4

func (x *GetLastStateSummaryResponse) GetErr() uint32

func (*GetLastStateSummaryResponse) GetHeight added in v1.8.4

func (x *GetLastStateSummaryResponse) GetHeight() uint64

func (*GetLastStateSummaryResponse) GetId added in v1.8.4

func (x *GetLastStateSummaryResponse) GetId() []byte

func (*GetLastStateSummaryResponse) ProtoMessage added in v1.8.4

func (*GetLastStateSummaryResponse) ProtoMessage()

func (*GetLastStateSummaryResponse) ProtoReflect added in v1.8.4

func (*GetLastStateSummaryResponse) Reset added in v1.8.4

func (x *GetLastStateSummaryResponse) Reset()

func (*GetLastStateSummaryResponse) String added in v1.8.4

func (x *GetLastStateSummaryResponse) String() string

type GetOngoingSyncStateSummaryResponse added in v1.8.4

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    uint32 `protobuf:"varint,4,opt,name=err,proto3" json:"err,omitempty"`
	// contains filtered or unexported fields
}

func (*GetOngoingSyncStateSummaryResponse) Descriptor deprecated added in v1.8.4

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

Deprecated: Use GetOngoingSyncStateSummaryResponse.ProtoReflect.Descriptor instead.

func (*GetOngoingSyncStateSummaryResponse) GetBytes added in v1.8.4

func (x *GetOngoingSyncStateSummaryResponse) GetBytes() []byte

func (*GetOngoingSyncStateSummaryResponse) GetErr added in v1.8.4

func (*GetOngoingSyncStateSummaryResponse) GetHeight added in v1.8.4

func (*GetOngoingSyncStateSummaryResponse) GetId added in v1.8.4

func (*GetOngoingSyncStateSummaryResponse) ProtoMessage added in v1.8.4

func (*GetOngoingSyncStateSummaryResponse) ProtoMessage()

func (*GetOngoingSyncStateSummaryResponse) ProtoReflect added in v1.8.4

func (*GetOngoingSyncStateSummaryResponse) Reset added in v1.8.4

func (*GetOngoingSyncStateSummaryResponse) String added in v1.8.4

type GetStateSummaryRequest added in v1.8.4

type GetStateSummaryRequest struct {
	Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	// contains filtered or unexported fields
}

func (*GetStateSummaryRequest) Descriptor deprecated added in v1.8.4

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

Deprecated: Use GetStateSummaryRequest.ProtoReflect.Descriptor instead.

func (*GetStateSummaryRequest) GetHeight added in v1.8.4

func (x *GetStateSummaryRequest) GetHeight() uint64

func (*GetStateSummaryRequest) ProtoMessage added in v1.8.4

func (*GetStateSummaryRequest) ProtoMessage()

func (*GetStateSummaryRequest) ProtoReflect added in v1.8.4

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

func (*GetStateSummaryRequest) Reset added in v1.8.4

func (x *GetStateSummaryRequest) Reset()

func (*GetStateSummaryRequest) String added in v1.8.4

func (x *GetStateSummaryRequest) String() string

type GetStateSummaryResponse added in v1.8.4

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   uint32 `protobuf:"varint,3,opt,name=err,proto3" json:"err,omitempty"`
	// contains filtered or unexported fields
}

func (*GetStateSummaryResponse) Descriptor deprecated added in v1.8.4

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

Deprecated: Use GetStateSummaryResponse.ProtoReflect.Descriptor instead.

func (*GetStateSummaryResponse) GetBytes added in v1.8.4

func (x *GetStateSummaryResponse) GetBytes() []byte

func (*GetStateSummaryResponse) GetErr added in v1.8.4

func (x *GetStateSummaryResponse) GetErr() uint32

func (*GetStateSummaryResponse) GetId added in v1.8.4

func (x *GetStateSummaryResponse) GetId() []byte

func (*GetStateSummaryResponse) ProtoMessage added in v1.8.4

func (*GetStateSummaryResponse) ProtoMessage()

func (*GetStateSummaryResponse) ProtoReflect added in v1.8.4

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

func (*GetStateSummaryResponse) Reset added in v1.8.4

func (x *GetStateSummaryResponse) Reset()

func (*GetStateSummaryResponse) String added in v1.8.4

func (x *GetStateSummaryResponse) 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_addr is the address of the gRPC server which serves the
	// HTTP service
	ServerAddr string `protobuf:"bytes,3,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) GetLockOptions

func (x *Handler) GetLockOptions() uint32

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"`
	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"`
	// server_addr is the address of the gRPC server which serves
	// the messenger, keystore, shared memory, blockchain alias,
	// subnet alias, and appSender services
	ServerAddr string `protobuf:"bytes,11,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) GetChainId

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

func (*InitializeRequest) GetConfigBytes

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

func (*InitializeRequest) GetDbServers

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

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

func (x *InitializeRequest) GetServerAddr() string

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"`
	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    uint32                 `protobuf:"varint,3,opt,name=status,proto3" 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"`
	// 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() *timestamppb.Timestamp

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 added in v1.8.4

type ParseStateSummaryRequest struct {
	Bytes []byte `protobuf:"bytes,1,opt,name=bytes,proto3" json:"bytes,omitempty"`
	// contains filtered or unexported fields
}

func (*ParseStateSummaryRequest) Descriptor deprecated added in v1.8.4

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

Deprecated: Use ParseStateSummaryRequest.ProtoReflect.Descriptor instead.

func (*ParseStateSummaryRequest) GetBytes added in v1.8.4

func (x *ParseStateSummaryRequest) GetBytes() []byte

func (*ParseStateSummaryRequest) ProtoMessage added in v1.8.4

func (*ParseStateSummaryRequest) ProtoMessage()

func (*ParseStateSummaryRequest) ProtoReflect added in v1.8.4

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

func (*ParseStateSummaryRequest) Reset added in v1.8.4

func (x *ParseStateSummaryRequest) Reset()

func (*ParseStateSummaryRequest) String added in v1.8.4

func (x *ParseStateSummaryRequest) String() string

type ParseStateSummaryResponse added in v1.8.4

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    uint32 `protobuf:"varint,3,opt,name=err,proto3" json:"err,omitempty"`
	// contains filtered or unexported fields
}

func (*ParseStateSummaryResponse) Descriptor deprecated added in v1.8.4

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

Deprecated: Use ParseStateSummaryResponse.ProtoReflect.Descriptor instead.

func (*ParseStateSummaryResponse) GetErr added in v1.8.4

func (x *ParseStateSummaryResponse) GetErr() uint32

func (*ParseStateSummaryResponse) GetHeight added in v1.8.4

func (x *ParseStateSummaryResponse) GetHeight() uint64

func (*ParseStateSummaryResponse) GetId added in v1.8.4

func (x *ParseStateSummaryResponse) GetId() []byte

func (*ParseStateSummaryResponse) ProtoMessage added in v1.8.4

func (*ParseStateSummaryResponse) ProtoMessage()

func (*ParseStateSummaryResponse) ProtoReflect added in v1.8.4

func (*ParseStateSummaryResponse) Reset added in v1.8.4

func (x *ParseStateSummaryResponse) Reset()

func (*ParseStateSummaryResponse) String added in v1.8.4

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 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 SetStateResponse added in v1.8.4

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 added in v1.8.4

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

Deprecated: Use SetStateResponse.ProtoReflect.Descriptor instead.

func (*SetStateResponse) GetBytes added in v1.8.4

func (x *SetStateResponse) GetBytes() []byte

func (*SetStateResponse) GetHeight added in v1.8.4

func (x *SetStateResponse) GetHeight() uint64

func (*SetStateResponse) GetLastAcceptedId added in v1.8.4

func (x *SetStateResponse) GetLastAcceptedId() []byte

func (*SetStateResponse) GetLastAcceptedParentId added in v1.8.4

func (x *SetStateResponse) GetLastAcceptedParentId() []byte

func (*SetStateResponse) GetTimestamp added in v1.8.4

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

func (*SetStateResponse) ProtoMessage added in v1.8.4

func (*SetStateResponse) ProtoMessage()

func (*SetStateResponse) ProtoReflect added in v1.8.4

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

func (*SetStateResponse) Reset added in v1.8.4

func (x *SetStateResponse) Reset()

func (*SetStateResponse) String added in v1.8.4

func (x *SetStateResponse) String() string

type StateSummaryAcceptRequest added in v1.8.4

type StateSummaryAcceptRequest struct {
	Bytes []byte `protobuf:"bytes,1,opt,name=bytes,proto3" json:"bytes,omitempty"`
	// contains filtered or unexported fields
}

func (*StateSummaryAcceptRequest) Descriptor deprecated added in v1.8.4

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

Deprecated: Use StateSummaryAcceptRequest.ProtoReflect.Descriptor instead.

func (*StateSummaryAcceptRequest) GetBytes added in v1.8.4

func (x *StateSummaryAcceptRequest) GetBytes() []byte

func (*StateSummaryAcceptRequest) ProtoMessage added in v1.8.4

func (*StateSummaryAcceptRequest) ProtoMessage()

func (*StateSummaryAcceptRequest) ProtoReflect added in v1.8.4

func (*StateSummaryAcceptRequest) Reset added in v1.8.4

func (x *StateSummaryAcceptRequest) Reset()

func (*StateSummaryAcceptRequest) String added in v1.8.4

func (x *StateSummaryAcceptRequest) String() string

type StateSummaryAcceptResponse added in v1.8.4

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

func (*StateSummaryAcceptResponse) Descriptor deprecated added in v1.8.4

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

Deprecated: Use StateSummaryAcceptResponse.ProtoReflect.Descriptor instead.

func (*StateSummaryAcceptResponse) GetAccepted added in v1.8.4

func (x *StateSummaryAcceptResponse) GetAccepted() bool

func (*StateSummaryAcceptResponse) GetErr added in v1.8.4

func (x *StateSummaryAcceptResponse) GetErr() uint32

func (*StateSummaryAcceptResponse) ProtoMessage added in v1.8.4

func (*StateSummaryAcceptResponse) ProtoMessage()

func (*StateSummaryAcceptResponse) ProtoReflect added in v1.8.4

func (*StateSummaryAcceptResponse) Reset added in v1.8.4

func (x *StateSummaryAcceptResponse) Reset()

func (*StateSummaryAcceptResponse) String added in v1.8.4

func (x *StateSummaryAcceptResponse) String() string

type StateSyncEnabledResponse added in v1.8.4

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

func (*StateSyncEnabledResponse) Descriptor deprecated added in v1.8.4

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

Deprecated: Use StateSyncEnabledResponse.ProtoReflect.Descriptor instead.

func (*StateSyncEnabledResponse) GetEnabled added in v1.8.4

func (x *StateSyncEnabledResponse) GetEnabled() bool

func (*StateSyncEnabledResponse) GetErr added in v1.8.4

func (x *StateSyncEnabledResponse) GetErr() uint32

func (*StateSyncEnabledResponse) ProtoMessage added in v1.8.4

func (*StateSyncEnabledResponse) ProtoMessage()

func (*StateSyncEnabledResponse) ProtoReflect added in v1.8.4

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

func (*StateSyncEnabledResponse) Reset added in v1.8.4

func (x *StateSyncEnabledResponse) Reset()

func (*StateSyncEnabledResponse) String added in v1.8.4

func (x *StateSyncEnabledResponse) 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) CrossChainAppRequest added in v1.9.2

func (UnimplementedVMServer) CrossChainAppRequestFailed added in v1.9.2

func (UnimplementedVMServer) CrossChainAppResponse added in v1.9.2

func (UnimplementedVMServer) Disconnected

func (UnimplementedVMServer) Gather

func (UnimplementedVMServer) GetAncestors

func (UnimplementedVMServer) GetBlock

func (UnimplementedVMServer) GetLastStateSummary added in v1.8.4

func (UnimplementedVMServer) GetOngoingSyncStateSummary added in v1.8.4

func (UnimplementedVMServer) GetStateSummary added in v1.8.4

func (UnimplementedVMServer) Health

func (UnimplementedVMServer) Initialize

func (UnimplementedVMServer) ParseBlock

func (UnimplementedVMServer) ParseStateSummary added in v1.8.4

func (UnimplementedVMServer) SetPreference

func (UnimplementedVMServer) SetState

func (UnimplementedVMServer) Shutdown

func (UnimplementedVMServer) StateSummaryAccept added in v1.8.4

func (UnimplementedVMServer) StateSyncEnabled added in v1.8.4

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 {
	// ChainVM
	Initialize(ctx context.Context, in *InitializeRequest, opts ...grpc.CallOption) (*InitializeResponse, error)
	SetState(ctx context.Context, in *SetStateRequest, opts ...grpc.CallOption) (*SetStateResponse, 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)
	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
	VerifyHeightIndex(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*VerifyHeightIndexResponse, error)
	GetBlockIDAtHeight(ctx context.Context, in *GetBlockIDAtHeightRequest, opts ...grpc.CallOption) (*GetBlockIDAtHeightResponse, error)
	// StateSyncableVM
	StateSyncEnabled(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*StateSyncEnabledResponse, error)
	GetOngoingSyncStateSummary(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetOngoingSyncStateSummaryResponse, error)
	GetLastStateSummary(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetLastStateSummaryResponse, error)
	ParseStateSummary(ctx context.Context, in *ParseStateSummaryRequest, opts ...grpc.CallOption) (*ParseStateSummaryResponse, error)
	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(context.Context, *InitializeRequest) (*InitializeResponse, error)
	SetState(context.Context, *SetStateRequest) (*SetStateResponse, 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)
	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
	VerifyHeightIndex(context.Context, *emptypb.Empty) (*VerifyHeightIndexResponse, error)
	GetBlockIDAtHeight(context.Context, *GetBlockIDAtHeightRequest) (*GetBlockIDAtHeightResponse, error)
	// StateSyncableVM
	StateSyncEnabled(context.Context, *emptypb.Empty) (*StateSyncEnabledResponse, error)
	GetOngoingSyncStateSummary(context.Context, *emptypb.Empty) (*GetOngoingSyncStateSummaryResponse, error)
	GetLastStateSummary(context.Context, *emptypb.Empty) (*GetLastStateSummaryResponse, error)
	ParseStateSummary(context.Context, *ParseStateSummaryRequest) (*ParseStateSummaryResponse, error)
	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 VerifyHeightIndexResponse

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

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 {
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// server_addr is the address of the gRPC server which serves the
	// Database service
	ServerAddr string `protobuf:"bytes,2,opt,name=server_addr,json=serverAddr,proto3" json:"server_addr,omitempty"`
	// contains filtered or unexported fields
}

func (*VersionedDBServer) Descriptor deprecated

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

Deprecated: Use VersionedDBServer.ProtoReflect.Descriptor instead.

func (*VersionedDBServer) GetServerAddr

func (x *VersionedDBServer) GetServerAddr() string

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