statesync

package
v0.35.9 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2022 License: Apache-2.0 Imports: 8 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthTypes        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypes          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group")
)

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"`
}

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

func (m *ChunkRequest) Marshal() (dAtA []byte, err error)

func (*ChunkRequest) MarshalTo

func (m *ChunkRequest) MarshalTo(dAtA []byte) (int, error)

func (*ChunkRequest) MarshalToSizedBuffer

func (m *ChunkRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ChunkRequest) ProtoMessage

func (*ChunkRequest) ProtoMessage()

func (*ChunkRequest) Reset

func (m *ChunkRequest) Reset()

func (*ChunkRequest) Size

func (m *ChunkRequest) Size() (n int)

func (*ChunkRequest) String

func (m *ChunkRequest) String() string

func (*ChunkRequest) Unmarshal

func (m *ChunkRequest) Unmarshal(dAtA []byte) error

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"`
}

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

func (m *ChunkResponse) Marshal() (dAtA []byte, err error)

func (*ChunkResponse) MarshalTo

func (m *ChunkResponse) MarshalTo(dAtA []byte) (int, error)

func (*ChunkResponse) MarshalToSizedBuffer

func (m *ChunkResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ChunkResponse) ProtoMessage

func (*ChunkResponse) ProtoMessage()

func (*ChunkResponse) Reset

func (m *ChunkResponse) Reset()

func (*ChunkResponse) Size

func (m *ChunkResponse) Size() (n int)

func (*ChunkResponse) String

func (m *ChunkResponse) String() string

func (*ChunkResponse) Unmarshal

func (m *ChunkResponse) Unmarshal(dAtA []byte) error

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 LightBlockRequest added in v0.35.0

type LightBlockRequest struct {
	Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
}

func (*LightBlockRequest) Descriptor added in v0.35.0

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

func (*LightBlockRequest) GetHeight added in v0.35.0

func (m *LightBlockRequest) GetHeight() uint64

func (*LightBlockRequest) Marshal added in v0.35.0

func (m *LightBlockRequest) Marshal() (dAtA []byte, err error)

func (*LightBlockRequest) MarshalTo added in v0.35.0

func (m *LightBlockRequest) MarshalTo(dAtA []byte) (int, error)

func (*LightBlockRequest) MarshalToSizedBuffer added in v0.35.0

func (m *LightBlockRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LightBlockRequest) ProtoMessage added in v0.35.0

func (*LightBlockRequest) ProtoMessage()

func (*LightBlockRequest) Reset added in v0.35.0

func (m *LightBlockRequest) Reset()

func (*LightBlockRequest) Size added in v0.35.0

func (m *LightBlockRequest) Size() (n int)

func (*LightBlockRequest) String added in v0.35.0

func (m *LightBlockRequest) String() string

func (*LightBlockRequest) Unmarshal added in v0.35.0

func (m *LightBlockRequest) Unmarshal(dAtA []byte) error

func (*LightBlockRequest) XXX_DiscardUnknown added in v0.35.0

func (m *LightBlockRequest) XXX_DiscardUnknown()

func (*LightBlockRequest) XXX_Marshal added in v0.35.0

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

func (*LightBlockRequest) XXX_Merge added in v0.35.0

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

func (*LightBlockRequest) XXX_Size added in v0.35.0

func (m *LightBlockRequest) XXX_Size() int

func (*LightBlockRequest) XXX_Unmarshal added in v0.35.0

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

type LightBlockResponse added in v0.35.0

type LightBlockResponse struct {
	LightBlock *types.LightBlock `protobuf:"bytes,1,opt,name=light_block,json=lightBlock,proto3" json:"light_block,omitempty"`
}

func (*LightBlockResponse) Descriptor added in v0.35.0

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

func (*LightBlockResponse) GetLightBlock added in v0.35.0

func (m *LightBlockResponse) GetLightBlock() *types.LightBlock

func (*LightBlockResponse) Marshal added in v0.35.0

func (m *LightBlockResponse) Marshal() (dAtA []byte, err error)

func (*LightBlockResponse) MarshalTo added in v0.35.0

func (m *LightBlockResponse) MarshalTo(dAtA []byte) (int, error)

func (*LightBlockResponse) MarshalToSizedBuffer added in v0.35.0

