Documentation ¶
Index ¶
- Variables
- func RegisterVMServer(s grpc.ServiceRegistrar, srv VMServer)
- type AppGossipMsg
- func (*AppGossipMsg) Descriptor() ([]byte, []int)deprecated
- func (x *AppGossipMsg) GetMsg() []byte
- func (x *AppGossipMsg) GetNodeID() []byte
- func (*AppGossipMsg) ProtoMessage()
- func (x *AppGossipMsg) ProtoReflect() protoreflect.Message
- func (x *AppGossipMsg) Reset()
- func (x *AppGossipMsg) String() string
- type AppRequestFailedMsg
- func (*AppRequestFailedMsg) Descriptor() ([]byte, []int)deprecated
- func (x *AppRequestFailedMsg) GetNodeID() []byte
- func (x *AppRequestFailedMsg) GetRequestID() uint32
- func (*AppRequestFailedMsg) ProtoMessage()
- func (x *AppRequestFailedMsg) ProtoReflect() protoreflect.Message
- func (x *AppRequestFailedMsg) Reset()
- func (x *AppRequestFailedMsg) String() string
- type AppRequestMsg
- func (*AppRequestMsg) Descriptor() ([]byte, []int)deprecated
- func (x *AppRequestMsg) GetDeadline() []byte
- func (x *AppRequestMsg) GetNodeID() []byte
- func (x *AppRequestMsg) GetRequest() []byte
- func (x *AppRequestMsg) GetRequestID() uint32
- func (*AppRequestMsg) ProtoMessage()
- func (x *AppRequestMsg) ProtoReflect() protoreflect.Message
- func (x *AppRequestMsg) Reset()
- func (x *AppRequestMsg) String() string
- type AppResponseMsg
- func (*AppResponseMsg) Descriptor() ([]byte, []int)deprecated
- func (x *AppResponseMsg) GetNodeID() []byte
- func (x *AppResponseMsg) GetRequestID() uint32
- func (x *AppResponseMsg) GetResponse() []byte
- func (*AppResponseMsg) ProtoMessage()
- func (x *AppResponseMsg) ProtoReflect() protoreflect.Message
- func (x *AppResponseMsg) Reset()
- func (x *AppResponseMsg) String() string
- type BatchedParseBlockRequest
- func (*BatchedParseBlockRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BatchedParseBlockRequest) GetRequest() [][]byte
- func (*BatchedParseBlockRequest) ProtoMessage()
- func (x *BatchedParseBlockRequest) ProtoReflect() protoreflect.Message
- func (x *BatchedParseBlockRequest) Reset()
- func (x *BatchedParseBlockRequest) String() string
- type BatchedParseBlockResponse
- func (*BatchedParseBlockResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BatchedParseBlockResponse) GetResponse() []*ParseBlockResponse
- func (*BatchedParseBlockResponse) ProtoMessage()
- func (x *BatchedParseBlockResponse) ProtoReflect() protoreflect.Message
- func (x *BatchedParseBlockResponse) Reset()
- func (x *BatchedParseBlockResponse) String() string
- type BlockAcceptRequest
- type BlockRejectRequest
- 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
- func (*BlockVerifyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BlockVerifyResponse) GetTimestamp() []byte
- func (*BlockVerifyResponse) ProtoMessage()
- func (x *BlockVerifyResponse) ProtoReflect() protoreflect.Message
- func (x *BlockVerifyResponse) Reset()
- func (x *BlockVerifyResponse) String() string
- 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 (x *BuildBlockResponse) GetTimestamp() []byte
- func (*BuildBlockResponse) ProtoMessage()
- func (x *BuildBlockResponse) ProtoReflect() protoreflect.Message
- func (x *BuildBlockResponse) Reset()
- func (x *BuildBlockResponse) String() string
- type ConnectedRequest
- 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 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 DisconnectedRequest
- func (*DisconnectedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DisconnectedRequest) GetNodeID() []byte
- func (*DisconnectedRequest) ProtoMessage()
- func (x *DisconnectedRequest) ProtoReflect() protoreflect.Message
- func (x *DisconnectedRequest) Reset()
- func (x *DisconnectedRequest) String() string
- type GatherResponse
- type GetAncestorsRequest
- func (*GetAncestorsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAncestorsRequest) GetBlkID() []byte
- func (x *GetAncestorsRequest) GetMaxBlocksNum() int32
- func (x *GetAncestorsRequest) GetMaxBlocksRetrivalTime() int64
- func (x *GetAncestorsRequest) GetMaxBlocksSize() int32
- func (*GetAncestorsRequest) ProtoMessage()
- func (x *GetAncestorsRequest) ProtoReflect() protoreflect.Message
- func (x *GetAncestorsRequest) Reset()
- func (x *GetAncestorsRequest) String() string
- type GetAncestorsResponse
- func (*GetAncestorsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAncestorsResponse) GetBlksBytes() [][]byte
- func (*GetAncestorsResponse) ProtoMessage()
- func (x *GetAncestorsResponse) ProtoReflect() protoreflect.Message
- func (x *GetAncestorsResponse) Reset()
- func (x *GetAncestorsResponse) 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 (x *GetBlockResponse) GetTimestamp() []byte
- 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 HealthResponse
- type InitializeRequest
- func (*InitializeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InitializeRequest) GetAppSenderServer() uint32
- 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) 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 (x *InitializeResponse) GetTimestamp() []byte
- 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 (x *ParseBlockResponse) GetTimestamp() []byte
- 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 UnimplementedVMServer
- func (UnimplementedVMServer) AppGossip(context.Context, *AppGossipMsg) (*emptypb.Empty, error)
- func (UnimplementedVMServer) AppRequest(context.Context, *AppRequestMsg) (*emptypb.Empty, error)
- func (UnimplementedVMServer) AppRequestFailed(context.Context, *AppRequestFailedMsg) (*emptypb.Empty, error)
- func (UnimplementedVMServer) AppResponse(context.Context, *AppResponseMsg) (*emptypb.Empty, error)
- func (UnimplementedVMServer) BatchedParseBlock(context.Context, *BatchedParseBlockRequest) (*BatchedParseBlockResponse, error)
- func (UnimplementedVMServer) BlockAccept(context.Context, *BlockAcceptRequest) (*emptypb.Empty, error)
- func (UnimplementedVMServer) BlockReject(context.Context, *BlockRejectRequest) (*emptypb.Empty, error)
- func (UnimplementedVMServer) BlockVerify(context.Context, *BlockVerifyRequest) (*BlockVerifyResponse, error)
- func (UnimplementedVMServer) Bootstrapped(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- func (UnimplementedVMServer) Bootstrapping(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- func (UnimplementedVMServer) BuildBlock(context.Context, *emptypb.Empty) (*BuildBlockResponse, error)
- func (UnimplementedVMServer) Connected(context.Context, *ConnectedRequest) (*emptypb.Empty, error)
- func (UnimplementedVMServer) CreateHandlers(context.Context, *emptypb.Empty) (*CreateHandlersResponse, error)
- func (UnimplementedVMServer) CreateStaticHandlers(context.Context, *emptypb.Empty) (*CreateStaticHandlersResponse, error)
- func (UnimplementedVMServer) Disconnected(context.Context, *DisconnectedRequest) (*emptypb.Empty, error)
- func (UnimplementedVMServer) Gather(context.Context, *emptypb.Empty) (*GatherResponse, error)
- func (UnimplementedVMServer) GetAncestors(context.Context, *GetAncestorsRequest) (*GetAncestorsResponse, error)
- func (UnimplementedVMServer) GetBlock(context.Context, *GetBlockRequest) (*GetBlockResponse, error)
- func (UnimplementedVMServer) Health(context.Context, *emptypb.Empty) (*HealthResponse, error)
- func (UnimplementedVMServer) Initialize(context.Context, *InitializeRequest) (*InitializeResponse, error)
- func (UnimplementedVMServer) ParseBlock(context.Context, *ParseBlockRequest) (*ParseBlockResponse, error)
- func (UnimplementedVMServer) SetPreference(context.Context, *SetPreferenceRequest) (*emptypb.Empty, error)
- func (UnimplementedVMServer) Shutdown(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- func (UnimplementedVMServer) Version(context.Context, *emptypb.Empty) (*VersionResponse, error)
- type UnsafeVMServer
- type VMClient
- type VMServer
- 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: "Connected", Handler: _VM_Connected_Handler, }, { MethodName: "Disconnected", Handler: _VM_Disconnected_Handler, }, { MethodName: "BuildBlock", Handler: _VM_BuildBlock_Handler, }, { MethodName: "ParseBlock", Handler: _VM_ParseBlock_Handler, }, { MethodName: "GetBlock", Handler: _VM_GetBlock_Handler, }, { MethodName: "SetPreference", Handler: _VM_SetPreference_Handler, }, { MethodName: "Health", Handler: _VM_Health_Handler, }, { MethodName: "Version", Handler: _VM_Version_Handler, }, { MethodName: "AppRequest", Handler: _VM_AppRequest_Handler, }, { MethodName: "AppRequestFailed", Handler: _VM_AppRequestFailed_Handler, }, { MethodName: "AppResponse", Handler: _VM_AppResponse_Handler, }, { MethodName: "AppGossip", Handler: _VM_AppGossip_Handler, }, { MethodName: "Gather", Handler: _VM_Gather_Handler, }, { MethodName: "BlockVerify", Handler: _VM_BlockVerify_Handler, }, { MethodName: "BlockAccept", Handler: _VM_BlockAccept_Handler, }, { MethodName: "BlockReject", Handler: _VM_BlockReject_Handler, }, { MethodName: "GetAncestors", Handler: _VM_GetAncestors_Handler, }, { MethodName: "BatchedParseBlock", Handler: _VM_BatchedParseBlock_Handler, }, }, 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 v0.2.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
v0.2.3
func (*AppGossipMsg) Descriptor() ([]byte, []int)
Deprecated: Use AppGossipMsg.ProtoReflect.Descriptor instead.
func (*AppGossipMsg) GetMsg ¶ added in v0.2.3
func (x *AppGossipMsg) GetMsg() []byte
func (*AppGossipMsg) GetNodeID ¶ added in v0.2.3
func (x *AppGossipMsg) GetNodeID() []byte
func (*AppGossipMsg) ProtoMessage ¶ added in v0.2.3
func (*AppGossipMsg) ProtoMessage()
func (*AppGossipMsg) ProtoReflect ¶ added in v0.2.3
func (x *AppGossipMsg) ProtoReflect() protoreflect.Message
func (*AppGossipMsg) Reset ¶ added in v0.2.3
func (x *AppGossipMsg) Reset()
func (*AppGossipMsg) String ¶ added in v0.2.3
func (x *AppGossipMsg) String() string
type AppRequestFailedMsg ¶ added in v0.2.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
v0.2.3
func (*AppRequestFailedMsg) Descriptor() ([]byte, []int)
Deprecated: Use AppRequestFailedMsg.ProtoReflect.Descriptor instead.
func (*AppRequestFailedMsg) GetNodeID ¶ added in v0.2.3
func (x *AppRequestFailedMsg) GetNodeID() []byte
func (*AppRequestFailedMsg) GetRequestID ¶ added in v0.2.3
func (x *AppRequestFailedMsg) GetRequestID() uint32
func (*AppRequestFailedMsg) ProtoMessage ¶ added in v0.2.3
func (*AppRequestFailedMsg) ProtoMessage()
func (*AppRequestFailedMsg) ProtoReflect ¶ added in v0.2.3
func (x *AppRequestFailedMsg) ProtoReflect() protoreflect.Message
func (*AppRequestFailedMsg) Reset ¶ added in v0.2.3
func (x *AppRequestFailedMsg) Reset()
func (*AppRequestFailedMsg) String ¶ added in v0.2.3
func (x *AppRequestFailedMsg) String() string
type AppRequestMsg ¶ added in v0.2.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"` // deadline for this request Deadline []byte `protobuf:"bytes,3,opt,name=deadline,proto3" json:"deadline,omitempty"` // The request body Request []byte `protobuf:"bytes,4,opt,name=request,proto3" json:"request,omitempty"` // contains filtered or unexported fields }
func (*AppRequestMsg) Descriptor
deprecated
added in
v0.2.3
func (*AppRequestMsg) Descriptor() ([]byte, []int)
Deprecated: Use AppRequestMsg.ProtoReflect.Descriptor instead.
func (*AppRequestMsg) GetDeadline ¶ added in v0.2.3
func (x *AppRequestMsg) GetDeadline() []byte
func (*AppRequestMsg) GetNodeID ¶ added in v0.2.3
func (x *AppRequestMsg) GetNodeID() []byte
func (*AppRequestMsg) GetRequest ¶ added in v0.2.3
func (x *AppRequestMsg) GetRequest() []byte
func (*AppRequestMsg) GetRequestID ¶ added in v0.2.3
func (x *AppRequestMsg) GetRequestID() uint32
func (*AppRequestMsg) ProtoMessage ¶ added in v0.2.3
func (*AppRequestMsg) ProtoMessage()
func (*AppRequestMsg) ProtoReflect ¶ added in v0.2.3
func (x *AppRequestMsg) ProtoReflect() protoreflect.Message
func (*AppRequestMsg) Reset ¶ added in v0.2.3
func (x *AppRequestMsg) Reset()
func (*AppRequestMsg) String ¶ added in v0.2.3
func (x *AppRequestMsg) String() string
type AppResponseMsg ¶ added in v0.2.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
v0.2.3
func (*AppResponseMsg) Descriptor() ([]byte, []int)
Deprecated: Use AppResponseMsg.ProtoReflect.Descriptor instead.
func (*AppResponseMsg) GetNodeID ¶ added in v0.2.3
func (x *AppResponseMsg) GetNodeID() []byte
func (*AppResponseMsg) GetRequestID ¶ added in v0.2.3
func (x *AppResponseMsg) GetRequestID() uint32
func (*AppResponseMsg) GetResponse ¶ added in v0.2.3
func (x *AppResponseMsg) GetResponse() []byte
func (*AppResponseMsg) ProtoMessage ¶ added in v0.2.3
func (*AppResponseMsg) ProtoMessage()
func (*AppResponseMsg) ProtoReflect ¶ added in v0.2.3
func (x *AppResponseMsg) ProtoReflect() protoreflect.Message
func (*AppResponseMsg) Reset ¶ added in v0.2.3
func (x *AppResponseMsg) Reset()
func (*AppResponseMsg) String ¶ added in v0.2.3
func (x *AppResponseMsg) String() string
type BatchedParseBlockRequest ¶ added in v0.2.3
type BatchedParseBlockRequest struct { Request [][]byte `protobuf:"bytes,1,rep,name=request,proto3" json:"request,omitempty"` // contains filtered or unexported fields }
func (*BatchedParseBlockRequest) Descriptor
deprecated
added in
v0.2.3
func (*BatchedParseBlockRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchedParseBlockRequest.ProtoReflect.Descriptor instead.
func (*BatchedParseBlockRequest) GetRequest ¶ added in v0.2.3
func (x *BatchedParseBlockRequest) GetRequest() [][]byte
func (*BatchedParseBlockRequest) ProtoMessage ¶ added in v0.2.3
func (*BatchedParseBlockRequest) ProtoMessage()
func (*BatchedParseBlockRequest) ProtoReflect ¶ added in v0.2.3
func (x *BatchedParseBlockRequest) ProtoReflect() protoreflect.Message
func (*BatchedParseBlockRequest) Reset ¶ added in v0.2.3
func (x *BatchedParseBlockRequest) Reset()
func (*BatchedParseBlockRequest) String ¶ added in v0.2.3
func (x *BatchedParseBlockRequest) String() string
type BatchedParseBlockResponse ¶ added in v0.2.3
type BatchedParseBlockResponse struct { Response []*ParseBlockResponse `protobuf:"bytes,1,rep,name=response,proto3" json:"response,omitempty"` // contains filtered or unexported fields }
func (*BatchedParseBlockResponse) Descriptor
deprecated
added in
v0.2.3
func (*BatchedParseBlockResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchedParseBlockResponse.ProtoReflect.Descriptor instead.
func (*BatchedParseBlockResponse) GetResponse ¶ added in v0.2.3
func (x *BatchedParseBlockResponse) GetResponse() []*ParseBlockResponse
func (*BatchedParseBlockResponse) ProtoMessage ¶ added in v0.2.3
func (*BatchedParseBlockResponse) ProtoMessage()
func (*BatchedParseBlockResponse) ProtoReflect ¶ added in v0.2.3
func (x *BatchedParseBlockResponse) ProtoReflect() protoreflect.Message
func (*BatchedParseBlockResponse) Reset ¶ added in v0.2.3
func (x *BatchedParseBlockResponse) Reset()
func (*BatchedParseBlockResponse) String ¶ added in v0.2.3
func (x *BatchedParseBlockResponse) String() string
type BlockAcceptRequest ¶
type BlockAcceptRequest struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*BlockAcceptRequest) Descriptor
deprecated
func (*BlockAcceptRequest) Descriptor() ([]byte, []int)
Deprecated: Use BlockAcceptRequest.ProtoReflect.Descriptor instead.
func (*BlockAcceptRequest) GetId ¶
func (x *BlockAcceptRequest) GetId() []byte
func (*BlockAcceptRequest) ProtoMessage ¶
func (*BlockAcceptRequest) ProtoMessage()
func (*BlockAcceptRequest) ProtoReflect ¶
func (x *BlockAcceptRequest) ProtoReflect() protoreflect.Message
func (*BlockAcceptRequest) Reset ¶
func (x *BlockAcceptRequest) Reset()
func (*BlockAcceptRequest) String ¶
func (x *BlockAcceptRequest) String() string
type BlockRejectRequest ¶
type BlockRejectRequest struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*BlockRejectRequest) Descriptor
deprecated
func (*BlockRejectRequest) Descriptor() ([]byte, []int)
Deprecated: Use BlockRejectRequest.ProtoReflect.Descriptor instead.
func (*BlockRejectRequest) GetId ¶
func (x *BlockRejectRequest) GetId() []byte
func (*BlockRejectRequest) ProtoMessage ¶
func (*BlockRejectRequest) ProtoMessage()
func (*BlockRejectRequest) ProtoReflect ¶
func (x *BlockRejectRequest) ProtoReflect() protoreflect.Message
func (*BlockRejectRequest) Reset ¶
func (x *BlockRejectRequest) Reset()
func (*BlockRejectRequest) String ¶
func (x *BlockRejectRequest) String() string
type BlockVerifyRequest ¶
type BlockVerifyRequest struct { Bytes []byte `protobuf:"bytes,1,opt,name=bytes,proto3" json:"bytes,omitempty"` // contains filtered or unexported fields }
func (*BlockVerifyRequest) Descriptor
deprecated
func (*BlockVerifyRequest) Descriptor() ([]byte, []int)
Deprecated: Use BlockVerifyRequest.ProtoReflect.Descriptor instead.
func (*BlockVerifyRequest) GetBytes ¶
func (x *BlockVerifyRequest) GetBytes() []byte
func (*BlockVerifyRequest) ProtoMessage ¶
func (*BlockVerifyRequest) ProtoMessage()
func (*BlockVerifyRequest) ProtoReflect ¶
func (x *BlockVerifyRequest) ProtoReflect() protoreflect.Message
func (*BlockVerifyRequest) Reset ¶
func (x *BlockVerifyRequest) Reset()
func (*BlockVerifyRequest) String ¶
func (x *BlockVerifyRequest) String() string
type BlockVerifyResponse ¶
type BlockVerifyResponse struct { Timestamp []byte `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*BlockVerifyResponse) Descriptor
deprecated
func (*BlockVerifyResponse) Descriptor() ([]byte, []int)
Deprecated: Use BlockVerifyResponse.ProtoReflect.Descriptor instead.
func (*BlockVerifyResponse) GetTimestamp ¶ added in v0.2.3
func (x *BlockVerifyResponse) GetTimestamp() []byte
func (*BlockVerifyResponse) ProtoMessage ¶
func (*BlockVerifyResponse) ProtoMessage()
func (*BlockVerifyResponse) ProtoReflect ¶
func (x *BlockVerifyResponse) ProtoReflect() protoreflect.Message
func (*BlockVerifyResponse) Reset ¶
func (x *BlockVerifyResponse) Reset()
func (*BlockVerifyResponse) String ¶
func (x *BlockVerifyResponse) String() string
type BuildBlockResponse ¶
type BuildBlockResponse struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` ParentID []byte `protobuf:"bytes,2,opt,name=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 ¶
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 v0.2.3
func (x *BuildBlockResponse) GetTimestamp() []byte
func (*BuildBlockResponse) ProtoMessage ¶
func (*BuildBlockResponse) ProtoMessage()
func (*BuildBlockResponse) ProtoReflect ¶
func (x *BuildBlockResponse) ProtoReflect() protoreflect.Message
func (*BuildBlockResponse) Reset ¶
func (x *BuildBlockResponse) Reset()
func (*BuildBlockResponse) String ¶
func (x *BuildBlockResponse) String() string
type ConnectedRequest ¶ added in v0.2.3
type ConnectedRequest struct { NodeID []byte `protobuf:"bytes,1,opt,name=nodeID,proto3" json:"nodeID,omitempty"` // contains filtered or unexported fields }
func (*ConnectedRequest) Descriptor
deprecated
added in
v0.2.3
func (*ConnectedRequest) Descriptor() ([]byte, []int)
Deprecated: Use ConnectedRequest.ProtoReflect.Descriptor instead.
func (*ConnectedRequest) GetNodeID ¶ added in v0.2.3
func (x *ConnectedRequest) GetNodeID() []byte
func (*ConnectedRequest) ProtoMessage ¶ added in v0.2.3
func (*ConnectedRequest) ProtoMessage()
func (*ConnectedRequest) ProtoReflect ¶ added in v0.2.3
func (x *ConnectedRequest) ProtoReflect() protoreflect.Message
func (*ConnectedRequest) Reset ¶ added in v0.2.3
func (x *ConnectedRequest) Reset()
func (*ConnectedRequest) String ¶ added in v0.2.3
func (x *ConnectedRequest) String() string
type CreateHandlersResponse ¶
type CreateHandlersResponse struct { Handlers []*Handler `protobuf:"bytes,1,rep,name=handlers,proto3" json:"handlers,omitempty"` // contains filtered or unexported fields }
func (*CreateHandlersResponse) Descriptor
deprecated
func (*CreateHandlersResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateHandlersResponse.ProtoReflect.Descriptor instead.
func (*CreateHandlersResponse) GetHandlers ¶
func (x *CreateHandlersResponse) GetHandlers() []*Handler
func (*CreateHandlersResponse) ProtoMessage ¶
func (*CreateHandlersResponse) ProtoMessage()
func (*CreateHandlersResponse) ProtoReflect ¶
func (x *CreateHandlersResponse) ProtoReflect() protoreflect.Message
func (*CreateHandlersResponse) Reset ¶
func (x *CreateHandlersResponse) Reset()
func (*CreateHandlersResponse) String ¶
func (x *CreateHandlersResponse) String() string
type CreateStaticHandlersResponse ¶
type CreateStaticHandlersResponse struct { Handlers []*Handler `protobuf:"bytes,1,rep,name=handlers,proto3" json:"handlers,omitempty"` // contains filtered or unexported fields }
func (*CreateStaticHandlersResponse) Descriptor
deprecated
func (*CreateStaticHandlersResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateStaticHandlersResponse.ProtoReflect.Descriptor instead.
func (*CreateStaticHandlersResponse) GetHandlers ¶
func (x *CreateStaticHandlersResponse) GetHandlers() []*Handler
func (*CreateStaticHandlersResponse) ProtoMessage ¶
func (*CreateStaticHandlersResponse) ProtoMessage()
func (*CreateStaticHandlersResponse) ProtoReflect ¶
func (x *CreateStaticHandlersResponse) ProtoReflect() protoreflect.Message
func (*CreateStaticHandlersResponse) Reset ¶
func (x *CreateStaticHandlersResponse) Reset()
func (*CreateStaticHandlersResponse) String ¶
func (x *CreateStaticHandlersResponse) String() string
type DisconnectedRequest ¶ added in v0.2.3
type DisconnectedRequest struct { NodeID []byte `protobuf:"bytes,1,opt,name=nodeID,proto3" json:"nodeID,omitempty"` // contains filtered or unexported fields }
func (*DisconnectedRequest) Descriptor
deprecated
added in
v0.2.3
func (*DisconnectedRequest) Descriptor() ([]byte, []int)
Deprecated: Use DisconnectedRequest.ProtoReflect.Descriptor instead.
func (*DisconnectedRequest) GetNodeID ¶ added in v0.2.3
func (x *DisconnectedRequest) GetNodeID() []byte
func (*DisconnectedRequest) ProtoMessage ¶ added in v0.2.3
func (*DisconnectedRequest) ProtoMessage()
func (*DisconnectedRequest) ProtoReflect ¶ added in v0.2.3
func (x *DisconnectedRequest) ProtoReflect() protoreflect.Message
func (*DisconnectedRequest) Reset ¶ added in v0.2.3
func (x *DisconnectedRequest) Reset()
func (*DisconnectedRequest) String ¶ added in v0.2.3
func (x *DisconnectedRequest) String() string
type GatherResponse ¶ added in v0.4.0
type GatherResponse struct { MetricFamilies []*_go.MetricFamily `protobuf:"bytes,1,rep,name=metricFamilies,proto3" json:"metricFamilies,omitempty"` // contains filtered or unexported fields }
func (*GatherResponse) Descriptor
deprecated
added in
v0.4.0
func (*GatherResponse) Descriptor() ([]byte, []int)
Deprecated: Use GatherResponse.ProtoReflect.Descriptor instead.
func (*GatherResponse) GetMetricFamilies ¶ added in v0.4.0
func (x *GatherResponse) GetMetricFamilies() []*_go.MetricFamily
func (*GatherResponse) ProtoMessage ¶ added in v0.4.0
func (*GatherResponse) ProtoMessage()
func (*GatherResponse) ProtoReflect ¶ added in v0.4.0
func (x *GatherResponse) ProtoReflect() protoreflect.Message
func (*GatherResponse) Reset ¶ added in v0.4.0
func (x *GatherResponse) Reset()
func (*GatherResponse) String ¶ added in v0.4.0
func (x *GatherResponse) String() string
type GetAncestorsRequest ¶ added in v0.2.3
type GetAncestorsRequest struct { BlkID []byte `protobuf:"bytes,1,opt,name=blkID,proto3" json:"blkID,omitempty"` MaxBlocksNum int32 `protobuf:"varint,2,opt,name=maxBlocksNum,proto3" json:"maxBlocksNum,omitempty"` MaxBlocksSize int32 `protobuf:"varint,3,opt,name=maxBlocksSize,proto3" json:"maxBlocksSize,omitempty"` MaxBlocksRetrivalTime int64 `protobuf:"varint,4,opt,name=maxBlocksRetrivalTime,proto3" json:"maxBlocksRetrivalTime,omitempty"` // contains filtered or unexported fields }
func (*GetAncestorsRequest) Descriptor
deprecated
added in
v0.2.3
func (*GetAncestorsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAncestorsRequest.ProtoReflect.Descriptor instead.
func (*GetAncestorsRequest) GetBlkID ¶ added in v0.2.3
func (x *GetAncestorsRequest) GetBlkID() []byte
func (*GetAncestorsRequest) GetMaxBlocksNum ¶ added in v0.2.3
func (x *GetAncestorsRequest) GetMaxBlocksNum() int32
func (*GetAncestorsRequest) GetMaxBlocksRetrivalTime ¶ added in v0.2.3
func (x *GetAncestorsRequest) GetMaxBlocksRetrivalTime() int64
func (*GetAncestorsRequest) GetMaxBlocksSize ¶ added in v0.2.3
func (x *GetAncestorsRequest) GetMaxBlocksSize() int32
func (*GetAncestorsRequest) ProtoMessage ¶ added in v0.2.3
func (*GetAncestorsRequest) ProtoMessage()
func (*GetAncestorsRequest) ProtoReflect ¶ added in v0.2.3
func (x *GetAncestorsRequest) ProtoReflect() protoreflect.Message
func (*GetAncestorsRequest) Reset ¶ added in v0.2.3
func (x *GetAncestorsRequest) Reset()
func (*GetAncestorsRequest) String ¶ added in v0.2.3
func (x *GetAncestorsRequest) String() string
type GetAncestorsResponse ¶ added in v0.2.3
type GetAncestorsResponse struct { BlksBytes [][]byte `protobuf:"bytes,1,rep,name=blksBytes,proto3" json:"blksBytes,omitempty"` // contains filtered or unexported fields }
func (*GetAncestorsResponse) Descriptor
deprecated
added in
v0.2.3
func (*GetAncestorsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAncestorsResponse.ProtoReflect.Descriptor instead.
func (*GetAncestorsResponse) GetBlksBytes ¶ added in v0.2.3
func (x *GetAncestorsResponse) GetBlksBytes() [][]byte
func (*GetAncestorsResponse) ProtoMessage ¶ added in v0.2.3
func (*GetAncestorsResponse) ProtoMessage()
func (*GetAncestorsResponse) ProtoReflect ¶ added in v0.2.3
func (x *GetAncestorsResponse) ProtoReflect() protoreflect.Message
func (*GetAncestorsResponse) Reset ¶ added in v0.2.3
func (x *GetAncestorsResponse) Reset()
func (*GetAncestorsResponse) String ¶ added in v0.2.3
func (x *GetAncestorsResponse) String() string
type GetBlockRequest ¶
type GetBlockRequest struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetBlockRequest) Descriptor
deprecated
func (*GetBlockRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBlockRequest.ProtoReflect.Descriptor instead.
func (*GetBlockRequest) GetId ¶
func (x *GetBlockRequest) GetId() []byte
func (*GetBlockRequest) ProtoMessage ¶
func (*GetBlockRequest) ProtoMessage()
func (*GetBlockRequest) ProtoReflect ¶
func (x *GetBlockRequest) ProtoReflect() protoreflect.Message
func (*GetBlockRequest) Reset ¶
func (x *GetBlockRequest) Reset()
func (*GetBlockRequest) String ¶
func (x *GetBlockRequest) String() string
type GetBlockResponse ¶
type GetBlockResponse struct { ParentID []byte `protobuf:"bytes,1,opt,name=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 ¶
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 v0.2.3
func (x *GetBlockResponse) GetTimestamp() []byte
func (*GetBlockResponse) ProtoMessage ¶
func (*GetBlockResponse) ProtoMessage()
func (*GetBlockResponse) ProtoReflect ¶
func (x *GetBlockResponse) ProtoReflect() protoreflect.Message
func (*GetBlockResponse) Reset ¶
func (x *GetBlockResponse) Reset()
func (*GetBlockResponse) String ¶
func (x *GetBlockResponse) String() string
type Handler ¶
type Handler struct { Prefix string `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"` LockOptions uint32 `protobuf:"varint,2,opt,name=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 ¶
func (x *Handler) ProtoReflect() protoreflect.Message
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"` 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"` // 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 v0.2.3
func (x *InitializeRequest) GetAppSenderServer() uint32
func (*InitializeRequest) GetAvaxAssetID ¶
func (x *InitializeRequest) GetAvaxAssetID() []byte
func (*InitializeRequest) GetBcLookupServer ¶
func (x *InitializeRequest) GetBcLookupServer() uint32
func (*InitializeRequest) GetChainID ¶
func (x *InitializeRequest) GetChainID() []byte
func (*InitializeRequest) GetConfigBytes ¶
func (x *InitializeRequest) GetConfigBytes() []byte
func (*InitializeRequest) GetDbServers ¶
func (x *InitializeRequest) GetDbServers() []*VersionedDBServer
func (*InitializeRequest) GetEngineServer ¶
func (x *InitializeRequest) GetEngineServer() uint32
func (*InitializeRequest) GetGenesisBytes ¶
func (x *InitializeRequest) GetGenesisBytes() []byte
func (*InitializeRequest) GetKeystoreServer ¶
func (x *InitializeRequest) GetKeystoreServer() uint32
func (*InitializeRequest) GetNetworkID ¶
func (x *InitializeRequest) GetNetworkID() uint32
func (*InitializeRequest) GetNodeID ¶
func (x *InitializeRequest) GetNodeID() []byte
func (*InitializeRequest) GetSharedMemoryServer ¶
func (x *InitializeRequest) GetSharedMemoryServer() uint32
func (*InitializeRequest) GetSnLookupServer ¶
func (x *InitializeRequest) GetSnLookupServer() uint32
func (*InitializeRequest) GetSubnetID ¶
func (x *InitializeRequest) GetSubnetID() []byte
func (*InitializeRequest) GetUpgradeBytes ¶
func (x *InitializeRequest) GetUpgradeBytes() []byte
func (*InitializeRequest) GetXChainID ¶
func (x *InitializeRequest) GetXChainID() []byte
func (*InitializeRequest) ProtoMessage ¶
func (*InitializeRequest) ProtoMessage()
func (*InitializeRequest) ProtoReflect ¶
func (x *InitializeRequest) ProtoReflect() protoreflect.Message
func (*InitializeRequest) Reset ¶
func (x *InitializeRequest) Reset()
func (*InitializeRequest) String ¶
func (x *InitializeRequest) String() string
type InitializeResponse ¶
type InitializeResponse struct { LastAcceptedID []byte `protobuf:"bytes,1,opt,name=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 ¶
func (x *InitializeResponse) GetBytes() []byte
func (*InitializeResponse) GetHeight ¶
func (x *InitializeResponse) GetHeight() uint64
func (*InitializeResponse) GetLastAcceptedID ¶
func (x *InitializeResponse) GetLastAcceptedID() []byte
func (*InitializeResponse) GetLastAcceptedParentID ¶
func (x *InitializeResponse) GetLastAcceptedParentID() []byte
func (*InitializeResponse) GetStatus ¶
func (x *InitializeResponse) GetStatus() uint32
func (*InitializeResponse) GetTimestamp ¶ added in v0.2.3
func (x *InitializeResponse) GetTimestamp() []byte
func (*InitializeResponse) ProtoMessage ¶
func (*InitializeResponse) ProtoMessage()
func (*InitializeResponse) ProtoReflect ¶
func (x *InitializeResponse) ProtoReflect() protoreflect.Message
func (*InitializeResponse) Reset ¶
func (x *InitializeResponse) Reset()
func (*InitializeResponse) String ¶
func (x *InitializeResponse) String() string
type ParseBlockRequest ¶
type ParseBlockRequest struct { Bytes []byte `protobuf:"bytes,1,opt,name=bytes,proto3" json:"bytes,omitempty"` // contains filtered or unexported fields }
func (*ParseBlockRequest) Descriptor
deprecated
func (*ParseBlockRequest) Descriptor() ([]byte, []int)
Deprecated: Use ParseBlockRequest.ProtoReflect.Descriptor instead.
func (*ParseBlockRequest) GetBytes ¶
func (x *ParseBlockRequest) GetBytes() []byte
func (*ParseBlockRequest) ProtoMessage ¶
func (*ParseBlockRequest) ProtoMessage()
func (*ParseBlockRequest) ProtoReflect ¶
func (x *ParseBlockRequest) ProtoReflect() protoreflect.Message
func (*ParseBlockRequest) Reset ¶
func (x *ParseBlockRequest) Reset()
func (*ParseBlockRequest) String ¶
func (x *ParseBlockRequest) String() string
type ParseBlockResponse ¶
type ParseBlockResponse struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` ParentID []byte `protobuf:"bytes,2,opt,name=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 ¶
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 v0.2.3
func (x *ParseBlockResponse) GetTimestamp() []byte
func (*ParseBlockResponse) ProtoMessage ¶
func (*ParseBlockResponse) ProtoMessage()
func (*ParseBlockResponse) ProtoReflect ¶
func (x *ParseBlockResponse) ProtoReflect() protoreflect.Message
func (*ParseBlockResponse) Reset ¶
func (x *ParseBlockResponse) Reset()
func (*ParseBlockResponse) String ¶
func (x *ParseBlockResponse) String() string
type SetPreferenceRequest ¶
type SetPreferenceRequest struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*SetPreferenceRequest) Descriptor
deprecated
func (*SetPreferenceRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetPreferenceRequest.ProtoReflect.Descriptor instead.
func (*SetPreferenceRequest) GetId ¶
func (x *SetPreferenceRequest) GetId() []byte
func (*SetPreferenceRequest) ProtoMessage ¶
func (*SetPreferenceRequest) ProtoMessage()
func (*SetPreferenceRequest) ProtoReflect ¶
func (x *SetPreferenceRequest) ProtoReflect() protoreflect.Message
func (*SetPreferenceRequest) Reset ¶
func (x *SetPreferenceRequest) Reset()
func (*SetPreferenceRequest) String ¶
func (x *SetPreferenceRequest) String() string
type UnimplementedVMServer ¶
type UnimplementedVMServer struct { }
UnimplementedVMServer must be embedded to have forward compatible implementations.
func (UnimplementedVMServer) AppGossip ¶ added in v0.2.3
func (UnimplementedVMServer) AppGossip(context.Context, *AppGossipMsg) (*emptypb.Empty, error)
func (UnimplementedVMServer) AppRequest ¶ added in v0.2.3
func (UnimplementedVMServer) AppRequest(context.Context, *AppRequestMsg) (*emptypb.Empty, error)
func (UnimplementedVMServer) AppRequestFailed ¶ added in v0.2.3
func (UnimplementedVMServer) AppRequestFailed(context.Context, *AppRequestFailedMsg) (*emptypb.Empty, error)
func (UnimplementedVMServer) AppResponse ¶ added in v0.2.3
func (UnimplementedVMServer) AppResponse(context.Context, *AppResponseMsg) (*emptypb.Empty, error)
func (UnimplementedVMServer) BatchedParseBlock ¶ added in v0.2.3
func (UnimplementedVMServer) BatchedParseBlock(context.Context, *BatchedParseBlockRequest) (*BatchedParseBlockResponse, error)
func (UnimplementedVMServer) BlockAccept ¶
func (UnimplementedVMServer) BlockAccept(context.Context, *BlockAcceptRequest) (*emptypb.Empty, error)
func (UnimplementedVMServer) BlockReject ¶
func (UnimplementedVMServer) BlockReject(context.Context, *BlockRejectRequest) (*emptypb.Empty, error)
func (UnimplementedVMServer) BlockVerify ¶
func (UnimplementedVMServer) BlockVerify(context.Context, *BlockVerifyRequest) (*BlockVerifyResponse, error)
func (UnimplementedVMServer) Bootstrapped ¶
func (UnimplementedVMServer) Bootstrapping ¶
func (UnimplementedVMServer) BuildBlock ¶
func (UnimplementedVMServer) BuildBlock(context.Context, *emptypb.Empty) (*BuildBlockResponse, error)
func (UnimplementedVMServer) Connected ¶ added in v0.2.3
func (UnimplementedVMServer) Connected(context.Context, *ConnectedRequest) (*emptypb.Empty, error)
func (UnimplementedVMServer) CreateHandlers ¶
func (UnimplementedVMServer) CreateHandlers(context.Context, *emptypb.Empty) (*CreateHandlersResponse, error)
func (UnimplementedVMServer) CreateStaticHandlers ¶
func (UnimplementedVMServer) CreateStaticHandlers(context.Context, *emptypb.Empty) (*CreateStaticHandlersResponse, error)
func (UnimplementedVMServer) Disconnected ¶ added in v0.2.3
func (UnimplementedVMServer) Disconnected(context.Context, *DisconnectedRequest) (*emptypb.Empty, error)
func (UnimplementedVMServer) Gather ¶ added in v0.4.0
func (UnimplementedVMServer) Gather(context.Context, *emptypb.Empty) (*GatherResponse, error)
func (UnimplementedVMServer) GetAncestors ¶ added in v0.2.3
func (UnimplementedVMServer) GetAncestors(context.Context, *GetAncestorsRequest) (*GetAncestorsResponse, error)
func (UnimplementedVMServer) GetBlock ¶
func (UnimplementedVMServer) GetBlock(context.Context, *GetBlockRequest) (*GetBlockResponse, error)
func (UnimplementedVMServer) Health ¶
func (UnimplementedVMServer) Health(context.Context, *emptypb.Empty) (*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) (*emptypb.Empty, error)
func (UnimplementedVMServer) Version ¶
func (UnimplementedVMServer) Version(context.Context, *emptypb.Empty) (*VersionResponse, error)
type UnsafeVMServer ¶
type UnsafeVMServer interface {
// contains filtered or unexported methods
}
UnsafeVMServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to VMServer will result in compilation errors.
type VMClient ¶
type VMClient interface { Initialize(ctx context.Context, in *InitializeRequest, opts ...grpc.CallOption) (*InitializeResponse, error) Bootstrapping(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) Bootstrapped(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) Shutdown(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) CreateHandlers(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*CreateHandlersResponse, error) CreateStaticHandlers(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*CreateStaticHandlersResponse, error) Connected(ctx context.Context, in *ConnectedRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) Disconnected(ctx context.Context, in *DisconnectedRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) BuildBlock(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*BuildBlockResponse, error) ParseBlock(ctx context.Context, in *ParseBlockRequest, opts ...grpc.CallOption) (*ParseBlockResponse, error) GetBlock(ctx context.Context, in *GetBlockRequest, opts ...grpc.CallOption) (*GetBlockResponse, error) SetPreference(ctx context.Context, in *SetPreferenceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) Health(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*HealthResponse, error) Version(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*VersionResponse, error) AppRequest(ctx context.Context, in *AppRequestMsg, opts ...grpc.CallOption) (*emptypb.Empty, error) AppRequestFailed(ctx context.Context, in *AppRequestFailedMsg, opts ...grpc.CallOption) (*emptypb.Empty, error) AppResponse(ctx context.Context, in *AppResponseMsg, opts ...grpc.CallOption) (*emptypb.Empty, error) AppGossip(ctx context.Context, in *AppGossipMsg, opts ...grpc.CallOption) (*emptypb.Empty, error) Gather(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GatherResponse, error) BlockVerify(ctx context.Context, in *BlockVerifyRequest, opts ...grpc.CallOption) (*BlockVerifyResponse, error) BlockAccept(ctx context.Context, in *BlockAcceptRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) BlockReject(ctx context.Context, in *BlockRejectRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) GetAncestors(ctx context.Context, in *GetAncestorsRequest, opts ...grpc.CallOption) (*GetAncestorsResponse, error) BatchedParseBlock(ctx context.Context, in *BatchedParseBlockRequest, opts ...grpc.CallOption) (*BatchedParseBlockResponse, error) }
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, *emptypb.Empty) (*emptypb.Empty, error) Bootstrapped(context.Context, *emptypb.Empty) (*emptypb.Empty, error) Shutdown(context.Context, *emptypb.Empty) (*emptypb.Empty, error) CreateHandlers(context.Context, *emptypb.Empty) (*CreateHandlersResponse, error) CreateStaticHandlers(context.Context, *emptypb.Empty) (*CreateStaticHandlersResponse, error) Connected(context.Context, *ConnectedRequest) (*emptypb.Empty, error) Disconnected(context.Context, *DisconnectedRequest) (*emptypb.Empty, error) BuildBlock(context.Context, *emptypb.Empty) (*BuildBlockResponse, error) ParseBlock(context.Context, *ParseBlockRequest) (*ParseBlockResponse, error) GetBlock(context.Context, *GetBlockRequest) (*GetBlockResponse, error) SetPreference(context.Context, *SetPreferenceRequest) (*emptypb.Empty, error) Health(context.Context, *emptypb.Empty) (*HealthResponse, error) Version(context.Context, *emptypb.Empty) (*VersionResponse, error) AppRequest(context.Context, *AppRequestMsg) (*emptypb.Empty, error) AppRequestFailed(context.Context, *AppRequestFailedMsg) (*emptypb.Empty, error) AppResponse(context.Context, *AppResponseMsg) (*emptypb.Empty, error) AppGossip(context.Context, *AppGossipMsg) (*emptypb.Empty, error) Gather(context.Context, *emptypb.Empty) (*GatherResponse, error) BlockVerify(context.Context, *BlockVerifyRequest) (*BlockVerifyResponse, error) BlockAccept(context.Context, *BlockAcceptRequest) (*emptypb.Empty, error) BlockReject(context.Context, *BlockRejectRequest) (*emptypb.Empty, error) GetAncestors(context.Context, *GetAncestorsRequest) (*GetAncestorsResponse, error) BatchedParseBlock(context.Context, *BatchedParseBlockRequest) (*BatchedParseBlockResponse, error) // contains filtered or unexported methods }
VMServer is the server API for VM service. All implementations must embed UnimplementedVMServer for forward compatibility
type VersionResponse ¶
type VersionResponse struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*VersionResponse) Descriptor
deprecated
func (*VersionResponse) Descriptor() ([]byte, []int)
Deprecated: Use VersionResponse.ProtoReflect.Descriptor instead.
func (*VersionResponse) GetVersion ¶
func (x *VersionResponse) GetVersion() string
func (*VersionResponse) ProtoMessage ¶
func (*VersionResponse) ProtoMessage()
func (*VersionResponse) ProtoReflect ¶
func (x *VersionResponse) ProtoReflect() protoreflect.Message
func (*VersionResponse) Reset ¶
func (x *VersionResponse) Reset()
func (*VersionResponse) String ¶
func (x *VersionResponse) String() string
type VersionedDBServer ¶
type VersionedDBServer struct { DbServer uint32 `protobuf:"varint,1,opt,name=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