vmproto

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 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 BootstrappedRequest

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

func (*BootstrappedRequest) Descriptor

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

func (*BootstrappedRequest) ProtoMessage

func (*BootstrappedRequest) ProtoMessage()

func (*BootstrappedRequest) Reset

func (m *BootstrappedRequest) Reset()

func (*BootstrappedRequest) String

func (m *BootstrappedRequest) String() string

func (*BootstrappedRequest) XXX_DiscardUnknown

func (m *BootstrappedRequest) XXX_DiscardUnknown()

func (*BootstrappedRequest) XXX_Marshal

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

func (*BootstrappedRequest) XXX_Merge

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

func (*BootstrappedRequest) XXX_Size

func (m *BootstrappedRequest) XXX_Size() int

func (*BootstrappedRequest) XXX_Unmarshal

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

type BootstrappedResponse

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

func (*BootstrappedResponse) Descriptor

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

func (*BootstrappedResponse) ProtoMessage

func (*BootstrappedResponse) ProtoMessage()

func (*BootstrappedResponse) Reset

func (m *BootstrappedResponse) Reset()

func (*BootstrappedResponse) String

func (m *BootstrappedResponse) String() string

func (*BootstrappedResponse) XXX_DiscardUnknown

func (m *BootstrappedResponse) XXX_DiscardUnknown()

func (*BootstrappedResponse) XXX_Marshal

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

func (*BootstrappedResponse) XXX_Merge

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

func (*BootstrappedResponse) XXX_Size

func (m *BootstrappedResponse) XXX_Size() int

func (*BootstrappedResponse) XXX_Unmarshal

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

type BootstrappingRequest

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

func (*BootstrappingRequest) Descriptor

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

func (*BootstrappingRequest) ProtoMessage

func (*BootstrappingRequest) ProtoMessage()

func (*BootstrappingRequest) Reset

func (m *BootstrappingRequest) Reset()

func (*BootstrappingRequest) String

func (m *BootstrappingRequest) String() string

func (*BootstrappingRequest) XXX_DiscardUnknown

func (m *BootstrappingRequest) XXX_DiscardUnknown()

func (*BootstrappingRequest) XXX_Marshal

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

func (*BootstrappingRequest) XXX_Merge

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

func (*BootstrappingRequest) XXX_Size

func (m *BootstrappingRequest) XXX_Size() int

func (*BootstrappingRequest) XXX_Unmarshal

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

type BootstrappingResponse

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

func (*BootstrappingResponse) Descriptor

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

func (*BootstrappingResponse) ProtoMessage

func (*BootstrappingResponse) ProtoMessage()

func (*BootstrappingResponse) Reset

func (m *BootstrappingResponse) Reset()

func (*BootstrappingResponse) String

func (m *BootstrappingResponse) String() string

func (*BootstrappingResponse) XXX_DiscardUnknown

func (m *BootstrappingResponse) XXX_DiscardUnknown()

func (*BootstrappingResponse) XXX_Marshal

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

func (*BootstrappingResponse) XXX_Merge

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

func (*BootstrappingResponse) XXX_Size

func (m *BootstrappingResponse) XXX_Size() int

func (*BootstrappingResponse) XXX_Unmarshal

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) 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 HealthRequest

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

func (*HealthRequest) Descriptor

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

func (*HealthRequest) ProtoMessage

func (*HealthRequest) ProtoMessage()

func (*HealthRequest) Reset

func (m *HealthRequest) Reset()

func (*HealthRequest) String

func (m *HealthRequest) String() string

func (*HealthRequest) XXX_DiscardUnknown

func (m *HealthRequest) XXX_DiscardUnknown()

func (*HealthRequest) XXX_Marshal

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

func (*HealthRequest) XXX_Merge

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

func (*HealthRequest) XXX_Size

func (m *HealthRequest) XXX_Size() int

func (*HealthRequest) XXX_Unmarshal

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

type HealthResponse

type HealthResponse struct {
	Details              string   `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*HealthResponse) Descriptor

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

func (*HealthResponse) GetDetails

func (m *HealthResponse) GetDetails() string

func (*HealthResponse) ProtoMessage

func (*HealthResponse) ProtoMessage()

func (*HealthResponse) Reset

func (m *HealthResponse) Reset()

func (*HealthResponse) String

func (m *HealthResponse) String() string

func (*HealthResponse) XXX_DiscardUnknown

func (m *HealthResponse) XXX_DiscardUnknown()

func (*HealthResponse) XXX_Marshal

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

func (*HealthResponse) XXX_Merge

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

func (*HealthResponse) XXX_Size

func (m *HealthResponse) XXX_Size() int

func (*HealthResponse) XXX_Unmarshal

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

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"`
	SharedMemoryServer   uint32   `protobuf:"varint,11,opt,name=sharedMemoryServer,proto3" json:"sharedMemoryServer,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"`
	EpochFirstTransition []byte   `protobuf:"bytes,14,opt,name=epochFirstTransition,proto3" json:"epochFirstTransition,omitempty"`
	EpochDuration        uint64   `protobuf:"varint,15,opt,name=EpochDuration,proto3" json:"EpochDuration,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*InitializeRequest) Descriptor

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

func (*InitializeRequest) GetAvaxAssetID

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

func (*InitializeRequest) GetBcLookupServer

func (m *InitializeRequest) GetBcLookupServer() uint32

func (*InitializeRequest) GetChainID

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

func (*InitializeRequest) GetDbServer

func (m *InitializeRequest) GetDbServer() uint32

func (*InitializeRequest) GetEngineServer

func (m *InitializeRequest) GetEngineServer() uint32

func (*InitializeRequest) GetEpochDuration

func (m *InitializeRequest) GetEpochDuration() uint64

func (*InitializeRequest) GetEpochFirstTransition

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

func (*InitializeRequest) GetGenesisBytes

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

func (*InitializeRequest) GetKeystoreServer

func (m *InitializeRequest) GetKeystoreServer() uint32

func (*InitializeRequest) GetNetworkID

func (m *InitializeRequest) GetNetworkID() uint32

func (*InitializeRequest) GetNodeID

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

func (*InitializeRequest) GetSharedMemoryServer

func (m *InitializeRequest) GetSharedMemoryServer() uint32

func (*InitializeRequest) GetSnLookupServer

func (m *InitializeRequest) GetSnLookupServer() uint32

func (*InitializeRequest) GetSubnetID

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

func (*InitializeRequest) GetXChainID

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

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) BlockReject

func (*UnimplementedVMServer) BlockVerify

func (*UnimplementedVMServer) Bootstrapped

func (*UnimplementedVMServer) Bootstrapping

func (*UnimplementedVMServer) BuildBlock

func (*UnimplementedVMServer) CreateHandlers

func (*UnimplementedVMServer) GetBlock

func (*UnimplementedVMServer) Health

func (*UnimplementedVMServer) Initialize

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