func (m *LightBlockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LightBlockResponse) ProtoMessage added in v0.35.0

func (*LightBlockResponse) ProtoMessage()

func (*LightBlockResponse) Reset added in v0.35.0

func (m *LightBlockResponse) Reset()

func (*LightBlockResponse) Size added in v0.35.0

func (m *LightBlockResponse) Size() (n int)

func (*LightBlockResponse) String added in v0.35.0

func (m *LightBlockResponse) String() string

func (*LightBlockResponse) Unmarshal added in v0.35.0

func (m *LightBlockResponse) Unmarshal(dAtA []byte) error

func (*LightBlockResponse) XXX_DiscardUnknown added in v0.35.0

func (m *LightBlockResponse) XXX_DiscardUnknown()

func (*LightBlockResponse) XXX_Marshal added in v0.35.0

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

func (*LightBlockResponse) XXX_Merge added in v0.35.0

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

func (*LightBlockResponse) XXX_Size added in v0.35.0

func (m *LightBlockResponse) XXX_Size() int

func (*LightBlockResponse) XXX_Unmarshal added in v0.35.0

func (m *LightBlockResponse) 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
	//	*Message_LightBlockRequest
	//	*Message_LightBlockResponse
	//	*Message_ParamsRequest
	//	*Message_ParamsResponse
	Sum isMessage_Sum `protobuf_oneof:"sum"`
}

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) GetLightBlockRequest added in v0.35.0

func (m *Message) GetLightBlockRequest() *LightBlockRequest

func (*Message) GetLightBlockResponse added in v0.35.0

func (m *Message) GetLightBlockResponse() *LightBlockResponse

func (*Message) GetParamsRequest added in v0.35.0

func (m *Message) GetParamsRequest() *ParamsRequest

func (*Message) GetParamsResponse added in v0.35.0

func (m *Message) GetParamsResponse() *ParamsResponse

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

func (m *Message) Marshal() (dAtA []byte, err error)

func (*Message) MarshalTo

func (m *Message) MarshalTo(dAtA []byte) (int, error)

func (*Message) MarshalToSizedBuffer

func (m *Message) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) Reset

func (m *Message) Reset()

func (*Message) Size

func (m *Message) Size() (n int)

func (*Message) String

func (m *Message) String() string

func (*Message) Unmarshal

func (m *Message) Unmarshal(dAtA []byte) error

func (*Message) Unwrap added in v0.34.23

func (m *Message) Unwrap() (proto.Message, error)

Unwrap implements the p2p Wrapper interface and unwraps a wrapped state sync proto message.

func (*Message) Validate added in v0.35.0

func (m *Message) Validate() error

Validate validates the message returning an error upon failure.

func (*Message) Wrap added in v0.35.0

func (m *Message) Wrap(pb proto.Message) error

Wrap implements the p2p Wrapper interface and wraps a state sync proto message.

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"`
}

func (*Message_ChunkRequest) MarshalTo

func (m *Message_ChunkRequest) MarshalTo(dAtA []byte) (int, error)

func (*Message_ChunkRequest) MarshalToSizedBuffer

func (m *Message_ChunkRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Message_ChunkRequest) Size

func (m *Message_ChunkRequest) Size() (n int)

type Message_ChunkResponse

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

func (*Message_ChunkResponse) MarshalTo

func (m *Message_ChunkResponse) MarshalTo(dAtA []byte) (int, error)

func (*Message_ChunkResponse) MarshalToSizedBuffer

func (m *Message_ChunkResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Message_ChunkResponse) Size

func (m *Message_ChunkResponse) Size() (n int)

type Message_LightBlockRequest added in v0.35.0

type Message_LightBlockRequest struct {
	LightBlockRequest *LightBlockRequest `protobuf:"bytes,5,opt,name=light_block_request,json=lightBlockRequest,proto3,oneof" json:"light_block_request,omitempty"`
}

func (*Message_LightBlockRequest) MarshalTo added in v0.35.0

func (m *Message_LightBlockRequest) MarshalTo(dAtA []byte) (int, error)

func (*Message_LightBlockRequest) MarshalToSizedBuffer added in v0.35.0

func (m *Message_LightBlockRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Message_LightBlockRequest) Size added in v0.35.0

