Documentation ¶
Index ¶
- Variables
- type ChunkRequest
- func (*ChunkRequest) Descriptor() ([]byte, []int)
- func (m *ChunkRequest) GetFormat() uint32
- func (m *ChunkRequest) GetHeight() uint64
- func (m *ChunkRequest) GetIndex() uint32
- func (m *ChunkRequest) Marshal() (dAtA []byte, err error)
- func (m *ChunkRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ChunkRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ChunkRequest) ProtoMessage()
- func (m *ChunkRequest) Reset()
- func (m *ChunkRequest) Size() (n int)
- func (m *ChunkRequest) String() string
- func (m *ChunkRequest) Unmarshal(dAtA []byte) error
- func (m *ChunkRequest) XXX_DiscardUnknown()
- func (m *ChunkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChunkRequest) XXX_Merge(src proto.Message)
- func (m *ChunkRequest) XXX_Size() int
- func (m *ChunkRequest) XXX_Unmarshal(b []byte) error
- type ChunkResponse
- func (*ChunkResponse) Descriptor() ([]byte, []int)
- func (m *ChunkResponse) GetChunk() []byte
- func (m *ChunkResponse) GetFormat() uint32
- func (m *ChunkResponse) GetHeight() uint64
- func (m *ChunkResponse) GetIndex() uint32
- func (m *ChunkResponse) GetMissing() bool
- func (m *ChunkResponse) Marshal() (dAtA []byte, err error)
- func (m *ChunkResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ChunkResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ChunkResponse) ProtoMessage()
- func (m *ChunkResponse) Reset()
- func (m *ChunkResponse) Size() (n int)
- func (m *ChunkResponse) String() string
- func (m *ChunkResponse) Unmarshal(dAtA []byte) error
- func (m *ChunkResponse) XXX_DiscardUnknown()
- func (m *ChunkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChunkResponse) XXX_Merge(src proto.Message)
- func (m *ChunkResponse) XXX_Size() int
- func (m *ChunkResponse) XXX_Unmarshal(b []byte) error
- type LightBlockRequest
- func (*LightBlockRequest) Descriptor() ([]byte, []int)
- func (m *LightBlockRequest) GetHeight() uint64
- func (m *LightBlockRequest) Marshal() (dAtA []byte, err error)
- func (m *LightBlockRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *LightBlockRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LightBlockRequest) ProtoMessage()
- func (m *LightBlockRequest) Reset()
- func (m *LightBlockRequest) Size() (n int)
- func (m *LightBlockRequest) String() string
- func (m *LightBlockRequest) Unmarshal(dAtA []byte) error
- func (m *LightBlockRequest) XXX_DiscardUnknown()
- func (m *LightBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LightBlockRequest) XXX_Merge(src proto.Message)
- func (m *LightBlockRequest) XXX_Size() int
- func (m *LightBlockRequest) XXX_Unmarshal(b []byte) error
- type LightBlockResponse
- func (*LightBlockResponse) Descriptor() ([]byte, []int)
- func (m *LightBlockResponse) GetLightBlock() *types.LightBlock
- func (m *LightBlockResponse) Marshal() (dAtA []byte, err error)
- func (m *LightBlockResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *LightBlockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LightBlockResponse) ProtoMessage()
- func (m *LightBlockResponse) Reset()
- func (m *LightBlockResponse) Size() (n int)
- func (m *LightBlockResponse) String() string
- func (m *LightBlockResponse) Unmarshal(dAtA []byte) error
- func (m *LightBlockResponse) XXX_DiscardUnknown()
- func (m *LightBlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LightBlockResponse) XXX_Merge(src proto.Message)
- func (m *LightBlockResponse) XXX_Size() int
- func (m *LightBlockResponse) XXX_Unmarshal(b []byte) error
- type Message
- func (*Message) Descriptor() ([]byte, []int)
- func (m *Message) GetChunkRequest() *ChunkRequest
- func (m *Message) GetChunkResponse() *ChunkResponse
- func (m *Message) GetLightBlockRequest() *LightBlockRequest
- func (m *Message) GetLightBlockResponse() *LightBlockResponse
- func (m *Message) GetParamsRequest() *ParamsRequest
- func (m *Message) GetParamsResponse() *ParamsResponse
- func (m *Message) GetSnapshotsRequest() *SnapshotsRequest
- func (m *Message) GetSnapshotsResponse() *SnapshotsResponse
- func (m *Message) GetSum() isMessage_Sum
- func (m *Message) Marshal() (dAtA []byte, err error)
- func (m *Message) MarshalTo(dAtA []byte) (int, error)
- func (m *Message) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Message) ProtoMessage()
- func (m *Message) Reset()
- func (m *Message) Size() (n int)
- func (m *Message) String() string
- func (m *Message) Unmarshal(dAtA []byte) error
- func (m *Message) Unwrap() (proto.Message, error)
- func (m *Message) Validate() error
- func (m *Message) Wrap(pb proto.Message) error
- func (m *Message) XXX_DiscardUnknown()
- func (m *Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Message) XXX_Merge(src proto.Message)
- func (*Message) XXX_OneofWrappers() []interface{}
- func (m *Message) XXX_Size() int
- func (m *Message) XXX_Unmarshal(b []byte) error
- type Message_ChunkRequest
- type Message_ChunkResponse
- type Message_LightBlockRequest
- type Message_LightBlockResponse
- type Message_ParamsRequest
- type Message_ParamsResponse
- type Message_SnapshotsRequest
- type Message_SnapshotsResponse
- type ParamsRequest
- func (*ParamsRequest) Descriptor() ([]byte, []int)
- func (m *ParamsRequest) GetHeight() uint64
- func (m *ParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *ParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ParamsRequest) ProtoMessage()
- func (m *ParamsRequest) Reset()
- func (m *ParamsRequest) Size() (n int)
- func (m *ParamsRequest) String() string
- func (m *ParamsRequest) Unmarshal(dAtA []byte) error
- func (m *ParamsRequest) XXX_DiscardUnknown()
- func (m *ParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ParamsRequest) XXX_Merge(src proto.Message)
- func (m *ParamsRequest) XXX_Size() int
- func (m *ParamsRequest) XXX_Unmarshal(b []byte) error
- type ParamsResponse
- func (*ParamsResponse) Descriptor() ([]byte, []int)
- func (m *ParamsResponse) GetConsensusParams() types.ConsensusParams
- func (m *ParamsResponse) GetHeight() uint64
- func (m *ParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *ParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ParamsResponse) ProtoMessage()
- func (m *ParamsResponse) Reset()
- func (m *ParamsResponse) Size() (n int)
- func (m *ParamsResponse) String() string
- func (m *ParamsResponse) Unmarshal(dAtA []byte) error
- func (m *ParamsResponse) XXX_DiscardUnknown()
- func (m *ParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ParamsResponse) XXX_Merge(src proto.Message)
- func (m *ParamsResponse) XXX_Size() int
- func (m *ParamsResponse) XXX_Unmarshal(b []byte) error
- type SnapshotsRequest
- func (*SnapshotsRequest) Descriptor() ([]byte, []int)
- func (m *SnapshotsRequest) Marshal() (dAtA []byte, err error)
- func (m *SnapshotsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *SnapshotsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SnapshotsRequest) ProtoMessage()
- func (m *SnapshotsRequest) Reset()
- func (m *SnapshotsRequest) Size() (n int)
- func (m *SnapshotsRequest) String() string
- func (m *SnapshotsRequest) Unmarshal(dAtA []byte) error
- func (m *SnapshotsRequest) XXX_DiscardUnknown()
- func (m *SnapshotsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SnapshotsRequest) XXX_Merge(src proto.Message)
- func (m *SnapshotsRequest) XXX_Size() int
- func (m *SnapshotsRequest) XXX_Unmarshal(b []byte) error
- type SnapshotsResponse
- func (*SnapshotsResponse) Descriptor() ([]byte, []int)
- func (m *SnapshotsResponse) GetChunks() uint32
- func (m *SnapshotsResponse) GetFormat() uint32
- func (m *SnapshotsResponse) GetHash() []byte
- func (m *SnapshotsResponse) GetHeight() uint64
- func (m *SnapshotsResponse) GetMetadata() []byte
- func (m *SnapshotsResponse) Marshal() (dAtA []byte, err error)
- func (m *SnapshotsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *SnapshotsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SnapshotsResponse) ProtoMessage()
- func (m *SnapshotsResponse) Reset()
- func (m *SnapshotsResponse) Size() (n int)
- func (m *SnapshotsResponse) String() string
- func (m *SnapshotsResponse) Unmarshal(dAtA []byte) error
- func (m *SnapshotsResponse) XXX_DiscardUnknown()
- func (m *SnapshotsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SnapshotsResponse) XXX_Merge(src proto.Message)
- func (m *SnapshotsResponse) XXX_Size() int
- func (m *SnapshotsResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
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) 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) 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 ¶
type LightBlockRequest struct {
Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
}
func (*LightBlockRequest) Descriptor ¶
func (*LightBlockRequest) Descriptor() ([]byte, []int)
func (*LightBlockRequest) GetHeight ¶
func (m *LightBlockRequest) GetHeight() uint64
func (*LightBlockRequest) Marshal ¶
func (m *LightBlockRequest) Marshal() (dAtA []byte, err error)
func (*LightBlockRequest) MarshalTo ¶
func (m *LightBlockRequest) MarshalTo(dAtA []byte) (int, error)
func (*LightBlockRequest) MarshalToSizedBuffer ¶
func (m *LightBlockRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LightBlockRequest) ProtoMessage ¶
func (*LightBlockRequest) ProtoMessage()
func (*LightBlockRequest) Reset ¶
func (m *LightBlockRequest) Reset()
func (*LightBlockRequest) Size ¶
func (m *LightBlockRequest) Size() (n int)
func (*LightBlockRequest) String ¶
func (m *LightBlockRequest) String() string
func (*LightBlockRequest) Unmarshal ¶
func (m *LightBlockRequest) Unmarshal(dAtA []byte) error
func (*LightBlockRequest) XXX_DiscardUnknown ¶
func (m *LightBlockRequest) XXX_DiscardUnknown()
func (*LightBlockRequest) XXX_Marshal ¶
func (m *LightBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LightBlockRequest) XXX_Merge ¶
func (m *LightBlockRequest) XXX_Merge(src proto.Message)
func (*LightBlockRequest) XXX_Size ¶
func (m *LightBlockRequest) XXX_Size() int
func (*LightBlockRequest) XXX_Unmarshal ¶
func (m *LightBlockRequest) XXX_Unmarshal(b []byte) error
type LightBlockResponse ¶
type LightBlockResponse struct {
LightBlock *types.LightBlock `protobuf:"bytes,1,opt,name=light_block,json=lightBlock,proto3" json:"light_block,omitempty"`
}
func (*LightBlockResponse) Descriptor ¶
func (*LightBlockResponse) Descriptor() ([]byte, []int)
func (*LightBlockResponse) GetLightBlock ¶
func (m *LightBlockResponse) GetLightBlock() *types.LightBlock
func (*LightBlockResponse) Marshal ¶
func (m *LightBlockResponse) Marshal() (dAtA []byte, err error)
func (*LightBlockResponse) MarshalTo ¶
func (m *LightBlockResponse) MarshalTo(dAtA []byte) (int, error)
func (*LightBlockResponse) MarshalToSizedBuffer ¶
func (m *LightBlockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LightBlockResponse) ProtoMessage ¶
func (*LightBlockResponse) ProtoMessage()
func (*LightBlockResponse) Reset ¶
func (m *LightBlockResponse) Reset()
func (*LightBlockResponse) Size ¶
func (m *LightBlockResponse) Size() (n int)
func (*LightBlockResponse) String ¶
func (m *LightBlockResponse) String() string
func (*LightBlockResponse) Unmarshal ¶
func (m *LightBlockResponse) Unmarshal(dAtA []byte) error
func (*LightBlockResponse) XXX_DiscardUnknown ¶
func (m *LightBlockResponse) XXX_DiscardUnknown()
func (*LightBlockResponse) XXX_Marshal ¶
func (m *LightBlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LightBlockResponse) XXX_Merge ¶
func (m *LightBlockResponse) XXX_Merge(src proto.Message)
func (*LightBlockResponse) XXX_Size ¶
func (m *LightBlockResponse) XXX_Size() int
func (*LightBlockResponse) XXX_Unmarshal ¶
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) GetChunkRequest ¶
func (m *Message) GetChunkRequest() *ChunkRequest
func (*Message) GetChunkResponse ¶
func (m *Message) GetChunkResponse() *ChunkResponse
func (*Message) GetLightBlockRequest ¶
func (m *Message) GetLightBlockRequest() *LightBlockRequest
func (*Message) GetLightBlockResponse ¶
func (m *Message) GetLightBlockResponse() *LightBlockResponse
func (*Message) GetParamsRequest ¶
func (m *Message) GetParamsRequest() *ParamsRequest
func (*Message) GetParamsResponse ¶
func (m *Message) GetParamsResponse() *ParamsResponse
func (*Message) GetSnapshotsRequest ¶
func (m *Message) GetSnapshotsRequest() *SnapshotsRequest
func (*Message) GetSnapshotsResponse ¶
func (m *Message) GetSnapshotsResponse() *SnapshotsResponse
func (*Message) MarshalToSizedBuffer ¶
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) Unwrap ¶
Unwrap implements the p2p Wrapper interface and unwraps a wrapped state sync proto message.
func (*Message) Wrap ¶
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 (*Message) XXX_OneofWrappers ¶
func (*Message) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Message) XXX_Unmarshal ¶
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 ¶
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 ¶
func (m *Message_LightBlockRequest) MarshalTo(dAtA []byte) (int, error)
func (*Message_LightBlockRequest) MarshalToSizedBuffer ¶
func (m *Message_LightBlockRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Message_LightBlockRequest) Size ¶
func (m *Message_LightBlockRequest) Size() (n int)
type Message_LightBlockResponse ¶
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 ¶
func (m *Message_LightBlockResponse) MarshalTo(dAtA []byte) (int, error)
func (*Message_LightBlockResponse) MarshalToSizedBuffer ¶
func (m *Message_LightBlockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Message_LightBlockResponse) Size ¶
func (m *Message_LightBlockResponse) Size() (n int)
type Message_ParamsRequest ¶
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 ¶
func (m *Message_ParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*Message_ParamsRequest) MarshalToSizedBuffer ¶
func (m *Message_ParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Message_ParamsRequest) Size ¶
func (m *Message_ParamsRequest) Size() (n int)
type Message_ParamsResponse ¶
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 ¶
func (m *Message_ParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*Message_ParamsResponse) MarshalToSizedBuffer ¶
func (m *Message_ParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Message_ParamsResponse) Size ¶
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 ¶
type ParamsRequest struct {
Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
}
func (*ParamsRequest) Descriptor ¶
func (*ParamsRequest) Descriptor() ([]byte, []int)
func (*ParamsRequest) GetHeight ¶
func (m *ParamsRequest) GetHeight() uint64
func (*ParamsRequest) Marshal ¶
func (m *ParamsRequest) Marshal() (dAtA []byte, err error)
func (*ParamsRequest) MarshalToSizedBuffer ¶
func (m *ParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ParamsRequest) ProtoMessage ¶
func (*ParamsRequest) ProtoMessage()
func (*ParamsRequest) Reset ¶
func (m *ParamsRequest) Reset()
func (*ParamsRequest) Size ¶
func (m *ParamsRequest) Size() (n int)
func (*ParamsRequest) String ¶
func (m *ParamsRequest) String() string
func (*ParamsRequest) Unmarshal ¶
func (m *ParamsRequest) Unmarshal(dAtA []byte) error
func (*ParamsRequest) XXX_DiscardUnknown ¶
func (m *ParamsRequest) XXX_DiscardUnknown()
func (*ParamsRequest) XXX_Marshal ¶
func (m *ParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ParamsRequest) XXX_Merge ¶
func (m *ParamsRequest) XXX_Merge(src proto.Message)
func (*ParamsRequest) XXX_Size ¶
func (m *ParamsRequest) XXX_Size() int
func (*ParamsRequest) XXX_Unmarshal ¶
func (m *ParamsRequest) XXX_Unmarshal(b []byte) error
type ParamsResponse ¶
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 ¶
func (*ParamsResponse) Descriptor() ([]byte, []int)
func (*ParamsResponse) GetConsensusParams ¶
func (m *ParamsResponse) GetConsensusParams() types.ConsensusParams
func (*ParamsResponse) GetHeight ¶
func (m *ParamsResponse) GetHeight() uint64
func (*ParamsResponse) Marshal ¶
func (m *ParamsResponse) Marshal() (dAtA []byte, err error)
func (*ParamsResponse) MarshalToSizedBuffer ¶
func (m *ParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ParamsResponse) ProtoMessage ¶
func (*ParamsResponse) ProtoMessage()
func (*ParamsResponse) Reset ¶
func (m *ParamsResponse) Reset()
func (*ParamsResponse) Size ¶
func (m *ParamsResponse) Size() (n int)
func (*ParamsResponse) String ¶
func (m *ParamsResponse) String() string
func (*ParamsResponse) Unmarshal ¶
func (m *ParamsResponse) Unmarshal(dAtA []byte) error
func (*ParamsResponse) XXX_DiscardUnknown ¶
func (m *ParamsResponse) XXX_DiscardUnknown()
func (*ParamsResponse) XXX_Marshal ¶
func (m *ParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ParamsResponse) XXX_Merge ¶
func (m *ParamsResponse) XXX_Merge(src proto.Message)
func (*ParamsResponse) XXX_Size ¶
func (m *ParamsResponse) XXX_Size() int
func (*ParamsResponse) XXX_Unmarshal ¶
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) 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
Click to show internal directories.
Click to hide internal directories.