vmproto

package
v1.4.9 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 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: "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 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 BlockAcceptResponse

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

func (*BlockAcceptResponse) Descriptor deprecated

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

Deprecated: Use BlockAcceptResponse.ProtoReflect.Descriptor instead.

func (*BlockAcceptResponse) ProtoMessage

func (*BlockAcceptResponse) ProtoMessage()

func (*BlockAcceptResponse) ProtoReflect

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

func (*BlockAcceptResponse) Reset

func (x *BlockAcceptResponse) Reset()

func (*BlockAcceptResponse) String

func (x *BlockAcceptResponse) 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 BlockRejectResponse

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

func (*BlockRejectResponse) Descriptor deprecated

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

Deprecated: Use BlockRejectResponse.ProtoReflect.Descriptor instead.

func (*BlockRejectResponse) ProtoMessage

func (*BlockRejectResponse) ProtoMessage()

func (*BlockRejectResponse) ProtoReflect

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

func (*BlockRejectResponse) Reset

func (x *BlockRejectResponse) Reset()

func (*BlockRejectResponse) String

func (x *BlockRejectResponse) String() string

type BlockVerifyRequest

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

func (*BlockVerifyRequest) Descriptor deprecated

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

Deprecated: Use BlockVerifyRequest.ProtoReflect.Descriptor instead.

func (*BlockVerifyRequest) GetId

func (x *BlockVerifyRequest) GetId() []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 {
	// contains filtered or unexported fields
}

func (*BlockVerifyResponse) Descriptor deprecated

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

Deprecated: Use BlockVerifyResponse.ProtoReflect.Descriptor instead.

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 BootstrappedRequest

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

func (*BootstrappedRequest) Descriptor deprecated

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

Deprecated: Use BootstrappedRequest.ProtoReflect.Descriptor instead.

func (*BootstrappedRequest) ProtoMessage

func (*BootstrappedRequest) ProtoMessage()

func (*BootstrappedRequest) ProtoReflect

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

func (*BootstrappedRequest) Reset

func (x *BootstrappedRequest) Reset()

func (*BootstrappedRequest) String

func (x *BootstrappedRequest) String() string

type BootstrappedResponse

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

func (*BootstrappedResponse) Descriptor deprecated

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

Deprecated: Use BootstrappedResponse.ProtoReflect.Descriptor instead.

func (*BootstrappedResponse) ProtoMessage

func (*BootstrappedResponse) ProtoMessage()

func (*BootstrappedResponse) ProtoReflect

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

func (*BootstrappedResponse) Reset

func (x *BootstrappedResponse) Reset()

func (*BootstrappedResponse) String

func (x *BootstrappedResponse) String() string

type BootstrappingRequest

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

func (*BootstrappingRequest) Descriptor deprecated

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

Deprecated: Use BootstrappingRequest.ProtoReflect.Descriptor instead.

func (*BootstrappingRequest) ProtoMessage

func (*BootstrappingRequest) ProtoMessage()

func (*BootstrappingRequest) ProtoReflect

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

func (*BootstrappingRequest) Reset

func (x *BootstrappingRequest) Reset()

func (*BootstrappingRequest) String

func (x *BootstrappingRequest) String() string

type BootstrappingResponse

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

func (*BootstrappingResponse) Descriptor deprecated

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

Deprecated: Use BootstrappingResponse.ProtoReflect.Descriptor instead.

func (*BootstrappingResponse) ProtoMessage

func (*BootstrappingResponse) ProtoMessage()

func (*BootstrappingResponse) ProtoReflect

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

func (*BootstrappingResponse) Reset

func (x *BootstrappingResponse) Reset()

func (*BootstrappingResponse) String

func (x *BootstrappingResponse) String() string

type BuildBlockRequest

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

func (*BuildBlockRequest) Descriptor deprecated

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

Deprecated: Use BuildBlockRequest.ProtoReflect.Descriptor instead.

func (*BuildBlockRequest) ProtoMessage

func (*BuildBlockRequest) ProtoMessage()

func (*BuildBlockRequest) ProtoReflect

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

func (*BuildBlockRequest) Reset

func (x *BuildBlockRequest) Reset()