func (m *Message_LightBlockRequest) Size() (n int)

type Message_LightBlockResponse added in v0.35.0

type Message_LightBlockResponse struct {
	LightBlockResponse *LightBlockResponse `protobuf:"bytes,6,opt,name=light_block_response,json=lightBlockResponse,proto3,oneof" json:"light_block_response,omitempty"`
}

func (*Message_LightBlockResponse) MarshalTo added in v0.35.0

func (m *Message_LightBlockResponse) MarshalTo(dAtA []byte) (int, error)

func (*Message_LightBlockResponse) MarshalToSizedBuffer added in v0.35.0

func (m *Message_LightBlockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Message_LightBlockResponse) Size added in v0.35.0

func (m *Message_LightBlockResponse) Size() (n int)

type Message_ParamsRequest added in v0.35.0

type Message_ParamsRequest struct {
	ParamsRequest *ParamsRequest `protobuf:"bytes,7,opt,name=params_request,json=paramsRequest,proto3,oneof" json:"params_request,omitempty"`
}

func (*Message_ParamsRequest) MarshalTo added in v0.35.0

func (m *Message_ParamsRequest) MarshalTo(dAtA []byte) (int, error)

func (*Message_ParamsRequest) MarshalToSizedBuffer added in v0.35.0

func (m *Message_ParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Message_ParamsRequest) Size added in v0.35.0

func (m *Message_ParamsRequest) Size() (n int)

type Message_ParamsResponse added in v0.35.0

type Message_ParamsResponse struct {
	ParamsResponse *ParamsResponse `protobuf:"bytes,8,opt,name=params_response,json=paramsResponse,proto3,oneof" json:"params_response,omitempty"`
}

func (*Message_ParamsResponse) MarshalTo added in v0.35.0

func (m *Message_ParamsResponse) MarshalTo(dAtA []byte) (int, error)

func (*Message_ParamsResponse) MarshalToSizedBuffer added in v0.35.0

func (m *Message_ParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Message_ParamsResponse) Size added in v0.35.0

func (m *Message_ParamsResponse) Size() (n int)

type Message_SnapshotsRequest

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

func (*Message_SnapshotsRequest) MarshalTo

func (m *Message_SnapshotsRequest) MarshalTo(dAtA []byte) (int, error)

func (*Message_SnapshotsRequest) MarshalToSizedBuffer

func (m *Message_SnapshotsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Message_SnapshotsRequest) Size

func (m *Message_SnapshotsRequest) Size() (n int)

type Message_SnapshotsResponse

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

func (*Message_SnapshotsResponse) MarshalTo

func (m *Message_SnapshotsResponse) MarshalTo(dAtA []byte) (int, error)

func (*Message_SnapshotsResponse) MarshalToSizedBuffer

func (m *Message_SnapshotsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Message_SnapshotsResponse) Size

func (m *Message_SnapshotsResponse) Size() (n int)

type ParamsRequest added in v0.35.0

type ParamsRequest struct {
	Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
}

func (*ParamsRequest) Descriptor added in v0.35.0

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

func (*ParamsRequest) GetHeight added in v0.35.0

func (m *ParamsRequest) GetHeight() uint64

func (*ParamsRequest) Marshal added in v0.35.0

func (m *ParamsRequest) Marshal() (dAtA []byte, err error)

func (*ParamsRequest) MarshalTo added in v0.35.0

func (m *ParamsRequest) MarshalTo(dAtA []byte) (int, error)

func (*ParamsRequest) MarshalToSizedBuffer added in v0.35.0

func (m *ParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ParamsRequest) ProtoMessage added in v0.35.0

func (*ParamsRequest) ProtoMessage()

func (*ParamsRequest) Reset added in v0.35.0

func (m *ParamsRequest) Reset()

func (*ParamsRequest) Size added in v0.35.0

func (m *ParamsRequest) Size() (n int)

func (*ParamsRequest) String added in v0.35.0

func (m *ParamsRequest) String() string

func (*ParamsRequest) Unmarshal added in v0.35.0

func (m *ParamsRequest) Unmarshal(dAtA []byte) error

func (*ParamsRequest) XXX_DiscardUnknown added in v0.35.0

