vmproto

package
v1.5.3-rc.9 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2021 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var VM_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "vmproto.VM",
	HandlerType: (*VMServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Initialize",
			Handler:    _VM_Initialize_Handler,
		},
		{
			MethodName: "Bootstrapping",
			Handler:    _VM_Bootstrapping_Handler,
		},
		{
			MethodName: "Bootstrapped",
			Handler:    _VM_Bootstrapped_Handler,
		},
		{
			MethodName: "Shutdown",
			Handler:    _VM_Shutdown_Handler,
		},
		{
			MethodName: "CreateHandlers",
			Handler:    _VM_CreateHandlers_Handler,
		},
		{
			MethodName: "CreateStaticHandlers",
			Handler:    _VM_CreateStaticHandlers_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: "BlockVerify",
			Handler:    _VM_BlockVerify_Handler,
		},
		{
			MethodName: "BlockAccept",
			Handler:    _VM_BlockAccept_Handler,
		},
		{
			MethodName: "BlockReject",
			Handler:    _VM_BlockReject_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "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 added in v1.5.3

type AppGossipMsg struct {

	// The node that sent us a gossip message
	NodeID []byte `protobuf:"bytes,1,opt,name=nodeID,proto3" json:"nodeID,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 added in v1.5.3

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

Deprecated: Use AppGossipMsg.ProtoReflect.Descriptor instead.

func (*AppGossipMsg) GetMsg added in v1.5.3

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

func (*AppGossipMsg) GetNodeID added in v1.5.3

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

func (*AppGossipMsg) ProtoMessage added in v1.5.3

func (*AppGossipMsg) ProtoMessage()

func (*AppGossipMsg) ProtoReflect added in v1.5.3

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

func (*AppGossipMsg) Reset added in v1.5.3

func (x *AppGossipMsg) Reset()

func (*AppGossipMsg) String added in v1.5.3

func (x *AppGossipMsg) String() string

type AppRequestFailedMsg added in v1.5.3

type AppRequestFailedMsg struct {

	// The node that we failed to get a response from
	NodeID []byte `protobuf:"bytes,1,opt,name=nodeID,proto3" json:"nodeID,omitempty"`
	// The ID of the request we sent and didn't get a response to
	RequestID uint32 `protobuf:"varint,2,opt,name=requestID,proto3" json:"requestID,omitempty"`
	// contains filtered or unexported fields
}

func (*AppRequestFailedMsg) Descriptor deprecated added in v1.5.3

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

Deprecated: Use AppRequestFailedMsg.ProtoReflect.Descriptor instead.

func (*AppRequestFailedMsg) GetNodeID added in v1.5.3

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

func (*AppRequestFailedMsg) GetRequestID added in v1.5.3

func (x *AppRequestFailedMsg) GetRequestID() uint32

func (*AppRequestFailedMsg) ProtoMessage added in v1.5.3

func (*AppRequestFailedMsg) ProtoMessage()

func (*AppRequestFailedMsg) ProtoReflect added in v1.5.3

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

func (*AppRequestFailedMsg) Reset added in v1.5.3

func (x *AppRequestFailedMsg) Reset()

func (*AppRequestFailedMsg) String added in v1.5.3

func (x *AppRequestFailedMsg) String() string

type AppRequestMsg added in v1.5.3

type AppRequestMsg struct {

	// The node that sent us this request
	NodeID []byte `protobuf:"bytes,1,opt,name=nodeID,proto3" json:"nodeID,omitempty"`
	// The ID of this request
	RequestID uint32 `protobuf:"varint,2,opt,name=requestID,proto3" json:"requestID,omitempty"`
	// The request body
	Request []byte `protobuf:"bytes,3,opt,name=request,proto3" json:"request,omitempty"`
	// contains filtered or unexported fields
}

func (*AppRequestMsg) Descriptor deprecated added in v1.5.3

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

Deprecated: Use AppRequestMsg.ProtoReflect.Descriptor instead.

func (*AppRequestMsg) GetNodeID added in v1.5.3

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

func (*AppRequestMsg) GetRequest added in v1.5.3

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

func (*AppRequestMsg) GetRequestID added in v1.5.3

func (x *AppRequestMsg) GetRequestID() uint32

func (*AppRequestMsg) ProtoMessage added in v1.5.3

func (*AppRequestMsg) ProtoMessage()

func (*AppRequestMsg) ProtoReflect added in v1.5.3

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

func (*AppRequestMsg) Reset added in v1.5.3

func (x *AppRequestMsg) Reset()

func (*AppRequestMsg) String added in v1.5.3

func (x *AppRequestMsg) String() string

type AppResponseMsg added in v1.5.3

type AppResponseMsg struct {

	// The node that we got a response from
	NodeID []byte `protobuf:"bytes,1,opt,name=nodeID,proto3" json:"nodeID,omitempty"`
	// Request ID of request that this is in response to
	RequestID uint32 `protobuf:"varint,2,opt,name=requestID,proto3" json:"requestID,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 added in v1.5.3

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

Deprecated: Use AppResponseMsg.ProtoReflect.Descriptor instead.

func (*AppResponseMsg) GetNodeID added in v1.5.3

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

func (*AppResponseMsg) GetRequestID added in v1.5.3

func (x *AppResponseMsg) GetRequestID() uint32

func (*AppResponseMsg) GetResponse added in v1.5.3

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

func (*AppResponseMsg) ProtoMessage added in v1.5.3

func (*AppResponseMsg) ProtoMessage()

func (*AppResponseMsg) ProtoReflect added in v1.5.3

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

func (*AppResponseMsg) Reset added in v1.5.3

func (x *AppResponseMsg) Reset()

func (*AppResponseMsg) String added in v1.5.3

func (x *AppResponseMsg) 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 added in v1.1.2

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

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

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

func (*BlockVerifyRequest) ProtoMessage

func (*BlockVerifyRequest) ProtoMessage()

func (*BlockVerifyRequest) ProtoReflect added in v1.1.2

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

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

func (*BlockVerifyResponse) ProtoMessage

func (*BlockVerifyResponse) ProtoMessage()

func (*BlockVerifyResponse) ProtoReflect added in v1.1.2

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=parentID,proto3" json:"parentID,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 added in v1.1.2

func (x *BuildBlockResponse) GetHeight() uint64

func (*BuildBlockResponse) GetId

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

func (*BuildBlockResponse) GetParentID

func (x *BuildBlockResponse) GetParentID() []byte

func (*BuildBlockResponse) GetTimestamp added in v1.5.3

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

func (*BuildBlockResponse) ProtoMessage

func (*BuildBlockResponse) ProtoMessage()

func (*BuildBlockResponse) ProtoReflect added in v1.1.2

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

func (*BuildBlockResponse) Reset

func (x *BuildBlockResponse) Reset()

func (*BuildBlockResponse) String

func (x *BuildBlockResponse) 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 added in v1.1.2

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

func (*CreateHandlersResponse) Reset

func (x *CreateHandlersResponse) Reset()

func (*CreateHandlersResponse) String

func (x *CreateHandlersResponse) String() string

type CreateStaticHandlersResponse added in v1.4.8

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

func (*CreateStaticHandlersResponse) Descriptor deprecated added in v1.4.8

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

Deprecated: Use CreateStaticHandlersResponse.ProtoReflect.Descriptor instead.

func (*CreateStaticHandlersResponse) GetHandlers added in v1.4.8

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

func (*CreateStaticHandlersResponse) ProtoMessage added in v1.4.8

func (*CreateStaticHandlersResponse) ProtoMessage()

func (*CreateStaticHandlersResponse) ProtoReflect added in v1.4.8

func (*CreateStaticHandlersResponse) Reset added in v1.4.8

func (x *CreateStaticHandlersResponse) Reset()

func (*CreateStaticHandlersResponse) String added in v1.4.8

type EmptyMsg added in v1.5.3

type EmptyMsg struct {
	// contains filtered or unexported fields
}

func (*EmptyMsg) Descriptor deprecated added in v1.5.3

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

Deprecated: Use EmptyMsg.ProtoReflect.Descriptor instead.

func (*EmptyMsg) ProtoMessage added in v1.5.3

func (*EmptyMsg) ProtoMessage()

func (*EmptyMsg) ProtoReflect added in v1.5.3

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

func (*EmptyMsg) Reset added in v1.5.3

func (x *EmptyMsg) Reset()

func (*EmptyMsg) String added in v1.5.3

func (x *EmptyMsg) 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 added in v1.1.2

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=parentID,proto3" json:"parentID,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 added in v1.1.2

func (x *GetBlockResponse) GetHeight() uint64

func (*GetBlockResponse) GetParentID

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

func (*GetBlockResponse) GetStatus

func (x *GetBlockResponse) GetStatus() uint32

func (*GetBlockResponse) GetTimestamp added in v1.5.3

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

func (*GetBlockResponse) ProtoMessage

func (*GetBlockResponse) ProtoMessage()

func (*GetBlockResponse) ProtoReflect added in v1.1.2

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=lockOptions,proto3" json:"lockOptions,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 added in v1.1.2

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

func (*Handler) Reset

func (x *Handler) Reset()

func (*Handler) String

func (x *Handler) String() string

type HealthResponse added in v1.0.3

type HealthResponse struct {
	Details string `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"`
	// contains filtered or unexported fields
}

func (*HealthResponse) Descriptor deprecated added in v1.0.3

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

Deprecated: Use HealthResponse.ProtoReflect.Descriptor instead.

func (*HealthResponse) GetDetails added in v1.0.3

func (x *HealthResponse) GetDetails() string

func (*HealthResponse) ProtoMessage added in v1.0.3

func (*HealthResponse) ProtoMessage()

func (*HealthResponse) ProtoReflect added in v1.1.2

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

func (*HealthResponse) Reset added in v1.0.3

func (x *HealthResponse) Reset()

func (*HealthResponse) String added in v1.0.3

func (x *HealthResponse) String() string

type InitializeRequest

type InitializeRequest struct {
	NetworkID            uint32               `protobuf:"varint,1,opt,name=networkID,proto3" json:"networkID,omitempty"`
	SubnetID             []byte               `protobuf:"bytes,2,opt,name=subnetID,proto3" json:"subnetID,omitempty"`
	ChainID              []byte               `protobuf:"bytes,3,opt,name=chainID,proto3" json:"chainID,omitempty"`
	NodeID               []byte               `protobuf:"bytes,4,opt,name=nodeID,proto3" json:"nodeID,omitempty"`
	XChainID             []byte               `protobuf:"bytes,5,opt,name=xChainID,proto3" json:"xChainID,omitempty"`
	AvaxAssetID          []byte               `protobuf:"bytes,6,opt,name=avaxAssetID,proto3" json:"avaxAssetID,omitempty"`
	GenesisBytes         []byte               `protobuf:"bytes,7,opt,name=genesisBytes,proto3" json:"genesisBytes,omitempty"`
	UpgradeBytes         []byte               `protobuf:"bytes,8,opt,name=upgradeBytes,proto3" json:"upgradeBytes,omitempty"`
	ConfigBytes          []byte               `protobuf:"bytes,9,opt,name=configBytes,proto3" json:"configBytes,omitempty"`
	DbServers            []*VersionedDBServer `protobuf:"bytes,10,rep,name=dbServers,proto3" json:"dbServers,omitempty"`
	EngineServer         uint32               `protobuf:"varint,11,opt,name=engineServer,proto3" json:"engineServer,omitempty"`
	KeystoreServer       uint32               `protobuf:"varint,12,opt,name=keystoreServer,proto3" json:"keystoreServer,omitempty"`
	SharedMemoryServer   uint32               `protobuf:"varint,13,opt,name=sharedMemoryServer,proto3" json:"sharedMemoryServer,omitempty"`
	BcLookupServer       uint32               `protobuf:"varint,14,opt,name=bcLookupServer,proto3" json:"bcLookupServer,omitempty"`
	SnLookupServer       uint32               `protobuf:"varint,15,opt,name=snLookupServer,proto3" json:"snLookupServer,omitempty"`
	AppSenderServer      uint32               `protobuf:"varint,16,opt,name=appSenderServer,proto3" json:"appSenderServer,omitempty"`
	EpochFirstTransition []byte               `protobuf:"bytes,17,opt,name=epochFirstTransition,proto3" json:"epochFirstTransition,omitempty"`
	EpochDuration        uint64               `protobuf:"varint,18,opt,name=EpochDuration,proto3" json:"EpochDuration,omitempty"`
	// contains filtered or unexported fields
}

func (*InitializeRequest) Descriptor deprecated

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

Deprecated: Use InitializeRequest.ProtoReflect.Descriptor instead.

func (*InitializeRequest) GetAppSenderServer added in v1.5.3

func (x *InitializeRequest) GetAppSenderServer() uint32

func (*InitializeRequest) GetAvaxAssetID added in v0.8.0

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

func (*InitializeRequest) GetBcLookupServer added in v0.8.0

func (x *InitializeRequest) GetBcLookupServer() uint32

func (*InitializeRequest) GetChainID added in v0.8.0

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

func (*InitializeRequest) GetConfigBytes added in v1.4.5

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

func (*InitializeRequest) GetDbServers added in v1.4.5

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

func (*InitializeRequest) GetEngineServer

func (x *InitializeRequest) GetEngineServer() uint32

func (*InitializeRequest) GetEpochDuration added in v1.1.1

func (x *InitializeRequest) GetEpochDuration() uint64

func (*InitializeRequest) GetEpochFirstTransition added in v1.1.1

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

func (*InitializeRequest) GetGenesisBytes

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

func (*InitializeRequest) GetKeystoreServer added in v0.8.0

func (x *InitializeRequest) GetKeystoreServer() uint32

func (*InitializeRequest) GetNetworkID added in v0.8.0

func (x *InitializeRequest) GetNetworkID() uint32

func (*InitializeRequest) GetNodeID added in v0.8.0

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

func (*InitializeRequest) GetSharedMemoryServer added in v0.8.0

func (x *InitializeRequest) GetSharedMemoryServer() uint32

func (*InitializeRequest) GetSnLookupServer added in v0.8.0

func (x *InitializeRequest) GetSnLookupServer() uint32

func (*InitializeRequest) GetSubnetID added in v0.8.0

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

func (*InitializeRequest) GetUpgradeBytes added in v1.4.5

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

func (*InitializeRequest) GetXChainID added in v0.8.0

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

func (*InitializeRequest) ProtoMessage

func (*InitializeRequest) ProtoMessage()

func (*InitializeRequest) ProtoReflect added in v1.1.2

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=lastAcceptedID,proto3" json:"lastAcceptedID,omitempty"`
	LastAcceptedParentID []byte `protobuf:"bytes,2,opt,name=lastAcceptedParentID,proto3" json:"lastAcceptedParentID,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 added in v1.4.5

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

func (*InitializeResponse) GetHeight added in v1.4.5

func (x *InitializeResponse) GetHeight() uint64

func (*InitializeResponse) GetLastAcceptedID added in v0.8.0

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

func (*InitializeResponse) GetLastAcceptedParentID added in v1.4.5

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

func (*InitializeResponse) GetStatus added in v1.4.5

func (x *InitializeResponse) GetStatus() uint32

func (*InitializeResponse) GetTimestamp added in v1.5.3

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

func (*InitializeResponse) ProtoMessage

func (*InitializeResponse) ProtoMessage()

func (*InitializeResponse) ProtoReflect added in v1.1.2

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

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=parentID,proto3" json:"parentID,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 added in v1.1.2

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

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

func (*ParseBlockResponse) ProtoMessage

func (*ParseBlockResponse) ProtoMessage()

func (*ParseBlockResponse) ProtoReflect added in v1.1.2

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

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

func (*SetPreferenceRequest) Reset

func (x *SetPreferenceRequest) Reset()

func (*SetPreferenceRequest) String

func (x *SetPreferenceRequest) String() string

type UnimplementedVMServer

type UnimplementedVMServer struct {
}

UnimplementedVMServer must be embedded to have forward compatible implementations.

func (UnimplementedVMServer) AppGossip added in v1.5.3

func (UnimplementedVMServer) AppRequest added in v1.5.3

func (UnimplementedVMServer) AppRequestFailed added in v1.5.3

func (UnimplementedVMServer) AppResponse added in v1.5.3

func (UnimplementedVMServer) BlockAccept

func (UnimplementedVMServer) BlockReject

func (UnimplementedVMServer) BlockVerify

func (UnimplementedVMServer) Bootstrapped added in v0.8.0

func (UnimplementedVMServer) Bootstrapping added in v0.8.0

func (UnimplementedVMServer) BuildBlock

func (UnimplementedVMServer) CreateHandlers

func (UnimplementedVMServer) CreateStaticHandlers added in v1.4.8

func (UnimplementedVMServer) GetBlock

func (UnimplementedVMServer) Health added in v1.0.3

func (UnimplementedVMServer) Initialize

func (UnimplementedVMServer) ParseBlock

func (UnimplementedVMServer) SetPreference

func (UnimplementedVMServer) Shutdown

func (UnimplementedVMServer) Version added in v1.4.10

type UnsafeVMServer added in v1.4.7

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)
	Bootstrapping(ctx context.Context, in *EmptyMsg, opts ...grpc.CallOption) (*EmptyMsg, error)
	Bootstrapped(ctx context.Context, in *EmptyMsg, opts ...grpc.CallOption) (*EmptyMsg, error)
	Shutdown(ctx context.Context, in *EmptyMsg, opts ...grpc.CallOption) (*EmptyMsg, error)
	CreateHandlers(ctx context.Context, in *EmptyMsg, opts ...grpc.CallOption) (*CreateHandlersResponse, error)
	CreateStaticHandlers(ctx context.Context, in *EmptyMsg, opts ...grpc.CallOption) (*CreateStaticHandlersResponse, error)
	BuildBlock(ctx context.Context, in *EmptyMsg, 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) (*EmptyMsg, error)
	Health(ctx context.Context, in *EmptyMsg, opts ...grpc.CallOption) (*HealthResponse, error)
	Version(ctx context.Context, in *EmptyMsg, opts ...grpc.CallOption) (*VersionResponse, error)
	AppRequest(ctx context.Context, in *AppRequestMsg, opts ...grpc.CallOption) (*EmptyMsg, error)
	AppRequestFailed(ctx context.Context, in *AppRequestFailedMsg, opts ...grpc.CallOption) (*EmptyMsg, error)
	AppResponse(ctx context.Context, in *AppResponseMsg, opts ...grpc.CallOption) (*EmptyMsg, error)
	AppGossip(ctx context.Context, in *AppGossipMsg, opts ...grpc.CallOption) (*EmptyMsg, error)
	BlockVerify(ctx context.Context, in *BlockVerifyRequest, opts ...grpc.CallOption) (*BlockVerifyResponse, error)
	BlockAccept(ctx context.Context, in *BlockAcceptRequest, opts ...grpc.CallOption) (*EmptyMsg, error)
	BlockReject(ctx context.Context, in *BlockRejectRequest, opts ...grpc.CallOption) (*EmptyMsg, 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

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

type VersionResponse added in v1.4.10

type VersionResponse struct {
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*VersionResponse) Descriptor deprecated added in v1.4.10

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

Deprecated: Use VersionResponse.ProtoReflect.Descriptor instead.

func (*VersionResponse) GetVersion added in v1.4.10

func (x *VersionResponse) GetVersion() string

func (*VersionResponse) ProtoMessage added in v1.4.10

func (*VersionResponse) ProtoMessage()

func (*VersionResponse) ProtoReflect added in v1.4.10

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

func (*VersionResponse) Reset added in v1.4.10

func (x *VersionResponse) Reset()

func (*VersionResponse) String added in v1.4.10

func (x *VersionResponse) String() string

type VersionedDBServer added in v1.4.5

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

func (*VersionedDBServer) Descriptor deprecated added in v1.4.5

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

Deprecated: Use VersionedDBServer.ProtoReflect.Descriptor instead.

func (*VersionedDBServer) GetDbServer added in v1.4.5

func (x *VersionedDBServer) GetDbServer() uint32

func (*VersionedDBServer) GetVersion added in v1.4.5

func (x *VersionedDBServer) GetVersion() string

func (*VersionedDBServer) ProtoMessage added in v1.4.5

func (*VersionedDBServer) ProtoMessage()

func (*VersionedDBServer) ProtoReflect added in v1.4.5

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

func (*VersionedDBServer) Reset added in v1.4.5

func (x *VersionedDBServer) Reset()

func (*VersionedDBServer) String added in v1.4.5

func (x *VersionedDBServer) String() string

Jump to

Keyboard shortcuts

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