Documentation ¶
Index ¶
- Variables
- func RegisterVMServer(s grpc.ServiceRegistrar, srv VMServer)
- type BlockAcceptRequest
- type BlockAcceptResponse
- type BlockRejectRequest
- type BlockRejectResponse
- type BlockVerifyRequest
- func (*BlockVerifyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BlockVerifyRequest) GetBytes() []byte
- func (*BlockVerifyRequest) ProtoMessage()
- func (x *BlockVerifyRequest) ProtoReflect() protoreflect.Message
- func (x *BlockVerifyRequest) Reset()
- func (x *BlockVerifyRequest) String() string
- type BlockVerifyResponse
- type BootstrappedRequest
- type BootstrappedResponse
- type BootstrappingRequest
- type BootstrappingResponse
- type BuildBlockRequest
- type BuildBlockResponse
- func (*BuildBlockResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BuildBlockResponse) GetBytes() []byte
- func (x *BuildBlockResponse) GetHeight() uint64
- func (x *BuildBlockResponse) GetId() []byte
- func (x *BuildBlockResponse) GetParentID() []byte
- func (*BuildBlockResponse) ProtoMessage()
- func (x *BuildBlockResponse) ProtoReflect() protoreflect.Message
- func (x *BuildBlockResponse) Reset()
- func (x *BuildBlockResponse) String() string
- type CreateHandlersRequest
- type CreateHandlersResponse
- func (*CreateHandlersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateHandlersResponse) GetHandlers() []*Handler
- func (*CreateHandlersResponse) ProtoMessage()
- func (x *CreateHandlersResponse) ProtoReflect() protoreflect.Message
- func (x *CreateHandlersResponse) Reset()
- func (x *CreateHandlersResponse) String() string
- type CreateStaticHandlersRequest
- type CreateStaticHandlersResponse
- func (*CreateStaticHandlersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateStaticHandlersResponse) GetHandlers() []*Handler
- func (*CreateStaticHandlersResponse) ProtoMessage()
- func (x *CreateStaticHandlersResponse) ProtoReflect() protoreflect.Message
- func (x *CreateStaticHandlersResponse) Reset()
- func (x *CreateStaticHandlersResponse) String() string
- type GetBlockRequest
- type GetBlockResponse
- func (*GetBlockResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlockResponse) GetBytes() []byte
- func (x *GetBlockResponse) GetHeight() uint64
- func (x *GetBlockResponse) GetParentID() []byte
- func (x *GetBlockResponse) GetStatus() uint32
- func (*GetBlockResponse) ProtoMessage()
- func (x *GetBlockResponse) ProtoReflect() protoreflect.Message
- func (x *GetBlockResponse) Reset()
- func (x *GetBlockResponse) String() string
- type Handler
- func (*Handler) Descriptor() ([]byte, []int)deprecated
- func (x *Handler) GetLockOptions() uint32
- func (x *Handler) GetPrefix() string
- func (x *Handler) GetServer() uint32
- func (*Handler) ProtoMessage()
- func (x *Handler) ProtoReflect() protoreflect.Message
- func (x *Handler) Reset()
- func (x *Handler) String() string
- type HealthRequest
- type HealthResponse
- type InitializeRequest
- func (*InitializeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InitializeRequest) GetAvaxAssetID() []byte
- func (x *InitializeRequest) GetBcLookupServer() uint32
- func (x *InitializeRequest) GetChainID() []byte
- func (x *InitializeRequest) GetConfigBytes() []byte
- func (x *InitializeRequest) GetDbServers() []*VersionedDBServer
- func (x *InitializeRequest) GetEngineServer() uint32
- func (x *InitializeRequest) GetEpochDuration() uint64
- func (x *InitializeRequest) GetEpochFirstTransition() []byte
- func (x *InitializeRequest) GetGenesisBytes() []byte
- func (x *InitializeRequest) GetKeystoreServer() uint32
- func (x *InitializeRequest) GetNetworkID() uint32
- func (x *InitializeRequest) GetNodeID() []byte
- func (x *InitializeRequest) GetSharedMemoryServer() uint32
- func (x *InitializeRequest) GetSnLookupServer() uint32
- func (x *InitializeRequest) GetSubnetID() []byte
- func (x *InitializeRequest) GetUpgradeBytes() []byte
- func (x *InitializeRequest) GetXChainID() []byte
- func (*InitializeRequest) ProtoMessage()
- func (x *InitializeRequest) ProtoReflect() protoreflect.Message
- func (x *InitializeRequest) Reset()
- func (x *InitializeRequest) String() string
- type InitializeResponse
- func (*InitializeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InitializeResponse) GetBytes() []byte
- func (x *InitializeResponse) GetHeight() uint64
- func (x *InitializeResponse) GetLastAcceptedID() []byte
- func (x *InitializeResponse) GetLastAcceptedParentID() []byte
- func (x *InitializeResponse) GetStatus() uint32
- func (*InitializeResponse) ProtoMessage()
- func (x *InitializeResponse) ProtoReflect() protoreflect.Message
- func (x *InitializeResponse) Reset()
- func (x *InitializeResponse) String() string
- type ParseBlockRequest
- type ParseBlockResponse
- func (*ParseBlockResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ParseBlockResponse) GetHeight() uint64
- func (x *ParseBlockResponse) GetId() []byte
- func (x *ParseBlockResponse) GetParentID() []byte
- func (x *ParseBlockResponse) GetStatus() uint32
- func (*ParseBlockResponse) ProtoMessage()
- func (x *ParseBlockResponse) ProtoReflect() protoreflect.Message
- func (x *ParseBlockResponse) Reset()
- func (x *ParseBlockResponse) String() string
- type SetPreferenceRequest
- func (*SetPreferenceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetPreferenceRequest) GetId() []byte
- func (*SetPreferenceRequest) ProtoMessage()
- func (x *SetPreferenceRequest) ProtoReflect() protoreflect.Message
- func (x *SetPreferenceRequest) Reset()
- func (x *SetPreferenceRequest) String() string
- type SetPreferenceResponse
- type ShutdownRequest
- type ShutdownResponse
- type UnimplementedVMServer
- func (UnimplementedVMServer) BlockAccept(context.Context, *BlockAcceptRequest) (*BlockAcceptResponse, error)
- func (UnimplementedVMServer) BlockReject(context.Context, *BlockRejectRequest) (*BlockRejectResponse, error)
- func (UnimplementedVMServer) BlockVerify(context.Context, *BlockVerifyRequest) (*BlockVerifyResponse, error)
- func (UnimplementedVMServer) Bootstrapped(context.Context, *BootstrappedRequest) (*BootstrappedResponse, error)
- func (UnimplementedVMServer) Bootstrapping(context.Context, *BootstrappingRequest) (*BootstrappingResponse, error)
- func (UnimplementedVMServer) BuildBlock(context.Context, *BuildBlockRequest) (*BuildBlockResponse, error)
- func (UnimplementedVMServer) CreateHandlers(context.Context, *CreateHandlersRequest) (*CreateHandlersResponse, error)
- func (UnimplementedVMServer) CreateStaticHandlers(context.Context, *CreateStaticHandlersRequest) (*CreateStaticHandlersResponse, error)
- func (UnimplementedVMServer) GetBlock(context.Context, *GetBlockRequest) (*GetBlockResponse, error)
- func (UnimplementedVMServer) Health(context.Context, *HealthRequest) (*HealthResponse, error)
- func (UnimplementedVMServer) Initialize(context.Context, *InitializeRequest) (*InitializeResponse, error)
- func (UnimplementedVMServer) ParseBlock(context.Context, *ParseBlockRequest) (*ParseBlockResponse, error)
- func (UnimplementedVMServer) SetPreference(context.Context, *SetPreferenceRequest) (*SetPreferenceResponse, error)
- func (UnimplementedVMServer) Shutdown(context.Context, *ShutdownRequest) (*ShutdownResponse, error)
- func (UnimplementedVMServer) Version(context.Context, *VersionRequest) (*VersionResponse, error)
- type UnsafeVMServer
- type VMClient
- type VMServer
- type VersionRequest
- type VersionResponse
- type VersionedDBServer
- func (*VersionedDBServer) Descriptor() ([]byte, []int)deprecated
- func (x *VersionedDBServer) GetDbServer() uint32
- func (x *VersionedDBServer) GetVersion() string
- func (*VersionedDBServer) ProtoMessage()
- func (x *VersionedDBServer) ProtoReflect() protoreflect.Message
- func (x *VersionedDBServer) Reset()
- func (x *VersionedDBServer) String() string
Constants ¶
This section is empty.
Variables ¶
var File_vm_proto protoreflect.FileDescriptor
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: "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 ¶ 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 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 ¶ added in v1.1.2
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 ¶ 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 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 ¶ added in v1.1.2
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 { 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 {
// 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 ¶ 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 BootstrappedRequest ¶ added in v0.8.0
type BootstrappedRequest struct {
// contains filtered or unexported fields
}
func (*BootstrappedRequest) Descriptor
deprecated
added in
v0.8.0
func (*BootstrappedRequest) Descriptor() ([]byte, []int)
Deprecated: Use BootstrappedRequest.ProtoReflect.Descriptor instead.
func (*BootstrappedRequest) ProtoMessage ¶ added in v0.8.0
func (*BootstrappedRequest) ProtoMessage()
func (*BootstrappedRequest) ProtoReflect ¶ added in v1.1.2
func (x *BootstrappedRequest) ProtoReflect() protoreflect.Message
func (*BootstrappedRequest) Reset ¶ added in v0.8.0
func (x *BootstrappedRequest) Reset()
func (*BootstrappedRequest) String ¶ added in v0.8.0
func (x *BootstrappedRequest) String() string
type BootstrappedResponse ¶ added in v0.8.0
type BootstrappedResponse struct {
// contains filtered or unexported fields
}
func (*BootstrappedResponse) Descriptor
deprecated
added in
v0.8.0
func (*BootstrappedResponse) Descriptor() ([]byte, []int)
Deprecated: Use BootstrappedResponse.ProtoReflect.Descriptor instead.
func (*BootstrappedResponse) ProtoMessage ¶ added in v0.8.0
func (*BootstrappedResponse) ProtoMessage()
func (*BootstrappedResponse) ProtoReflect ¶ added in v1.1.2
func (x *BootstrappedResponse) ProtoReflect() protoreflect.Message
func (*BootstrappedResponse) Reset ¶ added in v0.8.0
func (x *BootstrappedResponse) Reset()
func (*BootstrappedResponse) String ¶ added in v0.8.0
func (x *BootstrappedResponse) String() string
type BootstrappingRequest ¶ added in v0.8.0
type BootstrappingRequest struct {
// contains filtered or unexported fields
}
func (*BootstrappingRequest) Descriptor
deprecated
added in
v0.8.0
func (*BootstrappingRequest) Descriptor() ([]byte, []int)
Deprecated: Use BootstrappingRequest.ProtoReflect.Descriptor instead.
func (*BootstrappingRequest) ProtoMessage ¶ added in v0.8.0
func (*BootstrappingRequest) ProtoMessage()
func (*BootstrappingRequest) ProtoReflect ¶ added in v1.1.2
func (x *BootstrappingRequest) ProtoReflect() protoreflect.Message
func (*BootstrappingRequest) Reset ¶ added in v0.8.0
func (x *BootstrappingRequest) Reset()
func (*BootstrappingRequest) String ¶ added in v0.8.0
func (x *BootstrappingRequest) String() string
type BootstrappingResponse ¶ added in v0.8.0
type BootstrappingResponse struct {
// contains filtered or unexported fields
}
func (*BootstrappingResponse) Descriptor
deprecated
added in
v0.8.0
func (*BootstrappingResponse) Descriptor() ([]byte, []int)
Deprecated: Use BootstrappingResponse.ProtoReflect.Descriptor instead.
func (*BootstrappingResponse) ProtoMessage ¶ added in v0.8.0
func (*BootstrappingResponse) ProtoMessage()
func (*BootstrappingResponse) ProtoReflect ¶ added in v1.1.2
func (x *BootstrappingResponse) ProtoReflect() protoreflect.Message
func (*BootstrappingResponse) Reset ¶ added in v0.8.0
func (x *BootstrappingResponse) Reset()
func (*BootstrappingResponse) String ¶ added in v0.8.0
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 ¶ added in v1.1.2
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 ¶ 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) 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 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 ¶ added in v1.1.2
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 ¶ 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 CreateStaticHandlersRequest ¶ added in v1.4.8
type CreateStaticHandlersRequest struct {
// contains filtered or unexported fields
}
func (*CreateStaticHandlersRequest) Descriptor
deprecated
added in
v1.4.8
func (*CreateStaticHandlersRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateStaticHandlersRequest.ProtoReflect.Descriptor instead.
func (*CreateStaticHandlersRequest) ProtoMessage ¶ added in v1.4.8
func (*CreateStaticHandlersRequest) ProtoMessage()
func (*CreateStaticHandlersRequest) ProtoReflect ¶ added in v1.4.8
func (x *CreateStaticHandlersRequest) ProtoReflect() protoreflect.Message
func (*CreateStaticHandlersRequest) Reset ¶ added in v1.4.8
func (x *CreateStaticHandlersRequest) Reset()
func (*CreateStaticHandlersRequest) String ¶ added in v1.4.8
func (x *CreateStaticHandlersRequest) 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 (x *CreateStaticHandlersResponse) ProtoReflect() protoreflect.Message
func (*CreateStaticHandlersResponse) Reset ¶ added in v1.4.8
func (x *CreateStaticHandlersResponse) Reset()
func (*CreateStaticHandlersResponse) String ¶ added in v1.4.8
func (x *CreateStaticHandlersResponse) 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"` // 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) 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) GetLockOptions ¶
func (*Handler) ProtoMessage ¶
func (*Handler) ProtoMessage()
func (*Handler) ProtoReflect ¶ added in v1.1.2
func (x *Handler) ProtoReflect() protoreflect.Message
type HealthRequest ¶ added in v1.0.3
type HealthRequest struct {
// contains filtered or unexported fields
}
func (*HealthRequest) Descriptor
deprecated
added in
v1.0.3
func (*HealthRequest) Descriptor() ([]byte, []int)
Deprecated: Use HealthRequest.ProtoReflect.Descriptor instead.
func (*HealthRequest) ProtoMessage ¶ added in v1.0.3
func (*HealthRequest) ProtoMessage()
func (*HealthRequest) ProtoReflect ¶ added in v1.1.2
func (x *HealthRequest) ProtoReflect() protoreflect.Message
func (*HealthRequest) Reset ¶ added in v1.0.3
func (x *HealthRequest) Reset()
func (*HealthRequest) String ¶ added in v1.0.3
func (x *HealthRequest) 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"` 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 ¶ 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"` // 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) 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"` // 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) 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 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 ¶ added in v1.1.2
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 ¶ added in v1.1.2
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 ¶ added in v1.1.2
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) BlockAccept(context.Context, *BlockAcceptRequest) (*BlockAcceptResponse, error)
func (UnimplementedVMServer) BlockReject ¶
func (UnimplementedVMServer) BlockReject(context.Context, *BlockRejectRequest) (*BlockRejectResponse, error)
func (UnimplementedVMServer) BlockVerify ¶
func (UnimplementedVMServer) BlockVerify(context.Context, *BlockVerifyRequest) (*BlockVerifyResponse, error)
func (UnimplementedVMServer) Bootstrapped ¶ added in v0.8.0
func (UnimplementedVMServer) Bootstrapped(context.Context, *BootstrappedRequest) (*BootstrappedResponse, error)
func (UnimplementedVMServer) Bootstrapping ¶ added in v0.8.0
func (UnimplementedVMServer) Bootstrapping(context.Context, *BootstrappingRequest) (*BootstrappingResponse, error)
func (UnimplementedVMServer) BuildBlock ¶
func (UnimplementedVMServer) BuildBlock(context.Context, *BuildBlockRequest) (*BuildBlockResponse, error)
func (UnimplementedVMServer) CreateHandlers ¶
func (UnimplementedVMServer) CreateHandlers(context.Context, *CreateHandlersRequest) (*CreateHandlersResponse, error)
func (UnimplementedVMServer) CreateStaticHandlers ¶ added in v1.4.8
func (UnimplementedVMServer) CreateStaticHandlers(context.Context, *CreateStaticHandlersRequest) (*CreateStaticHandlersResponse, error)
func (UnimplementedVMServer) GetBlock ¶
func (UnimplementedVMServer) GetBlock(context.Context, *GetBlockRequest) (*GetBlockResponse, error)
func (UnimplementedVMServer) Health ¶ added in v1.0.3
func (UnimplementedVMServer) Health(context.Context, *HealthRequest) (*HealthResponse, error)
func (UnimplementedVMServer) Initialize ¶
func (UnimplementedVMServer) Initialize(context.Context, *InitializeRequest) (*InitializeResponse, error)
func (UnimplementedVMServer) ParseBlock ¶
func (UnimplementedVMServer) ParseBlock(context.Context, *ParseBlockRequest) (*ParseBlockResponse, error)
func (UnimplementedVMServer) SetPreference ¶
func (UnimplementedVMServer) SetPreference(context.Context, *SetPreferenceRequest) (*SetPreferenceResponse, error)
func (UnimplementedVMServer) Shutdown ¶
func (UnimplementedVMServer) Shutdown(context.Context, *ShutdownRequest) (*ShutdownResponse, error)
func (UnimplementedVMServer) Version ¶ added in v1.4.10
func (UnimplementedVMServer) Version(context.Context, *VersionRequest) (*VersionResponse, error)
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 *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) Version(ctx context.Context, in *VersionRequest, opts ...grpc.CallOption) (*VersionResponse, 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 ¶
type VMServer interface { Initialize(context.Context, *InitializeRequest) (*InitializeResponse, error) Bootstrapping(context.Context, *BootstrappingRequest) (*BootstrappingResponse, error) Bootstrapped(context.Context, *BootstrappedRequest) (*BootstrappedResponse, error) Shutdown(context.Context, *ShutdownRequest) (*ShutdownResponse, error) CreateHandlers(context.Context, *CreateHandlersRequest) (*CreateHandlersResponse, error) CreateStaticHandlers(context.Context, *CreateStaticHandlersRequest) (*CreateStaticHandlersResponse, error) BuildBlock(context.Context, *BuildBlockRequest) (*BuildBlockResponse, error) ParseBlock(context.Context, *ParseBlockRequest) (*ParseBlockResponse, error) GetBlock(context.Context, *GetBlockRequest) (*GetBlockResponse, error) SetPreference(context.Context, *SetPreferenceRequest) (*SetPreferenceResponse, error) Health(context.Context, *HealthRequest) (*HealthResponse, error) Version(context.Context, *VersionRequest) (*VersionResponse, error) BlockVerify(context.Context, *BlockVerifyRequest) (*BlockVerifyResponse, error) BlockAccept(context.Context, *BlockAcceptRequest) (*BlockAcceptResponse, error) BlockReject(context.Context, *BlockRejectRequest) (*BlockRejectResponse, error) // contains filtered or unexported methods }
VMServer is the server API for VM service. All implementations must embed UnimplementedVMServer for forward compatibility
type VersionRequest ¶ added in v1.4.10
type VersionRequest struct {
// contains filtered or unexported fields
}
func (*VersionRequest) Descriptor
deprecated
added in
v1.4.10
func (*VersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use VersionRequest.ProtoReflect.Descriptor instead.
func (*VersionRequest) ProtoMessage ¶ added in v1.4.10
func (*VersionRequest) ProtoMessage()
func (*VersionRequest) ProtoReflect ¶ added in v1.4.10
func (x *VersionRequest) ProtoReflect() protoreflect.Message
func (*VersionRequest) Reset ¶ added in v1.4.10
func (x *VersionRequest) Reset()
func (*VersionRequest) String ¶ added in v1.4.10
func (x *VersionRequest) String() string
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