Documentation ¶
Index ¶
- Variables
- type FileRequest
- func (*FileRequest) Descriptor() ([]byte, []int)
- func (m *FileRequest) GetFilename() string
- func (m *FileRequest) GetHeight() uint64
- func (m *FileRequest) Marshal() (dAtA []byte, err error)
- func (m *FileRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *FileRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FileRequest) ProtoMessage()
- func (m *FileRequest) Reset()
- func (m *FileRequest) Size() (n int)
- func (m *FileRequest) String() string
- func (m *FileRequest) Unmarshal(dAtA []byte) error
- func (m *FileRequest) XXX_DiscardUnknown()
- func (m *FileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FileRequest) XXX_Merge(src proto.Message)
- func (m *FileRequest) XXX_Size() int
- func (m *FileRequest) XXX_Unmarshal(b []byte) error
- type FileResponse
- func (*FileResponse) Descriptor() ([]byte, []int)
- func (m *FileResponse) GetData() []byte
- func (m *FileResponse) GetFilename() string
- func (m *FileResponse) GetHeight() uint64
- func (m *FileResponse) Marshal() (dAtA []byte, err error)
- func (m *FileResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *FileResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FileResponse) ProtoMessage()
- func (m *FileResponse) Reset()
- func (m *FileResponse) Size() (n int)
- func (m *FileResponse) String() string
- func (m *FileResponse) Unmarshal(dAtA []byte) error
- func (m *FileResponse) XXX_DiscardUnknown()
- func (m *FileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FileResponse) XXX_Merge(src proto.Message)
- func (m *FileResponse) XXX_Size() int
- func (m *FileResponse) 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) GetFileRequest() *FileRequest
- func (m *Message) GetFileResponse() *FileResponse
- func (m *Message) GetLightBlockRequest() *LightBlockRequest
- func (m *Message) GetLightBlockResponse() *LightBlockResponse
- func (m *Message) GetMetadataRequest() *MetadataRequest
- func (m *Message) GetMetadataResponse() *MetadataResponse
- func (m *Message) GetParamsRequest() *ParamsRequest
- func (m *Message) GetParamsResponse() *ParamsResponse
- 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_FileRequest
- type Message_FileResponse
- type Message_LightBlockRequest
- type Message_LightBlockResponse
- type Message_MetadataRequest
- type Message_MetadataResponse
- type Message_ParamsRequest
- type Message_ParamsResponse
- type MetadataRequest
- func (*MetadataRequest) Descriptor() ([]byte, []int)
- func (m *MetadataRequest) Marshal() (dAtA []byte, err error)
- func (m *MetadataRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *MetadataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MetadataRequest) ProtoMessage()
- func (m *MetadataRequest) Reset()
- func (m *MetadataRequest) Size() (n int)
- func (m *MetadataRequest) String() string
- func (m *MetadataRequest) Unmarshal(dAtA []byte) error
- func (m *MetadataRequest) XXX_DiscardUnknown()
- func (m *MetadataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MetadataRequest) XXX_Merge(src proto.Message)
- func (m *MetadataRequest) XXX_Size() int
- func (m *MetadataRequest) XXX_Unmarshal(b []byte) error
- type MetadataResponse
- func (*MetadataResponse) Descriptor() ([]byte, []int)
- func (m *MetadataResponse) GetFilenames() []string
- func (m *MetadataResponse) GetHash() []byte
- func (m *MetadataResponse) GetHeight() uint64
- func (m *MetadataResponse) GetMd5Checksum() [][]byte
- func (m *MetadataResponse) Marshal() (dAtA []byte, err error)
- func (m *MetadataResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MetadataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MetadataResponse) ProtoMessage()
- func (m *MetadataResponse) Reset()
- func (m *MetadataResponse) Size() (n int)
- func (m *MetadataResponse) String() string
- func (m *MetadataResponse) Unmarshal(dAtA []byte) error
- func (m *MetadataResponse) XXX_DiscardUnknown()
- func (m *MetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MetadataResponse) XXX_Merge(src proto.Message)
- func (m *MetadataResponse) XXX_Size() int
- func (m *MetadataResponse) XXX_Unmarshal(b []byte) error
- 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
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type FileRequest ¶
type FileRequest struct { Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` Filename string `protobuf:"bytes,2,opt,name=filename,proto3" json:"filename,omitempty"` }
func (*FileRequest) Descriptor ¶
func (*FileRequest) Descriptor() ([]byte, []int)
func (*FileRequest) GetFilename ¶
func (m *FileRequest) GetFilename() string
func (*FileRequest) GetHeight ¶
func (m *FileRequest) GetHeight() uint64
func (*FileRequest) Marshal ¶
func (m *FileRequest) Marshal() (dAtA []byte, err error)
func (*FileRequest) MarshalToSizedBuffer ¶
func (m *FileRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FileRequest) ProtoMessage ¶
func (*FileRequest) ProtoMessage()
func (*FileRequest) Reset ¶
func (m *FileRequest) Reset()
func (*FileRequest) Size ¶
func (m *FileRequest) Size() (n int)
func (*FileRequest) String ¶
func (m *FileRequest) String() string
func (*FileRequest) Unmarshal ¶
func (m *FileRequest) Unmarshal(dAtA []byte) error
func (*FileRequest) XXX_DiscardUnknown ¶
func (m *FileRequest) XXX_DiscardUnknown()
func (*FileRequest) XXX_Marshal ¶
func (m *FileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FileRequest) XXX_Merge ¶
func (m *FileRequest) XXX_Merge(src proto.Message)
func (*FileRequest) XXX_Size ¶
func (m *FileRequest) XXX_Size() int
func (*FileRequest) XXX_Unmarshal ¶
func (m *FileRequest) XXX_Unmarshal(b []byte) error
type FileResponse ¶
type FileResponse struct { Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` Filename string `protobuf:"bytes,2,opt,name=filename,proto3" json:"filename,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` }
func (*FileResponse) Descriptor ¶
func (*FileResponse) Descriptor() ([]byte, []int)
func (*FileResponse) GetData ¶
func (m *FileResponse) GetData() []byte
func (*FileResponse) GetFilename ¶
func (m *FileResponse) GetFilename() string
func (*FileResponse) GetHeight ¶
func (m *FileResponse) GetHeight() uint64
func (*FileResponse) Marshal ¶
func (m *FileResponse) Marshal() (dAtA []byte, err error)
func (*FileResponse) MarshalToSizedBuffer ¶
func (m *FileResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FileResponse) ProtoMessage ¶
func (*FileResponse) ProtoMessage()
func (*FileResponse) Reset ¶
func (m *FileResponse) Reset()
func (*FileResponse) Size ¶
func (m *FileResponse) Size() (n int)
func (*FileResponse) String ¶
func (m *FileResponse) String() string
func (*FileResponse) Unmarshal ¶
func (m *FileResponse) Unmarshal(dAtA []byte) error
func (*FileResponse) XXX_DiscardUnknown ¶
func (m *FileResponse) XXX_DiscardUnknown()
func (*FileResponse) XXX_Marshal ¶
func (m *FileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FileResponse) XXX_Merge ¶
func (m *FileResponse) XXX_Merge(src proto.Message)
func (*FileResponse) XXX_Size ¶
func (m *FileResponse) XXX_Size() int
func (*FileResponse) XXX_Unmarshal ¶
func (m *FileResponse) 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_MetadataRequest // *Message_MetadataResponse // *Message_FileRequest // *Message_FileResponse // *Message_LightBlockRequest // *Message_LightBlockResponse // *Message_ParamsRequest // *Message_ParamsResponse Sum isMessage_Sum `protobuf_oneof:"sum"` }
func (*Message) Descriptor ¶
func (*Message) GetFileRequest ¶
func (m *Message) GetFileRequest() *FileRequest
func (*Message) GetFileResponse ¶
func (m *Message) GetFileResponse() *FileResponse
func (*Message) GetLightBlockRequest ¶
func (m *Message) GetLightBlockRequest() *LightBlockRequest
func (*Message) GetLightBlockResponse ¶
func (m *Message) GetLightBlockResponse() *LightBlockResponse
func (*Message) GetMetadataRequest ¶
func (m *Message) GetMetadataRequest() *MetadataRequest
func (*Message) GetMetadataResponse ¶
func (m *Message) GetMetadataResponse() *MetadataResponse
func (*Message) GetParamsRequest ¶
func (m *Message) GetParamsRequest() *ParamsRequest
func (*Message) GetParamsResponse ¶
func (m *Message) GetParamsResponse() *ParamsResponse
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_FileRequest ¶
type Message_FileRequest struct {
FileRequest *FileRequest `protobuf:"bytes,3,opt,name=file_request,json=fileRequest,proto3,oneof" json:"file_request,omitempty"`
}
func (*Message_FileRequest) MarshalTo ¶
func (m *Message_FileRequest) MarshalTo(dAtA []byte) (int, error)
func (*Message_FileRequest) MarshalToSizedBuffer ¶
func (m *Message_FileRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Message_FileRequest) Size ¶
func (m *Message_FileRequest) Size() (n int)
type Message_FileResponse ¶
type Message_FileResponse struct {
FileResponse *FileResponse `protobuf:"bytes,4,opt,name=file_response,json=fileResponse,proto3,oneof" json:"file_response,omitempty"`
}
func (*Message_FileResponse) MarshalTo ¶
func (m *Message_FileResponse) MarshalTo(dAtA []byte) (int, error)
func (*Message_FileResponse) MarshalToSizedBuffer ¶
func (m *Message_FileResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Message_FileResponse) Size ¶
func (m *Message_FileResponse) 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_MetadataRequest ¶
type Message_MetadataRequest struct {
MetadataRequest *MetadataRequest `protobuf:"bytes,1,opt,name=metadata_request,json=metadataRequest,proto3,oneof" json:"metadata_request,omitempty"`
}
func (*Message_MetadataRequest) MarshalTo ¶
func (m *Message_MetadataRequest) MarshalTo(dAtA []byte) (int, error)
func (*Message_MetadataRequest) MarshalToSizedBuffer ¶
func (m *Message_MetadataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Message_MetadataRequest) Size ¶
func (m *Message_MetadataRequest) Size() (n int)
type Message_MetadataResponse ¶
type Message_MetadataResponse struct {
MetadataResponse *MetadataResponse `protobuf:"bytes,2,opt,name=metadata_response,json=metadataResponse,proto3,oneof" json:"metadata_response,omitempty"`
}
func (*Message_MetadataResponse) MarshalTo ¶
func (m *Message_MetadataResponse) MarshalTo(dAtA []byte) (int, error)
func (*Message_MetadataResponse) MarshalToSizedBuffer ¶
func (m *Message_MetadataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Message_MetadataResponse) Size ¶
func (m *Message_MetadataResponse) 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 MetadataRequest ¶
type MetadataRequest struct { }
func (*MetadataRequest) Descriptor ¶
func (*MetadataRequest) Descriptor() ([]byte, []int)
func (*MetadataRequest) Marshal ¶
func (m *MetadataRequest) Marshal() (dAtA []byte, err error)
func (*MetadataRequest) MarshalToSizedBuffer ¶
func (m *MetadataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MetadataRequest) ProtoMessage ¶
func (*MetadataRequest) ProtoMessage()
func (*MetadataRequest) Reset ¶
func (m *MetadataRequest) Reset()
func (*MetadataRequest) Size ¶
func (m *MetadataRequest) Size() (n int)
func (*MetadataRequest) String ¶
func (m *MetadataRequest) String() string
func (*MetadataRequest) Unmarshal ¶
func (m *MetadataRequest) Unmarshal(dAtA []byte) error
func (*MetadataRequest) XXX_DiscardUnknown ¶
func (m *MetadataRequest) XXX_DiscardUnknown()
func (*MetadataRequest) XXX_Marshal ¶
func (m *MetadataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MetadataRequest) XXX_Merge ¶
func (m *MetadataRequest) XXX_Merge(src proto.Message)
func (*MetadataRequest) XXX_Size ¶
func (m *MetadataRequest) XXX_Size() int
func (*MetadataRequest) XXX_Unmarshal ¶
func (m *MetadataRequest) XXX_Unmarshal(b []byte) error
type MetadataResponse ¶
type MetadataResponse struct { Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` Hash []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` Filenames []string `protobuf:"bytes,3,rep,name=filenames,proto3" json:"filenames,omitempty"` Md5Checksum [][]byte `protobuf:"bytes,4,rep,name=md5checksum,proto3" json:"md5checksum,omitempty"` }
func (*MetadataResponse) Descriptor ¶
func (*MetadataResponse) Descriptor() ([]byte, []int)
func (*MetadataResponse) GetFilenames ¶
func (m *MetadataResponse) GetFilenames() []string
func (*MetadataResponse) GetHash ¶
func (m *MetadataResponse) GetHash() []byte
func (*MetadataResponse) GetHeight ¶
func (m *MetadataResponse) GetHeight() uint64
func (*MetadataResponse) GetMd5Checksum ¶
func (m *MetadataResponse) GetMd5Checksum() [][]byte
func (*MetadataResponse) Marshal ¶
func (m *MetadataResponse) Marshal() (dAtA []byte, err error)
func (*MetadataResponse) MarshalToSizedBuffer ¶
func (m *MetadataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MetadataResponse) ProtoMessage ¶
func (*MetadataResponse) ProtoMessage()
func (*MetadataResponse) Reset ¶
func (m *MetadataResponse) Reset()
func (*MetadataResponse) Size ¶
func (m *MetadataResponse) Size() (n int)
func (*MetadataResponse) String ¶
func (m *MetadataResponse) String() string
func (*MetadataResponse) Unmarshal ¶
func (m *MetadataResponse) Unmarshal(dAtA []byte) error
func (*MetadataResponse) XXX_DiscardUnknown ¶
func (m *MetadataResponse) XXX_DiscardUnknown()
func (*MetadataResponse) XXX_Marshal ¶
func (m *MetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MetadataResponse) XXX_Merge ¶
func (m *MetadataResponse) XXX_Merge(src proto.Message)
func (*MetadataResponse) XXX_Size ¶
func (m *MetadataResponse) XXX_Size() int
func (*MetadataResponse) XXX_Unmarshal ¶
func (m *MetadataResponse) XXX_Unmarshal(b []byte) error
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
Click to show internal directories.
Click to hide internal directories.