Documentation ¶
Index ¶
- func RegisterVMServer(s *grpc.Server, srv VMServer)
- type BlockAcceptRequest
- func (*BlockAcceptRequest) Descriptor() ([]byte, []int)
- func (m *BlockAcceptRequest) GetId() []byte
- func (*BlockAcceptRequest) ProtoMessage()
- func (m *BlockAcceptRequest) Reset()
- func (m *BlockAcceptRequest) String() string
- func (m *BlockAcceptRequest) XXX_DiscardUnknown()
- func (m *BlockAcceptRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockAcceptRequest) XXX_Merge(src proto.Message)
- func (m *BlockAcceptRequest) XXX_Size() int
- func (m *BlockAcceptRequest) XXX_Unmarshal(b []byte) error
- type BlockAcceptResponse
- func (*BlockAcceptResponse) Descriptor() ([]byte, []int)
- func (*BlockAcceptResponse) ProtoMessage()
- func (m *BlockAcceptResponse) Reset()
- func (m *BlockAcceptResponse) String() string
- func (m *BlockAcceptResponse) XXX_DiscardUnknown()
- func (m *BlockAcceptResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockAcceptResponse) XXX_Merge(src proto.Message)
- func (m *BlockAcceptResponse) XXX_Size() int
- func (m *BlockAcceptResponse) XXX_Unmarshal(b []byte) error
- type BlockRejectRequest
- func (*BlockRejectRequest) Descriptor() ([]byte, []int)
- func (m *BlockRejectRequest) GetId() []byte
- func (*BlockRejectRequest) ProtoMessage()
- func (m *BlockRejectRequest) Reset()
- func (m *BlockRejectRequest) String() string
- func (m *BlockRejectRequest) XXX_DiscardUnknown()
- func (m *BlockRejectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockRejectRequest) XXX_Merge(src proto.Message)
- func (m *BlockRejectRequest) XXX_Size() int
- func (m *BlockRejectRequest) XXX_Unmarshal(b []byte) error
- type BlockRejectResponse
- func (*BlockRejectResponse) Descriptor() ([]byte, []int)
- func (*BlockRejectResponse) ProtoMessage()
- func (m *BlockRejectResponse) Reset()
- func (m *BlockRejectResponse) String() string
- func (m *BlockRejectResponse) XXX_DiscardUnknown()
- func (m *BlockRejectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockRejectResponse) XXX_Merge(src proto.Message)
- func (m *BlockRejectResponse) XXX_Size() int
- func (m *BlockRejectResponse) XXX_Unmarshal(b []byte) error
- type BlockVerifyRequest
- func (*BlockVerifyRequest) Descriptor() ([]byte, []int)
- func (m *BlockVerifyRequest) GetId() []byte
- func (*BlockVerifyRequest) ProtoMessage()
- func (m *BlockVerifyRequest) Reset()
- func (m *BlockVerifyRequest) String() string
- func (m *BlockVerifyRequest) XXX_DiscardUnknown()
- func (m *BlockVerifyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockVerifyRequest) XXX_Merge(src proto.Message)
- func (m *BlockVerifyRequest) XXX_Size() int
- func (m *BlockVerifyRequest) XXX_Unmarshal(b []byte) error
- type BlockVerifyResponse
- func (*BlockVerifyResponse) Descriptor() ([]byte, []int)
- func (*BlockVerifyResponse) ProtoMessage()
- func (m *BlockVerifyResponse) Reset()
- func (m *BlockVerifyResponse) String() string
- func (m *BlockVerifyResponse) XXX_DiscardUnknown()
- func (m *BlockVerifyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockVerifyResponse) XXX_Merge(src proto.Message)
- func (m *BlockVerifyResponse) XXX_Size() int
- func (m *BlockVerifyResponse) XXX_Unmarshal(b []byte) error
- type BootstrappedRequest
- func (*BootstrappedRequest) Descriptor() ([]byte, []int)
- func (*BootstrappedRequest) ProtoMessage()
- func (m *BootstrappedRequest) Reset()
- func (m *BootstrappedRequest) String() string
- func (m *BootstrappedRequest) XXX_DiscardUnknown()
- func (m *BootstrappedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BootstrappedRequest) XXX_Merge(src proto.Message)
- func (m *BootstrappedRequest) XXX_Size() int
- func (m *BootstrappedRequest) XXX_Unmarshal(b []byte) error
- type BootstrappedResponse
- func (*BootstrappedResponse) Descriptor() ([]byte, []int)
- func (*BootstrappedResponse) ProtoMessage()
- func (m *BootstrappedResponse) Reset()
- func (m *BootstrappedResponse) String() string
- func (m *BootstrappedResponse) XXX_DiscardUnknown()
- func (m *BootstrappedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BootstrappedResponse) XXX_Merge(src proto.Message)
- func (m *BootstrappedResponse) XXX_Size() int
- func (m *BootstrappedResponse) XXX_Unmarshal(b []byte) error
- type BootstrappingRequest
- func (*BootstrappingRequest) Descriptor() ([]byte, []int)
- func (*BootstrappingRequest) ProtoMessage()
- func (m *BootstrappingRequest) Reset()
- func (m *BootstrappingRequest) String() string
- func (m *BootstrappingRequest) XXX_DiscardUnknown()
- func (m *BootstrappingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BootstrappingRequest) XXX_Merge(src proto.Message)
- func (m *BootstrappingRequest) XXX_Size() int
- func (m *BootstrappingRequest) XXX_Unmarshal(b []byte) error
- type BootstrappingResponse
- func (*BootstrappingResponse) Descriptor() ([]byte, []int)
- func (*BootstrappingResponse) ProtoMessage()
- func (m *BootstrappingResponse) Reset()
- func (m *BootstrappingResponse) String() string
- func (m *BootstrappingResponse) XXX_DiscardUnknown()
- func (m *BootstrappingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BootstrappingResponse) XXX_Merge(src proto.Message)
- func (m *BootstrappingResponse) XXX_Size() int
- func (m *BootstrappingResponse) XXX_Unmarshal(b []byte) error
- type BuildBlockRequest
- func (*BuildBlockRequest) Descriptor() ([]byte, []int)
- func (*BuildBlockRequest) ProtoMessage()
- func (m *BuildBlockRequest) Reset()
- func (m *BuildBlockRequest) String() string
- func (m *BuildBlockRequest) XXX_DiscardUnknown()
- func (m *BuildBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BuildBlockRequest) XXX_Merge(src proto.Message)
- func (m *BuildBlockRequest) XXX_Size() int
- func (m *BuildBlockRequest) XXX_Unmarshal(b []byte) error
- type BuildBlockResponse
- func (*BuildBlockResponse) Descriptor() ([]byte, []int)
- func (m *BuildBlockResponse) GetBytes() []byte
- func (m *BuildBlockResponse) GetId() []byte
- func (m *BuildBlockResponse) GetParentID() []byte
- func (*BuildBlockResponse) ProtoMessage()
- func (m *BuildBlockResponse) Reset()
- func (m *BuildBlockResponse) String() string
- func (m *BuildBlockResponse) XXX_DiscardUnknown()
- func (m *BuildBlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BuildBlockResponse) XXX_Merge(src proto.Message)
- func (m *BuildBlockResponse) XXX_Size() int
- func (m *BuildBlockResponse) XXX_Unmarshal(b []byte) error
- type CreateHandlersRequest
- func (*CreateHandlersRequest) Descriptor() ([]byte, []int)
- func (*CreateHandlersRequest) ProtoMessage()
- func (m *CreateHandlersRequest) Reset()
- func (m *CreateHandlersRequest) String() string
- func (m *CreateHandlersRequest) XXX_DiscardUnknown()
- func (m *CreateHandlersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateHandlersRequest) XXX_Merge(src proto.Message)
- func (m *CreateHandlersRequest) XXX_Size() int
- func (m *CreateHandlersRequest) XXX_Unmarshal(b []byte) error
- type CreateHandlersResponse
- func (*CreateHandlersResponse) Descriptor() ([]byte, []int)
- func (m *CreateHandlersResponse) GetHandlers() []*Handler
- func (*CreateHandlersResponse) ProtoMessage()
- func (m *CreateHandlersResponse) Reset()
- func (m *CreateHandlersResponse) String() string
- func (m *CreateHandlersResponse) XXX_DiscardUnknown()
- func (m *CreateHandlersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateHandlersResponse) XXX_Merge(src proto.Message)
- func (m *CreateHandlersResponse) XXX_Size() int
- func (m *CreateHandlersResponse) XXX_Unmarshal(b []byte) error
- type GetBlockRequest
- func (*GetBlockRequest) Descriptor() ([]byte, []int)
- func (m *GetBlockRequest) GetId() []byte
- func (*GetBlockRequest) ProtoMessage()
- func (m *GetBlockRequest) Reset()
- func (m *GetBlockRequest) String() string
- func (m *GetBlockRequest) XXX_DiscardUnknown()
- func (m *GetBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBlockRequest) XXX_Merge(src proto.Message)
- func (m *GetBlockRequest) XXX_Size() int
- func (m *GetBlockRequest) XXX_Unmarshal(b []byte) error
- type GetBlockResponse
- func (*GetBlockResponse) Descriptor() ([]byte, []int)
- func (m *GetBlockResponse) GetBytes() []byte
- func (m *GetBlockResponse) GetParentID() []byte
- func (m *GetBlockResponse) GetStatus() uint32
- func (*GetBlockResponse) ProtoMessage()
- func (m *GetBlockResponse) Reset()
- func (m *GetBlockResponse) String() string
- func (m *GetBlockResponse) XXX_DiscardUnknown()
- func (m *GetBlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBlockResponse) XXX_Merge(src proto.Message)
- func (m *GetBlockResponse) XXX_Size() int
- func (m *GetBlockResponse) XXX_Unmarshal(b []byte) error
- type Handler
- func (*Handler) Descriptor() ([]byte, []int)
- func (m *Handler) GetLockOptions() uint32
- func (m *Handler) GetPrefix() string
- func (m *Handler) GetServer() uint32
- func (*Handler) ProtoMessage()
- func (m *Handler) Reset()
- func (m *Handler) String() string
- func (m *Handler) XXX_DiscardUnknown()
- func (m *Handler) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Handler) XXX_Merge(src proto.Message)
- func (m *Handler) XXX_Size() int
- func (m *Handler) XXX_Unmarshal(b []byte) error
- type InitializeRequest
- func (*InitializeRequest) Descriptor() ([]byte, []int)
- func (m *InitializeRequest) GetAvaxAssetID() []byte
- func (m *InitializeRequest) GetBcLookupServer() uint32
- func (m *InitializeRequest) GetChainID() []byte
- func (m *InitializeRequest) GetDbServer() uint32
- func (m *InitializeRequest) GetEngineServer() uint32
- func (m *InitializeRequest) GetGenesisBytes() []byte
- func (m *InitializeRequest) GetKeystoreServer() uint32
- func (m *InitializeRequest) GetNetworkID() uint32
- func (m *InitializeRequest) GetNodeID() []byte
- func (m *InitializeRequest) GetSharedMemoryServer() uint32
- func (m *InitializeRequest) GetSnLookupServer() uint32
- func (m *InitializeRequest) GetSubnetID() []byte
- func (m *InitializeRequest) GetXChainID() []byte
- func (*InitializeRequest) ProtoMessage()
- func (m *InitializeRequest) Reset()
- func (m *InitializeRequest) String() string
- func (m *InitializeRequest) XXX_DiscardUnknown()
- func (m *InitializeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InitializeRequest) XXX_Merge(src proto.Message)
- func (m *InitializeRequest) XXX_Size() int
- func (m *InitializeRequest) XXX_Unmarshal(b []byte) error
- type InitializeResponse
- func (*InitializeResponse) Descriptor() ([]byte, []int)
- func (m *InitializeResponse) GetLastAcceptedID() []byte
- func (*InitializeResponse) ProtoMessage()
- func (m *InitializeResponse) Reset()
- func (m *InitializeResponse) String() string
- func (m *InitializeResponse) XXX_DiscardUnknown()
- func (m *InitializeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InitializeResponse) XXX_Merge(src proto.Message)
- func (m *InitializeResponse) XXX_Size() int
- func (m *InitializeResponse) XXX_Unmarshal(b []byte) error
- type ParseBlockRequest
- func (*ParseBlockRequest) Descriptor() ([]byte, []int)
- func (m *ParseBlockRequest) GetBytes() []byte
- func (*ParseBlockRequest) ProtoMessage()
- func (m *ParseBlockRequest) Reset()
- func (m *ParseBlockRequest) String() string
- func (m *ParseBlockRequest) XXX_DiscardUnknown()
- func (m *ParseBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ParseBlockRequest) XXX_Merge(src proto.Message)
- func (m *ParseBlockRequest) XXX_Size() int
- func (m *ParseBlockRequest) XXX_Unmarshal(b []byte) error
- type ParseBlockResponse
- func (*ParseBlockResponse) Descriptor() ([]byte, []int)
- func (m *ParseBlockResponse) GetId() []byte
- func (m *ParseBlockResponse) GetParentID() []byte
- func (m *ParseBlockResponse) GetStatus() uint32
- func (*ParseBlockResponse) ProtoMessage()
- func (m *ParseBlockResponse) Reset()
- func (m *ParseBlockResponse) String() string
- func (m *ParseBlockResponse) XXX_DiscardUnknown()
- func (m *ParseBlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ParseBlockResponse) XXX_Merge(src proto.Message)
- func (m *ParseBlockResponse) XXX_Size() int
- func (m *ParseBlockResponse) XXX_Unmarshal(b []byte) error
- type SetPreferenceRequest
- func (*SetPreferenceRequest) Descriptor() ([]byte, []int)
- func (m *SetPreferenceRequest) GetId() []byte
- func (*SetPreferenceRequest) ProtoMessage()
- func (m *SetPreferenceRequest) Reset()
- func (m *SetPreferenceRequest) String() string
- func (m *SetPreferenceRequest) XXX_DiscardUnknown()
- func (m *SetPreferenceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetPreferenceRequest) XXX_Merge(src proto.Message)
- func (m *SetPreferenceRequest) XXX_Size() int
- func (m *SetPreferenceRequest) XXX_Unmarshal(b []byte) error
- type SetPreferenceResponse
- func (*SetPreferenceResponse) Descriptor() ([]byte, []int)
- func (*SetPreferenceResponse) ProtoMessage()
- func (m *SetPreferenceResponse) Reset()
- func (m *SetPreferenceResponse) String() string
- func (m *SetPreferenceResponse) XXX_DiscardUnknown()
- func (m *SetPreferenceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetPreferenceResponse) XXX_Merge(src proto.Message)
- func (m *SetPreferenceResponse) XXX_Size() int
- func (m *SetPreferenceResponse) XXX_Unmarshal(b []byte) error
- type ShutdownRequest
- func (*ShutdownRequest) Descriptor() ([]byte, []int)
- func (*ShutdownRequest) ProtoMessage()
- func (m *ShutdownRequest) Reset()
- func (m *ShutdownRequest) String() string
- func (m *ShutdownRequest) XXX_DiscardUnknown()
- func (m *ShutdownRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ShutdownRequest) XXX_Merge(src proto.Message)
- func (m *ShutdownRequest) XXX_Size() int
- func (m *ShutdownRequest) XXX_Unmarshal(b []byte) error
- type ShutdownResponse
- func (*ShutdownResponse) Descriptor() ([]byte, []int)
- func (*ShutdownResponse) ProtoMessage()
- func (m *ShutdownResponse) Reset()
- func (m *ShutdownResponse) String() string
- func (m *ShutdownResponse) XXX_DiscardUnknown()
- func (m *ShutdownResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ShutdownResponse) XXX_Merge(src proto.Message)
- func (m *ShutdownResponse) XXX_Size() int
- func (m *ShutdownResponse) XXX_Unmarshal(b []byte) error
- type UnimplementedVMServer
- func (*UnimplementedVMServer) BlockAccept(ctx context.Context, req *BlockAcceptRequest) (*BlockAcceptResponse, error)
- func (*UnimplementedVMServer) BlockReject(ctx context.Context, req *BlockRejectRequest) (*BlockRejectResponse, error)
- func (*UnimplementedVMServer) BlockVerify(ctx context.Context, req *BlockVerifyRequest) (*BlockVerifyResponse, error)
- func (*UnimplementedVMServer) Bootstrapped(ctx context.Context, req *BootstrappedRequest) (*BootstrappedResponse, error)
- func (*UnimplementedVMServer) Bootstrapping(ctx context.Context, req *BootstrappingRequest) (*BootstrappingResponse, error)
- func (*UnimplementedVMServer) BuildBlock(ctx context.Context, req *BuildBlockRequest) (*BuildBlockResponse, error)
- func (*UnimplementedVMServer) CreateHandlers(ctx context.Context, req *CreateHandlersRequest) (*CreateHandlersResponse, error)
- func (*UnimplementedVMServer) GetBlock(ctx context.Context, req *GetBlockRequest) (*GetBlockResponse, error)
- func (*UnimplementedVMServer) Initialize(ctx context.Context, req *InitializeRequest) (*InitializeResponse, error)
- func (*UnimplementedVMServer) ParseBlock(ctx context.Context, req *ParseBlockRequest) (*ParseBlockResponse, error)
- func (*UnimplementedVMServer) SetPreference(ctx context.Context, req *SetPreferenceRequest) (*SetPreferenceResponse, error)
- func (*UnimplementedVMServer) Shutdown(ctx context.Context, req *ShutdownRequest) (*ShutdownResponse, error)
- type VMClient
- type VMServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterVMServer ¶
Types ¶
type BlockAcceptRequest ¶
type BlockAcceptRequest struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BlockAcceptRequest) Descriptor ¶
func (*BlockAcceptRequest) Descriptor() ([]byte, []int)
func (*BlockAcceptRequest) GetId ¶
func (m *BlockAcceptRequest) GetId() []byte
func (*BlockAcceptRequest) ProtoMessage ¶
func (*BlockAcceptRequest) ProtoMessage()
func (*BlockAcceptRequest) Reset ¶
func (m *BlockAcceptRequest) Reset()
func (*BlockAcceptRequest) String ¶
func (m *BlockAcceptRequest) String() string
func (*BlockAcceptRequest) XXX_DiscardUnknown ¶
func (m *BlockAcceptRequest) XXX_DiscardUnknown()
func (*BlockAcceptRequest) XXX_Marshal ¶
func (m *BlockAcceptRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockAcceptRequest) XXX_Merge ¶
func (m *BlockAcceptRequest) XXX_Merge(src proto.Message)
func (*BlockAcceptRequest) XXX_Size ¶
func (m *BlockAcceptRequest) XXX_Size() int
func (*BlockAcceptRequest) XXX_Unmarshal ¶
func (m *BlockAcceptRequest) XXX_Unmarshal(b []byte) error
type BlockAcceptResponse ¶
type BlockAcceptResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BlockAcceptResponse) Descriptor ¶
func (*BlockAcceptResponse) Descriptor() ([]byte, []int)
func (*BlockAcceptResponse) ProtoMessage ¶
func (*BlockAcceptResponse) ProtoMessage()
func (*BlockAcceptResponse) Reset ¶
func (m *BlockAcceptResponse) Reset()
func (*BlockAcceptResponse) String ¶
func (m *BlockAcceptResponse) String() string
func (*BlockAcceptResponse) XXX_DiscardUnknown ¶
func (m *BlockAcceptResponse) XXX_DiscardUnknown()
func (*BlockAcceptResponse) XXX_Marshal ¶
func (m *BlockAcceptResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockAcceptResponse) XXX_Merge ¶
func (m *BlockAcceptResponse) XXX_Merge(src proto.Message)
func (*BlockAcceptResponse) XXX_Size ¶
func (m *BlockAcceptResponse) XXX_Size() int
func (*BlockAcceptResponse) XXX_Unmarshal ¶
func (m *BlockAcceptResponse) XXX_Unmarshal(b []byte) error
type BlockRejectRequest ¶
type BlockRejectRequest struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BlockRejectRequest) Descriptor ¶
func (*BlockRejectRequest) Descriptor() ([]byte, []int)
func (*BlockRejectRequest) GetId ¶
func (m *BlockRejectRequest) GetId() []byte
func (*BlockRejectRequest) ProtoMessage ¶
func (*BlockRejectRequest) ProtoMessage()
func (*BlockRejectRequest) Reset ¶
func (m *BlockRejectRequest) Reset()
func (*BlockRejectRequest) String ¶
func (m *BlockRejectRequest) String() string
func (*BlockRejectRequest) XXX_DiscardUnknown ¶
func (m *BlockRejectRequest) XXX_DiscardUnknown()
func (*BlockRejectRequest) XXX_Marshal ¶
func (m *BlockRejectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockRejectRequest) XXX_Merge ¶
func (m *BlockRejectRequest) XXX_Merge(src proto.Message)
func (*BlockRejectRequest) XXX_Size ¶
func (m *BlockRejectRequest) XXX_Size() int
func (*BlockRejectRequest) XXX_Unmarshal ¶
func (m *BlockRejectRequest) XXX_Unmarshal(b []byte) error
type BlockRejectResponse ¶
type BlockRejectResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BlockRejectResponse) Descriptor ¶
func (*BlockRejectResponse) Descriptor() ([]byte, []int)
func (*BlockRejectResponse) ProtoMessage ¶
func (*BlockRejectResponse) ProtoMessage()
func (*BlockRejectResponse) Reset ¶
func (m *BlockRejectResponse) Reset()
func (*BlockRejectResponse) String ¶
func (m *BlockRejectResponse) String() string
func (*BlockRejectResponse) XXX_DiscardUnknown ¶
func (m *BlockRejectResponse) XXX_DiscardUnknown()
func (*BlockRejectResponse) XXX_Marshal ¶
func (m *BlockRejectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockRejectResponse) XXX_Merge ¶
func (m *BlockRejectResponse) XXX_Merge(src proto.Message)
func (*BlockRejectResponse) XXX_Size ¶
func (m *BlockRejectResponse) XXX_Size() int
func (*BlockRejectResponse) XXX_Unmarshal ¶
func (m *BlockRejectResponse) XXX_Unmarshal(b []byte) error
type BlockVerifyRequest ¶
type BlockVerifyRequest struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BlockVerifyRequest) Descriptor ¶
func (*BlockVerifyRequest) Descriptor() ([]byte, []int)
func (*BlockVerifyRequest) GetId ¶
func (m *BlockVerifyRequest) GetId() []byte
func (*BlockVerifyRequest) ProtoMessage ¶
func (*BlockVerifyRequest) ProtoMessage()
func (*BlockVerifyRequest) Reset ¶
func (m *BlockVerifyRequest) Reset()
func (*BlockVerifyRequest) String ¶
func (m *BlockVerifyRequest) String() string
func (*BlockVerifyRequest) XXX_DiscardUnknown ¶
func (m *BlockVerifyRequest) XXX_DiscardUnknown()
func (*BlockVerifyRequest) XXX_Marshal ¶
func (m *BlockVerifyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockVerifyRequest) XXX_Merge ¶
func (m *BlockVerifyRequest) XXX_Merge(src proto.Message)
func (*BlockVerifyRequest) XXX_Size ¶
func (m *BlockVerifyRequest) XXX_Size() int
func (*BlockVerifyRequest) XXX_Unmarshal ¶
func (m *BlockVerifyRequest) XXX_Unmarshal(b []byte) error
type BlockVerifyResponse ¶
type BlockVerifyResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BlockVerifyResponse) Descriptor ¶
func (*BlockVerifyResponse) Descriptor() ([]byte, []int)
func (*BlockVerifyResponse) ProtoMessage ¶
func (*BlockVerifyResponse) ProtoMessage()
func (*BlockVerifyResponse) Reset ¶
func (m *BlockVerifyResponse) Reset()
func (*BlockVerifyResponse) String ¶
func (m *BlockVerifyResponse) String() string
func (*BlockVerifyResponse) XXX_DiscardUnknown ¶
func (m *BlockVerifyResponse) XXX_DiscardUnknown()
func (*BlockVerifyResponse) XXX_Marshal ¶
func (m *BlockVerifyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockVerifyResponse) XXX_Merge ¶
func (m *BlockVerifyResponse) XXX_Merge(src proto.Message)
func (*BlockVerifyResponse) XXX_Size ¶
func (m *BlockVerifyResponse) XXX_Size() int
func (*BlockVerifyResponse) XXX_Unmarshal ¶
func (m *BlockVerifyResponse) XXX_Unmarshal(b []byte) error
type BootstrappedRequest ¶ added in v0.5.3
type BootstrappedRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BootstrappedRequest) Descriptor ¶ added in v0.5.3
func (*BootstrappedRequest) Descriptor() ([]byte, []int)
func (*BootstrappedRequest) ProtoMessage ¶ added in v0.5.3
func (*BootstrappedRequest) ProtoMessage()
func (*BootstrappedRequest) Reset ¶ added in v0.5.3
func (m *BootstrappedRequest) Reset()
func (*BootstrappedRequest) String ¶ added in v0.5.3
func (m *BootstrappedRequest) String() string
func (*BootstrappedRequest) XXX_DiscardUnknown ¶ added in v0.5.3
func (m *BootstrappedRequest) XXX_DiscardUnknown()
func (*BootstrappedRequest) XXX_Marshal ¶ added in v0.5.3
func (m *BootstrappedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BootstrappedRequest) XXX_Merge ¶ added in v0.5.3
func (m *BootstrappedRequest) XXX_Merge(src proto.Message)
func (*BootstrappedRequest) XXX_Size ¶ added in v0.5.3
func (m *BootstrappedRequest) XXX_Size() int
func (*BootstrappedRequest) XXX_Unmarshal ¶ added in v0.5.3
func (m *BootstrappedRequest) XXX_Unmarshal(b []byte) error
type BootstrappedResponse ¶ added in v0.5.3
type BootstrappedResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BootstrappedResponse) Descriptor ¶ added in v0.5.3
func (*BootstrappedResponse) Descriptor() ([]byte, []int)
func (*BootstrappedResponse) ProtoMessage ¶ added in v0.5.3
func (*BootstrappedResponse) ProtoMessage()
func (*BootstrappedResponse) Reset ¶ added in v0.5.3
func (m *BootstrappedResponse) Reset()
func (*BootstrappedResponse) String ¶ added in v0.5.3
func (m *BootstrappedResponse) String() string
func (*BootstrappedResponse) XXX_DiscardUnknown ¶ added in v0.5.3
func (m *BootstrappedResponse) XXX_DiscardUnknown()
func (*BootstrappedResponse) XXX_Marshal ¶ added in v0.5.3
func (m *BootstrappedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BootstrappedResponse) XXX_Merge ¶ added in v0.5.3
func (m *BootstrappedResponse) XXX_Merge(src proto.Message)
func (*BootstrappedResponse) XXX_Size ¶ added in v0.5.3
func (m *BootstrappedResponse) XXX_Size() int
func (*BootstrappedResponse) XXX_Unmarshal ¶ added in v0.5.3
func (m *BootstrappedResponse) XXX_Unmarshal(b []byte) error
type BootstrappingRequest ¶ added in v0.5.3
type BootstrappingRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BootstrappingRequest) Descriptor ¶ added in v0.5.3
func (*BootstrappingRequest) Descriptor() ([]byte, []int)
func (*BootstrappingRequest) ProtoMessage ¶ added in v0.5.3
func (*BootstrappingRequest) ProtoMessage()
func (*BootstrappingRequest) Reset ¶ added in v0.5.3
func (m *BootstrappingRequest) Reset()
func (*BootstrappingRequest) String ¶ added in v0.5.3
func (m *BootstrappingRequest) String() string
func (*BootstrappingRequest) XXX_DiscardUnknown ¶ added in v0.5.3
func (m *BootstrappingRequest) XXX_DiscardUnknown()
func (*BootstrappingRequest) XXX_Marshal ¶ added in v0.5.3
func (m *BootstrappingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BootstrappingRequest) XXX_Merge ¶ added in v0.5.3
func (m *BootstrappingRequest) XXX_Merge(src proto.Message)
func (*BootstrappingRequest) XXX_Size ¶ added in v0.5.3
func (m *BootstrappingRequest) XXX_Size() int
func (*BootstrappingRequest) XXX_Unmarshal ¶ added in v0.5.3
func (m *BootstrappingRequest) XXX_Unmarshal(b []byte) error
type BootstrappingResponse ¶ added in v0.5.3
type BootstrappingResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BootstrappingResponse) Descriptor ¶ added in v0.5.3
func (*BootstrappingResponse) Descriptor() ([]byte, []int)
func (*BootstrappingResponse) ProtoMessage ¶ added in v0.5.3
func (*BootstrappingResponse) ProtoMessage()
func (*BootstrappingResponse) Reset ¶ added in v0.5.3
func (m *BootstrappingResponse) Reset()
func (*BootstrappingResponse) String ¶ added in v0.5.3
func (m *BootstrappingResponse) String() string
func (*BootstrappingResponse) XXX_DiscardUnknown ¶ added in v0.5.3
func (m *BootstrappingResponse) XXX_DiscardUnknown()
func (*BootstrappingResponse) XXX_Marshal ¶ added in v0.5.3
func (m *BootstrappingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BootstrappingResponse) XXX_Merge ¶ added in v0.5.3
func (m *BootstrappingResponse) XXX_Merge(src proto.Message)
func (*BootstrappingResponse) XXX_Size ¶ added in v0.5.3
func (m *BootstrappingResponse) XXX_Size() int
func (*BootstrappingResponse) XXX_Unmarshal ¶ added in v0.5.3
func (m *BootstrappingResponse) XXX_Unmarshal(b []byte) error
type BuildBlockRequest ¶
type BuildBlockRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BuildBlockRequest) Descriptor ¶
func (*BuildBlockRequest) Descriptor() ([]byte, []int)
func (*BuildBlockRequest) ProtoMessage ¶
func (*BuildBlockRequest) ProtoMessage()
func (*BuildBlockRequest) Reset ¶
func (m *BuildBlockRequest) Reset()
func (*BuildBlockRequest) String ¶
func (m *BuildBlockRequest) String() string
func (*BuildBlockRequest) XXX_DiscardUnknown ¶
func (m *BuildBlockRequest) XXX_DiscardUnknown()
func (*BuildBlockRequest) XXX_Marshal ¶
func (m *BuildBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BuildBlockRequest) XXX_Merge ¶
func (m *BuildBlockRequest) XXX_Merge(src proto.Message)
func (*BuildBlockRequest) XXX_Size ¶
func (m *BuildBlockRequest) XXX_Size() int
func (*BuildBlockRequest) XXX_Unmarshal ¶
func (m *BuildBlockRequest) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BuildBlockResponse) Descriptor ¶
func (*BuildBlockResponse) Descriptor() ([]byte, []int)
func (*BuildBlockResponse) GetBytes ¶
func (m *BuildBlockResponse) GetBytes() []byte
func (*BuildBlockResponse) GetId ¶
func (m *BuildBlockResponse) GetId() []byte
func (*BuildBlockResponse) GetParentID ¶
func (m *BuildBlockResponse) GetParentID() []byte
func (*BuildBlockResponse) ProtoMessage ¶
func (*BuildBlockResponse) ProtoMessage()
func (*BuildBlockResponse) Reset ¶
func (m *BuildBlockResponse) Reset()
func (*BuildBlockResponse) String ¶
func (m *BuildBlockResponse) String() string
func (*BuildBlockResponse) XXX_DiscardUnknown ¶
func (m *BuildBlockResponse) XXX_DiscardUnknown()
func (*BuildBlockResponse) XXX_Marshal ¶
func (m *BuildBlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BuildBlockResponse) XXX_Merge ¶
func (m *BuildBlockResponse) XXX_Merge(src proto.Message)
func (*BuildBlockResponse) XXX_Size ¶
func (m *BuildBlockResponse) XXX_Size() int
func (*BuildBlockResponse) XXX_Unmarshal ¶
func (m *BuildBlockResponse) XXX_Unmarshal(b []byte) error
type CreateHandlersRequest ¶
type CreateHandlersRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateHandlersRequest) Descriptor ¶
func (*CreateHandlersRequest) Descriptor() ([]byte, []int)
func (*CreateHandlersRequest) ProtoMessage ¶
func (*CreateHandlersRequest) ProtoMessage()
func (*CreateHandlersRequest) Reset ¶
func (m *CreateHandlersRequest) Reset()
func (*CreateHandlersRequest) String ¶
func (m *CreateHandlersRequest) String() string
func (*CreateHandlersRequest) XXX_DiscardUnknown ¶
func (m *CreateHandlersRequest) XXX_DiscardUnknown()
func (*CreateHandlersRequest) XXX_Marshal ¶
func (m *CreateHandlersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateHandlersRequest) XXX_Merge ¶
func (m *CreateHandlersRequest) XXX_Merge(src proto.Message)
func (*CreateHandlersRequest) XXX_Size ¶
func (m *CreateHandlersRequest) XXX_Size() int
func (*CreateHandlersRequest) XXX_Unmarshal ¶
func (m *CreateHandlersRequest) XXX_Unmarshal(b []byte) error
type CreateHandlersResponse ¶
type CreateHandlersResponse struct { Handlers []*Handler `protobuf:"bytes,1,rep,name=handlers,proto3" json:"handlers,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateHandlersResponse) Descriptor ¶
func (*CreateHandlersResponse) Descriptor() ([]byte, []int)
func (*CreateHandlersResponse) GetHandlers ¶
func (m *CreateHandlersResponse) GetHandlers() []*Handler
func (*CreateHandlersResponse) ProtoMessage ¶
func (*CreateHandlersResponse) ProtoMessage()
func (*CreateHandlersResponse) Reset ¶
func (m *CreateHandlersResponse) Reset()
func (*CreateHandlersResponse) String ¶
func (m *CreateHandlersResponse) String() string
func (*CreateHandlersResponse) XXX_DiscardUnknown ¶
func (m *CreateHandlersResponse) XXX_DiscardUnknown()
func (*CreateHandlersResponse) XXX_Marshal ¶
func (m *CreateHandlersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateHandlersResponse) XXX_Merge ¶
func (m *CreateHandlersResponse) XXX_Merge(src proto.Message)
func (*CreateHandlersResponse) XXX_Size ¶
func (m *CreateHandlersResponse) XXX_Size() int
func (*CreateHandlersResponse) XXX_Unmarshal ¶
func (m *CreateHandlersResponse) XXX_Unmarshal(b []byte) error
type GetBlockRequest ¶
type GetBlockRequest struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetBlockRequest) Descriptor ¶
func (*GetBlockRequest) Descriptor() ([]byte, []int)
func (*GetBlockRequest) GetId ¶
func (m *GetBlockRequest) GetId() []byte
func (*GetBlockRequest) ProtoMessage ¶
func (*GetBlockRequest) ProtoMessage()
func (*GetBlockRequest) Reset ¶
func (m *GetBlockRequest) Reset()
func (*GetBlockRequest) String ¶
func (m *GetBlockRequest) String() string
func (*GetBlockRequest) XXX_DiscardUnknown ¶
func (m *GetBlockRequest) XXX_DiscardUnknown()
func (*GetBlockRequest) XXX_Marshal ¶
func (m *GetBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlockRequest) XXX_Merge ¶
func (m *GetBlockRequest) XXX_Merge(src proto.Message)
func (*GetBlockRequest) XXX_Size ¶
func (m *GetBlockRequest) XXX_Size() int
func (*GetBlockRequest) XXX_Unmarshal ¶
func (m *GetBlockRequest) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetBlockResponse) Descriptor ¶
func (*GetBlockResponse) Descriptor() ([]byte, []int)
func (*GetBlockResponse) GetBytes ¶
func (m *GetBlockResponse) GetBytes() []byte
func (*GetBlockResponse) GetParentID ¶
func (m *GetBlockResponse) GetParentID() []byte
func (*GetBlockResponse) GetStatus ¶
func (m *GetBlockResponse) GetStatus() uint32
func (*GetBlockResponse) ProtoMessage ¶
func (*GetBlockResponse) ProtoMessage()
func (*GetBlockResponse) Reset ¶
func (m *GetBlockResponse) Reset()
func (*GetBlockResponse) String ¶
func (m *GetBlockResponse) String() string
func (*GetBlockResponse) XXX_DiscardUnknown ¶
func (m *GetBlockResponse) XXX_DiscardUnknown()
func (*GetBlockResponse) XXX_Marshal ¶
func (m *GetBlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlockResponse) XXX_Merge ¶
func (m *GetBlockResponse) XXX_Merge(src proto.Message)
func (*GetBlockResponse) XXX_Size ¶
func (m *GetBlockResponse) XXX_Size() int
func (*GetBlockResponse) XXX_Unmarshal ¶
func (m *GetBlockResponse) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Handler) Descriptor ¶
func (*Handler) GetLockOptions ¶
func (*Handler) ProtoMessage ¶
func (*Handler) ProtoMessage()
func (*Handler) XXX_DiscardUnknown ¶
func (m *Handler) XXX_DiscardUnknown()
func (*Handler) XXX_Marshal ¶
func (*Handler) XXX_Unmarshal ¶
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"` DbServer uint32 `protobuf:"varint,8,opt,name=dbServer,proto3" json:"dbServer,omitempty"` EngineServer uint32 `protobuf:"varint,9,opt,name=engineServer,proto3" json:"engineServer,omitempty"` KeystoreServer uint32 `protobuf:"varint,10,opt,name=keystoreServer,proto3" json:"keystoreServer,omitempty"` BcLookupServer uint32 `protobuf:"varint,12,opt,name=bcLookupServer,proto3" json:"bcLookupServer,omitempty"` SnLookupServer uint32 `protobuf:"varint,13,opt,name=snLookupServer,proto3" json:"snLookupServer,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InitializeRequest) Descriptor ¶
func (*InitializeRequest) Descriptor() ([]byte, []int)
func (*InitializeRequest) GetAvaxAssetID ¶ added in v0.6.1
func (m *InitializeRequest) GetAvaxAssetID() []byte
func (*InitializeRequest) GetBcLookupServer ¶ added in v0.6.1
func (m *InitializeRequest) GetBcLookupServer() uint32
func (*InitializeRequest) GetChainID ¶ added in v0.6.1
func (m *InitializeRequest) GetChainID() []byte
func (*InitializeRequest) GetDbServer ¶
func (m *InitializeRequest) GetDbServer() uint32
func (*InitializeRequest) GetEngineServer ¶
func (m *InitializeRequest) GetEngineServer() uint32
func (*InitializeRequest) GetGenesisBytes ¶
func (m *InitializeRequest) GetGenesisBytes() []byte
func (*InitializeRequest) GetKeystoreServer ¶ added in v0.6.1
func (m *InitializeRequest) GetKeystoreServer() uint32
func (*InitializeRequest) GetNetworkID ¶ added in v0.6.1
func (m *InitializeRequest) GetNetworkID() uint32
func (*InitializeRequest) GetNodeID ¶ added in v0.6.1
func (m *InitializeRequest) GetNodeID() []byte
func (*InitializeRequest) GetSharedMemoryServer ¶ added in v0.6.1
func (m *InitializeRequest) GetSharedMemoryServer() uint32
func (*InitializeRequest) GetSnLookupServer ¶ added in v0.6.1
func (m *InitializeRequest) GetSnLookupServer() uint32
func (*InitializeRequest) GetSubnetID ¶ added in v0.6.1
func (m *InitializeRequest) GetSubnetID() []byte
func (*InitializeRequest) GetXChainID ¶ added in v0.6.1
func (m *InitializeRequest) GetXChainID() []byte
func (*InitializeRequest) ProtoMessage ¶
func (*InitializeRequest) ProtoMessage()
func (*InitializeRequest) Reset ¶
func (m *InitializeRequest) Reset()
func (*InitializeRequest) String ¶
func (m *InitializeRequest) String() string
func (*InitializeRequest) XXX_DiscardUnknown ¶
func (m *InitializeRequest) XXX_DiscardUnknown()
func (*InitializeRequest) XXX_Marshal ¶
func (m *InitializeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InitializeRequest) XXX_Merge ¶
func (m *InitializeRequest) XXX_Merge(src proto.Message)
func (*InitializeRequest) XXX_Size ¶
func (m *InitializeRequest) XXX_Size() int
func (*InitializeRequest) XXX_Unmarshal ¶
func (m *InitializeRequest) XXX_Unmarshal(b []byte) error
type InitializeResponse ¶
type InitializeResponse struct { LastAcceptedID []byte `protobuf:"bytes,1,opt,name=lastAcceptedID,proto3" json:"lastAcceptedID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InitializeResponse) Descriptor ¶
func (*InitializeResponse) Descriptor() ([]byte, []int)
func (*InitializeResponse) GetLastAcceptedID ¶ added in v0.6.1
func (m *InitializeResponse) GetLastAcceptedID() []byte
func (*InitializeResponse) ProtoMessage ¶
func (*InitializeResponse) ProtoMessage()
func (*InitializeResponse) Reset ¶
func (m *InitializeResponse) Reset()
func (*InitializeResponse) String ¶
func (m *InitializeResponse) String() string
func (*InitializeResponse) XXX_DiscardUnknown ¶
func (m *InitializeResponse) XXX_DiscardUnknown()
func (*InitializeResponse) XXX_Marshal ¶
func (m *InitializeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InitializeResponse) XXX_Merge ¶
func (m *InitializeResponse) XXX_Merge(src proto.Message)
func (*InitializeResponse) XXX_Size ¶
func (m *InitializeResponse) XXX_Size() int
func (*InitializeResponse) XXX_Unmarshal ¶
func (m *InitializeResponse) XXX_Unmarshal(b []byte) error
type ParseBlockRequest ¶
type ParseBlockRequest struct { Bytes []byte `protobuf:"bytes,1,opt,name=bytes,proto3" json:"bytes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ParseBlockRequest) Descriptor ¶
func (*ParseBlockRequest) Descriptor() ([]byte, []int)
func (*ParseBlockRequest) GetBytes ¶
func (m *ParseBlockRequest) GetBytes() []byte
func (*ParseBlockRequest) ProtoMessage ¶
func (*ParseBlockRequest) ProtoMessage()
func (*ParseBlockRequest) Reset ¶
func (m *ParseBlockRequest) Reset()
func (*ParseBlockRequest) String ¶
func (m *ParseBlockRequest) String() string
func (*ParseBlockRequest) XXX_DiscardUnknown ¶
func (m *ParseBlockRequest) XXX_DiscardUnknown()
func (*ParseBlockRequest) XXX_Marshal ¶
func (m *ParseBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ParseBlockRequest) XXX_Merge ¶
func (m *ParseBlockRequest) XXX_Merge(src proto.Message)
func (*ParseBlockRequest) XXX_Size ¶
func (m *ParseBlockRequest) XXX_Size() int
func (*ParseBlockRequest) XXX_Unmarshal ¶
func (m *ParseBlockRequest) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ParseBlockResponse) Descriptor ¶
func (*ParseBlockResponse) Descriptor() ([]byte, []int)
func (*ParseBlockResponse) GetId ¶
func (m *ParseBlockResponse) GetId() []byte
func (*ParseBlockResponse) GetParentID ¶
func (m *ParseBlockResponse) GetParentID() []byte
func (*ParseBlockResponse) GetStatus ¶
func (m *ParseBlockResponse) GetStatus() uint32
func (*ParseBlockResponse) ProtoMessage ¶
func (*ParseBlockResponse) ProtoMessage()
func (*ParseBlockResponse) Reset ¶
func (m *ParseBlockResponse) Reset()
func (*ParseBlockResponse) String ¶
func (m *ParseBlockResponse) String() string
func (*ParseBlockResponse) XXX_DiscardUnknown ¶
func (m *ParseBlockResponse) XXX_DiscardUnknown()
func (*ParseBlockResponse) XXX_Marshal ¶
func (m *ParseBlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ParseBlockResponse) XXX_Merge ¶
func (m *ParseBlockResponse) XXX_Merge(src proto.Message)
func (*ParseBlockResponse) XXX_Size ¶
func (m *ParseBlockResponse) XXX_Size() int
func (*ParseBlockResponse) XXX_Unmarshal ¶
func (m *ParseBlockResponse) XXX_Unmarshal(b []byte) error
type SetPreferenceRequest ¶
type SetPreferenceRequest struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SetPreferenceRequest) Descriptor ¶
func (*SetPreferenceRequest) Descriptor() ([]byte, []int)
func (*SetPreferenceRequest) GetId ¶
func (m *SetPreferenceRequest) GetId() []byte
func (*SetPreferenceRequest) ProtoMessage ¶
func (*SetPreferenceRequest) ProtoMessage()
func (*SetPreferenceRequest) Reset ¶
func (m *SetPreferenceRequest) Reset()
func (*SetPreferenceRequest) String ¶
func (m *SetPreferenceRequest) String() string
func (*SetPreferenceRequest) XXX_DiscardUnknown ¶
func (m *SetPreferenceRequest) XXX_DiscardUnknown()
func (*SetPreferenceRequest) XXX_Marshal ¶
func (m *SetPreferenceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetPreferenceRequest) XXX_Merge ¶
func (m *SetPreferenceRequest) XXX_Merge(src proto.Message)
func (*SetPreferenceRequest) XXX_Size ¶
func (m *SetPreferenceRequest) XXX_Size() int
func (*SetPreferenceRequest) XXX_Unmarshal ¶
func (m *SetPreferenceRequest) XXX_Unmarshal(b []byte) error
type SetPreferenceResponse ¶
type SetPreferenceResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SetPreferenceResponse) Descriptor ¶
func (*SetPreferenceResponse) Descriptor() ([]byte, []int)
func (*SetPreferenceResponse) ProtoMessage ¶
func (*SetPreferenceResponse) ProtoMessage()
func (*SetPreferenceResponse) Reset ¶
func (m *SetPreferenceResponse) Reset()
func (*SetPreferenceResponse) String ¶
func (m *SetPreferenceResponse) String() string
func (*SetPreferenceResponse) XXX_DiscardUnknown ¶
func (m *SetPreferenceResponse) XXX_DiscardUnknown()
func (*SetPreferenceResponse) XXX_Marshal ¶
func (m *SetPreferenceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetPreferenceResponse) XXX_Merge ¶
func (m *SetPreferenceResponse) XXX_Merge(src proto.Message)
func (*SetPreferenceResponse) XXX_Size ¶
func (m *SetPreferenceResponse) XXX_Size() int
func (*SetPreferenceResponse) XXX_Unmarshal ¶
func (m *SetPreferenceResponse) XXX_Unmarshal(b []byte) error
type ShutdownRequest ¶
type ShutdownRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ShutdownRequest) Descriptor ¶
func (*ShutdownRequest) Descriptor() ([]byte, []int)
func (*ShutdownRequest) ProtoMessage ¶
func (*ShutdownRequest) ProtoMessage()
func (*ShutdownRequest) Reset ¶
func (m *ShutdownRequest) Reset()
func (*ShutdownRequest) String ¶
func (m *ShutdownRequest) String() string
func (*ShutdownRequest) XXX_DiscardUnknown ¶
func (m *ShutdownRequest) XXX_DiscardUnknown()
func (*ShutdownRequest) XXX_Marshal ¶
func (m *ShutdownRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ShutdownRequest) XXX_Merge ¶
func (m *ShutdownRequest) XXX_Merge(src proto.Message)
func (*ShutdownRequest) XXX_Size ¶
func (m *ShutdownRequest) XXX_Size() int
func (*ShutdownRequest) XXX_Unmarshal ¶
func (m *ShutdownRequest) XXX_Unmarshal(b []byte) error
type ShutdownResponse ¶
type ShutdownResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ShutdownResponse) Descriptor ¶
func (*ShutdownResponse) Descriptor() ([]byte, []int)
func (*ShutdownResponse) ProtoMessage ¶
func (*ShutdownResponse) ProtoMessage()
func (*ShutdownResponse) Reset ¶
func (m *ShutdownResponse) Reset()
func (*ShutdownResponse) String ¶
func (m *ShutdownResponse) String() string
func (*ShutdownResponse) XXX_DiscardUnknown ¶
func (m *ShutdownResponse) XXX_DiscardUnknown()
func (*ShutdownResponse) XXX_Marshal ¶
func (m *ShutdownResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ShutdownResponse) XXX_Merge ¶
func (m *ShutdownResponse) XXX_Merge(src proto.Message)
func (*ShutdownResponse) XXX_Size ¶
func (m *ShutdownResponse) XXX_Size() int
func (*ShutdownResponse) XXX_Unmarshal ¶
func (m *ShutdownResponse) XXX_Unmarshal(b []byte) error
type UnimplementedVMServer ¶
type UnimplementedVMServer struct { }
UnimplementedVMServer can be embedded to have forward compatible implementations.
func (*UnimplementedVMServer) BlockAccept ¶
func (*UnimplementedVMServer) BlockAccept(ctx context.Context, req *BlockAcceptRequest) (*BlockAcceptResponse, error)
func (*UnimplementedVMServer) BlockReject ¶
func (*UnimplementedVMServer) BlockReject(ctx context.Context, req *BlockRejectRequest) (*BlockRejectResponse, error)
func (*UnimplementedVMServer) BlockVerify ¶
func (*UnimplementedVMServer) BlockVerify(ctx context.Context, req *BlockVerifyRequest) (*BlockVerifyResponse, error)
func (*UnimplementedVMServer) Bootstrapped ¶ added in v0.5.3
func (*UnimplementedVMServer) Bootstrapped(ctx context.Context, req *BootstrappedRequest) (*BootstrappedResponse, error)
func (*UnimplementedVMServer) Bootstrapping ¶ added in v0.5.3
func (*UnimplementedVMServer) Bootstrapping(ctx context.Context, req *BootstrappingRequest) (*BootstrappingResponse, error)
func (*UnimplementedVMServer) BuildBlock ¶
func (*UnimplementedVMServer) BuildBlock(ctx context.Context, req *BuildBlockRequest) (*BuildBlockResponse, error)
func (*UnimplementedVMServer) CreateHandlers ¶
func (*UnimplementedVMServer) CreateHandlers(ctx context.Context, req *CreateHandlersRequest) (*CreateHandlersResponse, error)
func (*UnimplementedVMServer) GetBlock ¶
func (*UnimplementedVMServer) GetBlock(ctx context.Context, req *GetBlockRequest) (*GetBlockResponse, error)
func (*UnimplementedVMServer) Initialize ¶
func (*UnimplementedVMServer) Initialize(ctx context.Context, req *InitializeRequest) (*InitializeResponse, error)
func (*UnimplementedVMServer) ParseBlock ¶
func (*UnimplementedVMServer) ParseBlock(ctx context.Context, req *ParseBlockRequest) (*ParseBlockResponse, error)
func (*UnimplementedVMServer) SetPreference ¶
func (*UnimplementedVMServer) SetPreference(ctx context.Context, req *SetPreferenceRequest) (*SetPreferenceResponse, error)
func (*UnimplementedVMServer) Shutdown ¶
func (*UnimplementedVMServer) Shutdown(ctx context.Context, req *ShutdownRequest) (*ShutdownResponse, error)
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) 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) 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://godoc.org/google.golang.org/grpc#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) BuildBlock(context.Context, *BuildBlockRequest) (*BuildBlockResponse, error) ParseBlock(context.Context, *ParseBlockRequest) (*ParseBlockResponse, error) GetBlock(context.Context, *GetBlockRequest) (*GetBlockResponse, error) SetPreference(context.Context, *SetPreferenceRequest) (*SetPreferenceResponse, error) BlockVerify(context.Context, *BlockVerifyRequest) (*BlockVerifyResponse, error) BlockAccept(context.Context, *BlockAcceptRequest) (*BlockAcceptResponse, error) BlockReject(context.Context, *BlockRejectRequest) (*BlockRejectResponse, error) }
VMServer is the server API for VM service.
Click to show internal directories.
Click to hide internal directories.