vmproto

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2020 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterVMServer

func RegisterVMServer(s *grpc.Server, srv VMServer)

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 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) Descriptor() ([]byte, []int)

func (*Handler) GetLockOptions

func (m *Handler) GetLockOptions() uint32

func (*Handler) GetPrefix

func (m *Handler) GetPrefix() string

func (*Handler) GetServer

func (m *Handler) GetServer() uint32

func (*Handler) ProtoMessage

func (*Handler) ProtoMessage()

func (*Handler) Reset

func (m *Handler) Reset()

func (*Handler) String

func (m *Handler) String() string

func (*Handler) XXX_DiscardUnknown

func (m *Handler) XXX_DiscardUnknown()

func (*Handler) XXX_Marshal

func (m *Handler) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Handler) XXX_Merge

func (m *Handler) XXX_Merge(src proto.Message)

func (*Handler) XXX_Size

func (m *Handler) XXX_Size() int

func (*Handler) XXX_Unmarshal

func (m *Handler) XXX_Unmarshal(b []byte) error

type InitializeRequest

type InitializeRequest struct {
	DbServer             uint32   `protobuf:"varint,1,opt,name=dbServer,proto3" json:"dbServer,omitempty"`
	GenesisBytes         []byte   `protobuf:"bytes,2,opt,name=genesisBytes,proto3" json:"genesisBytes,omitempty"`
	EngineServer         uint32   `protobuf:"varint,3,opt,name=engineServer,proto3" json:"engineServer,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*InitializeRequest) Descriptor

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

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) 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 {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*InitializeResponse) Descriptor

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

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 LastAcceptedRequest

type LastAcceptedRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LastAcceptedRequest) Descriptor

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

func (*LastAcceptedRequest) ProtoMessage

func (*LastAcceptedRequest) ProtoMessage()

func (*LastAcceptedRequest) Reset

func (m *LastAcceptedRequest) Reset()

func (*LastAcceptedRequest) String

func (m *LastAcceptedRequest) String() string

func (*LastAcceptedRequest) XXX_DiscardUnknown

func (m *LastAcceptedRequest) XXX_DiscardUnknown()

func (*LastAcceptedRequest) XXX_Marshal

func (m *LastAcceptedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LastAcceptedRequest) XXX_Merge

func (m *LastAcceptedRequest) XXX_Merge(src proto.Message)

func (*LastAcceptedRequest) XXX_Size

func (m *LastAcceptedRequest) XXX_Size() int

func (*LastAcceptedRequest) XXX_Unmarshal

func (m *LastAcceptedRequest) XXX_Unmarshal(b []byte) error

type LastAcceptedResponse

type LastAcceptedResponse 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 (*LastAcceptedResponse) Descriptor

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

func (*LastAcceptedResponse) GetId

func (m *LastAcceptedResponse) GetId() []byte

func (*LastAcceptedResponse) ProtoMessage

func (*LastAcceptedResponse) ProtoMessage()

func (*LastAcceptedResponse) Reset

func (m *LastAcceptedResponse) Reset()

func (*LastAcceptedResponse) String

func (m *LastAcceptedResponse) String() string

func (*LastAcceptedResponse) XXX_DiscardUnknown

func (m *LastAcceptedResponse) XXX_DiscardUnknown()

func (*LastAcceptedResponse) XXX_Marshal

func (m *LastAcceptedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LastAcceptedResponse) XXX_Merge

func (m *LastAcceptedResponse) XXX_Merge(src proto.Message)

func (*LastAcceptedResponse) XXX_Size

func (m *LastAcceptedResponse) XXX_Size() int

func (*LastAcceptedResponse) XXX_Unmarshal

func (m *LastAcceptedResponse) 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) BlockReject

func (*UnimplementedVMServer) BlockVerify

func (*UnimplementedVMServer) BuildBlock

func (*UnimplementedVMServer) CreateHandlers

func (*UnimplementedVMServer) GetBlock

func (*UnimplementedVMServer) Initialize

func (*UnimplementedVMServer) LastAccepted

func (*UnimplementedVMServer) ParseBlock

func (*UnimplementedVMServer) SetPreference

func (*UnimplementedVMServer) Shutdown

type VMClient

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

Jump to

Keyboard shortcuts

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