func (m *ParamsRequest) XXX_DiscardUnknown()

func (*ParamsRequest) XXX_Marshal added in v0.35.0

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

func (*ParamsRequest) XXX_Merge added in v0.35.0

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

func (*ParamsRequest) XXX_Size added in v0.35.0

func (m *ParamsRequest) XXX_Size() int

func (*ParamsRequest) XXX_Unmarshal added in v0.35.0

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

type ParamsResponse added in v0.35.0

type ParamsResponse struct {
	Height          uint64                `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	ConsensusParams types.ConsensusParams `protobuf:"bytes,2,opt,name=consensus_params,json=consensusParams,proto3" json:"consensus_params"`
}

func (*ParamsResponse) Descriptor added in v0.35.0

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

func (*ParamsResponse) GetConsensusParams added in v0.35.0

func (m *ParamsResponse) GetConsensusParams() types.ConsensusParams

func (*ParamsResponse) GetHeight added in v0.35.0

func (m *ParamsResponse) GetHeight() uint64

func (*ParamsResponse) Marshal added in v0.35.0

func (m *ParamsResponse) Marshal() (dAtA []byte, err error)

func (*ParamsResponse) MarshalTo added in v0.35.0

func (m *ParamsResponse) MarshalTo(dAtA []byte) (int, error)

func (*ParamsResponse) MarshalToSizedBuffer added in v0.35.0

func (m *ParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ParamsResponse) ProtoMessage added in v0.35.0

func (*ParamsResponse) ProtoMessage()

func (*ParamsResponse) Reset added in v0.35.0

func (m *ParamsResponse) Reset()

func (*ParamsResponse) Size added in v0.35.0

func (m *ParamsResponse) Size() (n int)

func (*ParamsResponse) String added in v0.35.0

func (m *ParamsResponse) String() string

func (*ParamsResponse) Unmarshal added in v0.35.0

func (m *ParamsResponse) Unmarshal(dAtA []byte) error

func (*ParamsResponse) XXX_DiscardUnknown added in v0.35.0

func (m *ParamsResponse) XXX_DiscardUnknown()

func (*ParamsResponse) XXX_Marshal added in v0.35.0

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

func (*ParamsResponse) XXX_Merge added in v0.35.0

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

func (*ParamsResponse) XXX_Size added in v0.35.0

func (m *ParamsResponse) XXX_Size() int

func (*ParamsResponse) XXX_Unmarshal added in v0.35.0

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

type SnapshotsRequest

type SnapshotsRequest struct {
}

func (*SnapshotsRequest) Descriptor

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

func (*SnapshotsRequest) Marshal

func (m *SnapshotsRequest) Marshal() (dAtA []byte, err error)

func (*SnapshotsRequest) MarshalTo

func (m *SnapshotsRequest) MarshalTo(dAtA []byte) (int, error)

func (*SnapshotsRequest) MarshalToSizedBuffer

func (m *SnapshotsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SnapshotsRequest) ProtoMessage

func (*SnapshotsRequest) ProtoMessage()

func (*SnapshotsRequest) Reset

func (m *SnapshotsRequest) Reset()

func (*SnapshotsRequest) Size

func (m *SnapshotsRequest) Size() (n int)

func (*SnapshotsRequest) String

func (m *SnapshotsRequest) String() string

func (*SnapshotsRequest) Unmarshal

func (m *SnapshotsRequest) Unmarshal(dAtA []byte) error

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"`
}

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

func (m *SnapshotsResponse) Marshal() (dAtA []byte, err error)

func (*SnapshotsResponse) MarshalTo

func (m *SnapshotsResponse) MarshalTo(dAtA []byte) (int, error)

func (*SnapshotsResponse) MarshalToSizedBuffer

func (m *SnapshotsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SnapshotsResponse) ProtoMessage

func (*SnapshotsResponse) ProtoMessage()

func (*SnapshotsResponse) Reset

func (m *SnapshotsResponse) Reset()

func (*SnapshotsResponse) Size

func (m *SnapshotsResponse) Size() (n int)

func (*SnapshotsResponse) String

func (m *SnapshotsResponse) String() string

func (*SnapshotsResponse) Unmarshal

func (m *SnapshotsResponse) Unmarshal(dAtA []byte) error

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