statesync

package
v0.33.8 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChunkRequest

type ChunkRequest struct {
	Height               uint64   `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	Format               uint32   `protobuf:"varint,2,opt,name=format,proto3" json:"format,omitempty"`
	Index                uint32   `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChunkRequest) Descriptor

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

func (*ChunkRequest) GetFormat

func (m *ChunkRequest) GetFormat() uint32

func (*ChunkRequest) GetHeight

func (m *ChunkRequest) GetHeight() uint64

func (*ChunkRequest) GetIndex

func (m *ChunkRequest) GetIndex() uint32

func (*ChunkRequest) ProtoMessage

func (*ChunkRequest) ProtoMessage()

func (*ChunkRequest) Reset

func (m *ChunkRequest) Reset()

func (*ChunkRequest) String

func (m *ChunkRequest) String() string

func (*ChunkRequest) XXX_DiscardUnknown

func (m *ChunkRequest) XXX_DiscardUnknown()

func (*ChunkRequest) XXX_Marshal

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

func (*ChunkRequest) XXX_Merge

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

func (*ChunkRequest) XXX_Size

func (m *ChunkRequest) XXX_Size() int

func (*ChunkRequest) XXX_Unmarshal

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

type ChunkResponse

type ChunkResponse struct {
	Height               uint64   `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	Format               uint32   `protobuf:"varint,2,opt,name=format,proto3" json:"format,omitempty"`
	Index                uint32   `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"`
	Chunk                []byte   `protobuf:"bytes,4,opt,name=chunk,proto3" json:"chunk,omitempty"`
	Missing              bool     `protobuf:"varint,5,opt,name=missing,proto3" json:"missing,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChunkResponse) Descriptor

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

func (*ChunkResponse) GetChunk

func (m *ChunkResponse) GetChunk() []byte

func (*ChunkResponse) GetFormat

func (m *ChunkResponse) GetFormat() uint32

func (*ChunkResponse) GetHeight

func (m *ChunkResponse) GetHeight() uint64

func (*ChunkResponse) GetIndex

func (m *ChunkResponse) GetIndex() uint32

func (*ChunkResponse) GetMissing

func (m *ChunkResponse) GetMissing() bool

func (*ChunkResponse) ProtoMessage

func (*ChunkResponse) ProtoMessage()

func (*ChunkResponse) Reset

func (m *ChunkResponse) Reset()

func (*ChunkResponse) String

func (m *ChunkResponse) String() string

func (*ChunkResponse) XXX_DiscardUnknown

func (m *ChunkResponse) XXX_DiscardUnknown()

func (*ChunkResponse) XXX_Marshal

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

func (*ChunkResponse) XXX_Merge

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

func (*ChunkResponse) XXX_Size

func (m *ChunkResponse) XXX_Size() int

func (*ChunkResponse) XXX_Unmarshal

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

type Message

type Message struct {
	// Types that are valid to be assigned to Sum:
	//	*Message_SnapshotsRequest
	//	*Message_SnapshotsResponse
	//	*Message_ChunkRequest
	//	*Message_ChunkResponse
	Sum                  isMessage_Sum `protobuf_oneof:"sum"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*Message) Descriptor

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

func (*Message) GetChunkRequest

func (m *Message) GetChunkRequest() *ChunkRequest

func (*Message) GetChunkResponse

func (m *Message) GetChunkResponse() *ChunkResponse

func (*Message) GetSnapshotsRequest

func (m *Message) GetSnapshotsRequest() *SnapshotsRequest

func (*Message) GetSnapshotsResponse

func (m *Message) GetSnapshotsResponse() *SnapshotsResponse

func (*Message) GetSum

func (m *Message) GetSum() isMessage_Sum

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) Reset

func (m *Message) Reset()

func (*Message) String

func (m *Message) String() string

func (*Message) XXX_DiscardUnknown

func (m *Message) XXX_DiscardUnknown()

func (*Message) XXX_Marshal

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

func (*Message) XXX_Merge

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

func (*Message) XXX_OneofWrappers

func (*Message) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Message) XXX_Size

func (m *Message) XXX_Size() int

func (*Message) XXX_Unmarshal

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

type Message_ChunkRequest

type Message_ChunkRequest struct {
	ChunkRequest *ChunkRequest `protobuf:"bytes,3,opt,name=chunk_request,json=chunkRequest,proto3,oneof" json:"chunk_request,omitempty"`
}

type Message_ChunkResponse

type Message_ChunkResponse struct {
	ChunkResponse *ChunkResponse `protobuf:"bytes,4,opt,name=chunk_response,json=chunkResponse,proto3,oneof" json:"chunk_response,omitempty"`
}

type Message_SnapshotsRequest

type Message_SnapshotsRequest struct {
	SnapshotsRequest *SnapshotsRequest `protobuf:"bytes,1,opt,name=snapshots_request,json=snapshotsRequest,proto3,oneof" json:"snapshots_request,omitempty"`
}

type Message_SnapshotsResponse

type Message_SnapshotsResponse struct {
	SnapshotsResponse *SnapshotsResponse `protobuf:"bytes,2,opt,name=snapshots_response,json=snapshotsResponse,proto3,oneof" json:"snapshots_response,omitempty"`
}

type SnapshotsRequest

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

func (*SnapshotsRequest) Descriptor

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

func (*SnapshotsRequest) ProtoMessage

func (*SnapshotsRequest) ProtoMessage()

func (*SnapshotsRequest) Reset

func (m *SnapshotsRequest) Reset()

func (*SnapshotsRequest) String

func (m *SnapshotsRequest) String() string

func (*SnapshotsRequest) XXX_DiscardUnknown

func (m *SnapshotsRequest) XXX_DiscardUnknown()

func (*SnapshotsRequest) XXX_Marshal

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

func (*SnapshotsRequest) XXX_Merge

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

func (*SnapshotsRequest) XXX_Size

func (m *SnapshotsRequest) XXX_Size() int

func (*SnapshotsRequest) XXX_Unmarshal

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

type SnapshotsResponse

type SnapshotsResponse struct {
	Height               uint64   `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	Format               uint32   `protobuf:"varint,2,opt,name=format,proto3" json:"format,omitempty"`
	Chunks               uint32   `protobuf:"varint,3,opt,name=chunks,proto3" json:"chunks,omitempty"`
	Hash                 []byte   `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"`
	Metadata             []byte   `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SnapshotsResponse) Descriptor

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

func (*SnapshotsResponse) GetChunks

func (m *SnapshotsResponse) GetChunks() uint32

func (*SnapshotsResponse) GetFormat

func (m *SnapshotsResponse) GetFormat() uint32

func (*SnapshotsResponse) GetHash

func (m *SnapshotsResponse) GetHash() []byte

func (*SnapshotsResponse) GetHeight

func (m *SnapshotsResponse) GetHeight() uint64

func (*SnapshotsResponse) GetMetadata

func (m *SnapshotsResponse) GetMetadata() []byte

func (*SnapshotsResponse) ProtoMessage

func (*SnapshotsResponse) ProtoMessage()

func (*SnapshotsResponse) Reset

func (m *SnapshotsResponse) Reset()

func (*SnapshotsResponse) String

func (m *SnapshotsResponse) String() string

func (*SnapshotsResponse) XXX_DiscardUnknown

func (m *SnapshotsResponse) XXX_DiscardUnknown()

func (*SnapshotsResponse) XXX_Marshal

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

func (*SnapshotsResponse) XXX_Merge

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

func (*SnapshotsResponse) XXX_Size

func (m *SnapshotsResponse) XXX_Size() int

func (*SnapshotsResponse) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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