func (*BuildBlockRequest) String

func (x *BuildBlockRequest) String() string

type BuildBlockResponse

type BuildBlockResponse struct {
	Id       []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ParentID []byte `protobuf:"bytes,2,opt,name=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"` // 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) 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 CreateHandlersRequest

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

func (*CreateHandlersRequest) Descriptor deprecated

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

Deprecated: Use CreateHandlersRequest.ProtoReflect.Descriptor instead.

func (*CreateHandlersRequest) ProtoMessage

func (*CreateHandlersRequest) ProtoMessage()

func (*CreateHandlersRequest) ProtoReflect

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

func (*CreateHandlersRequest) Reset

func (x *CreateHandlersRequest) Reset()

func (*CreateHandlersRequest) String

func (x *CreateHandlersRequest) 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 CreateStaticHandlersRequest added in v1.4.9

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

func (*CreateStaticHandlersRequest) Descriptor deprecated added in v1.4.9

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

Deprecated: Use CreateStaticHandlersRequest.ProtoReflect.Descriptor instead.

func (*CreateStaticHandlersRequest) ProtoMessage added in v1.4.9

func (*CreateStaticHandlersRequest) ProtoMessage()

func (*CreateStaticHandlersRequest) ProtoReflect added in v1.4.9

func (*CreateStaticHandlersRequest) Reset added in v1.4.9

func (x *CreateStaticHandlersRequest) Reset()

func (*CreateStaticHandlersRequest) String added in v1.4.9

func (x *CreateStaticHandlersRequest) String() string

type CreateStaticHandlersResponse added in v1.4.9

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.9

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

Deprecated: Use CreateStaticHandlersResponse.ProtoReflect.Descriptor instead.

func (*CreateStaticHandlersResponse) GetHandlers added in v1.4.9

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

func (*CreateStaticHandlersResponse) ProtoMessage added in v1.4.9

func (*CreateStaticHandlersResponse) ProtoMessage()

func (*CreateStaticHandlersResponse) ProtoReflect added in v1.4.9

func (*CreateStaticHandlersResponse) Reset added in v1.4.9

func (x *CreateStaticHandlersResponse) Reset()

func (*CreateStaticHandlersResponse) String added in v1.4.9

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

func (*GetBlockResponse) Descriptor deprecated

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

Deprecated: Use GetBlockResponse.ProtoReflect.Descriptor instead.

func (*GetBlockResponse) GetBytes

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

func (*GetBlockResponse) GetHeight

func (x *GetBlockResponse) GetHeight() uint64

func (*GetBlockResponse) GetParentID

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

func (*GetBlockResponse) GetStatus

func (x *GetBlockResponse) GetStatus() uint32

func (*GetBlockResponse) ProtoMessage

func (*GetBlockResponse) ProtoMessage()

func (*GetBlockResponse) ProtoReflect

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

func (*GetBlockResponse) Reset

func (x *GetBlockResponse) Reset()

func (*GetBlockResponse) String

func (x *GetBlockResponse) String() string

type Handler

type Handler struct {
	Prefix      string `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"`
	LockOptions uint32 `protobuf:"varint,2,opt,name=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

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

func (*Handler) Reset

func (x *Handler) Reset()

func (*Handler) String

func (x *Handler) String() string

type HealthRequest

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

func (*HealthRequest) Descriptor deprecated

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

Deprecated: Use HealthRequest.ProtoReflect.Descriptor instead.

func (*HealthRequest) ProtoMessage

func (*HealthRequest) ProtoMessage()

func (*HealthRequest) ProtoReflect

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

func (*HealthRequest) Reset

func (x *HealthRequest) Reset()

func (*HealthRequest) String

func (x *HealthRequest) String() string

type HealthResponse

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

func (*HealthResponse) Descriptor deprecated

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

Deprecated: Use HealthResponse.ProtoReflect.Descriptor instead.

func (*HealthResponse) GetDetails

func (x *HealthResponse) GetDetails() string

func (*HealthResponse) ProtoMessage

func (*HealthResponse) ProtoMessage()

func (*HealthResponse) ProtoReflect

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

func (*HealthResponse) Reset

func (x *HealthResponse) Reset()

func (*HealthResponse) String

func (x *HealthResponse) String() string

type InitializeRequest

type InitializeRequest struct {
	NetworkID            uint32               `protobuf:"varint,1,opt,name=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"`
	EpochFirstTransition []byte               `protobuf:"bytes,16,opt,name=epochFirstTransition,proto3" json:"epochFirstTransition,omitempty"`
	EpochDuration        uint64               `protobuf:"varint,17,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) GetAvaxAssetID

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

func (*InitializeRequest) GetBcLookupServer

func (x *InitializeRequest) GetBcLookupServer() uint32

func (*InitializeRequest) GetChainID

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

func (*InitializeRequest) GetConfigBytes

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

func (*InitializeRequest) GetDbServers

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

func (*InitializeRequest) GetEngineServer

func (x *InitializeRequest) GetEngineServer() uint32

func (*InitializeRequest) GetEpochDuration

func (x *InitializeRequest) GetEpochDuration() uint64

func (*InitializeRequest) GetEpochFirstTransition

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

func (*InitializeRequest) GetGenesisBytes

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

func (*InitializeRequest) GetKeystoreServer

func (x *InitializeRequest) GetKeystoreServer() uint32

func (*InitializeRequest) GetNetworkID

func (x *InitializeRequest) GetNetworkID() uint32

func (*InitializeRequest) GetNodeID

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

func (*InitializeRequest) GetSharedMemoryServer

func (x *InitializeRequest) GetSharedMemoryServer() uint32

func (*InitializeRequest) GetSnLookupServer

func (x *InitializeRequest) GetSnLookupServer() uint32

func (*InitializeRequest) GetSubnetID

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

func (*InitializeRequest) GetUpgradeBytes

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

func (*InitializeRequest) GetXChainID

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

func (*InitializeRequest) ProtoMessage

func (*InitializeRequest) ProtoMessage()

func (*InitializeRequest) ProtoReflect

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

func (*InitializeRequest) Reset

func (x *InitializeRequest) Reset()

func (*InitializeRequest) String

func (x *InitializeRequest) String() string

type InitializeResponse

type InitializeResponse struct {
	LastAcceptedID       []byte `protobuf:"bytes,1,opt,name=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"`
	// contains filtered or unexported fields
}

func (*InitializeResponse) Descriptor deprecated

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

Deprecated: Use InitializeResponse.ProtoReflect.Descriptor instead.

func (*InitializeResponse) GetBytes

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

func (*InitializeResponse) GetHeight

func (x *InitializeResponse) GetHeight() uint64

func (*InitializeResponse) GetLastAcceptedID

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

func (*InitializeResponse) GetLastAcceptedParentID

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

func (*InitializeResponse) GetStatus

func (x *InitializeResponse) GetStatus() uint32

func (*InitializeResponse) 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=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"`
	// 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) ProtoMessage

func (*ParseBlockResponse) ProtoMessage()

func (*ParseBlockResponse) ProtoReflect

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

func (*ParseBlockResponse) Reset

func (x *ParseBlockResponse) Reset()

func (*ParseBlockResponse) String

func (x *ParseBlockResponse) String() string

type SetPreferenceRequest

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

func (*SetPreferenceRequest) Descriptor deprecated

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

Deprecated: Use SetPreferenceRequest.ProtoReflect.Descriptor instead.

func (*SetPreferenceRequest) GetId

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

func (*SetPreferenceRequest) ProtoMessage

func (*SetPreferenceRequest) ProtoMessage()

func (*SetPreferenceRequest) ProtoReflect

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

func (*SetPreferenceRequest) Reset

func (x *SetPreferenceRequest) Reset()

func (*SetPreferenceRequest) String

func (x *SetPreferenceRequest) String() string

type SetPreferenceResponse

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

func (*SetPreferenceResponse) Descriptor deprecated

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

Deprecated: Use SetPreferenceResponse.ProtoReflect.Descriptor instead.

func (*SetPreferenceResponse) ProtoMessage

func (*SetPreferenceResponse) ProtoMessage()

func (*SetPreferenceResponse) ProtoReflect

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

func (*SetPreferenceResponse) Reset

func (x *SetPreferenceResponse) Reset()

func (*SetPreferenceResponse) String

func (x *SetPreferenceResponse) String() string

type ShutdownRequest

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

func (*ShutdownRequest) Descriptor deprecated

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

Deprecated: Use ShutdownRequest.ProtoReflect.Descriptor instead.

func (*ShutdownRequest) ProtoMessage

func (*ShutdownRequest) ProtoMessage()

func (*ShutdownRequest) ProtoReflect

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

func (*ShutdownRequest) Reset

func (x *ShutdownRequest) Reset()

func (*ShutdownRequest) String

func (x *ShutdownRequest) String() string

type ShutdownResponse

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

func (*ShutdownResponse) Descriptor deprecated

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

Deprecated: Use ShutdownResponse.ProtoReflect.Descriptor instead.

func (*ShutdownResponse) ProtoMessage

func (*ShutdownResponse) ProtoMessage()

func (*ShutdownResponse) ProtoReflect

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

func (*ShutdownResponse) Reset

func (x *ShutdownResponse) Reset()

func (*ShutdownResponse) String

func (x *ShutdownResponse) String() string

type UnimplementedVMServer

type UnimplementedVMServer struct {
}

UnimplementedVMServer must be embedded to have forward compatible implementations.

func (UnimplementedVMServer) BlockAccept

func (UnimplementedVMServer) BlockReject

func (UnimplementedVMServer) BlockVerify

func (UnimplementedVMServer) Bootstrapped

func (UnimplementedVMServer) Bootstrapping

func (UnimplementedVMServer) BuildBlock

func (UnimplementedVMServer) CreateHandlers

func (UnimplementedVMServer) CreateStaticHandlers added in v1.4.9

func (UnimplementedVMServer) GetBlock

func (UnimplementedVMServer) Health

func (UnimplementedVMServer) Initialize

func (UnimplementedVMServer) ParseBlock

func (UnimplementedVMServer) SetPreference

func (UnimplementedVMServer) Shutdown

type UnsafeVMServer added in v1.4.9

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 *BootstrappingRequest, opts ...grpc.CallOption) (*BootstrappingResponse, error)
	Bootstrapped(ctx context.Context, in *BootstrappedRequest, opts ...grpc.CallOption) (*BootstrappedResponse, error)
	Shutdown(ctx context.Context, in *ShutdownRequest, opts ...grpc.CallOption) (*ShutdownResponse, error)
	CreateHandlers(ctx context.Context, in *CreateHandlersRequest, opts ...grpc.CallOption) (*CreateHandlersResponse, error)
	CreateStaticHandlers(ctx context.Context, in *CreateStaticHandlersRequest, opts ...grpc.CallOption) (*CreateStaticHandlersResponse, error)
	BuildBlock(ctx context.Context, in *BuildBlockRequest, 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) (*SetPreferenceResponse, error)
	Health(ctx context.Context, in *HealthRequest, opts ...grpc.CallOption) (*HealthResponse, error)
	BlockVerify(ctx context.Context, in *BlockVerifyRequest, opts ...grpc.CallOption) (*BlockVerifyResponse, error)
	BlockAccept(ctx context.Context, in *BlockAcceptRequest, opts ...grpc.CallOption) (*BlockAcceptResponse, error)
	BlockReject(ctx context.Context, in *BlockRejectRequest, opts ...grpc.CallOption) (*BlockRejectResponse, 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 VersionedDBServer

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

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

Deprecated: Use VersionedDBServer.ProtoReflect.Descriptor instead.

func (*VersionedDBServer) GetDbServer

func (x *VersionedDBServer) GetDbServer() uint32

func (*VersionedDBServer) GetVersion

func (x *VersionedDBServer) GetVersion() string

func (*VersionedDBServer) ProtoMessage

func (*VersionedDBServer) ProtoMessage()

func (*VersionedDBServer) ProtoReflect

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

func (*VersionedDBServer) Reset

func (x *VersionedDBServer) Reset()

func (*VersionedDBServer) String

func (x *VersionedDBServer) String() string

Jump to

Keyboard shortcuts

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