Documentation ¶
Index ¶
- Variables
- type BlockRequest
- func (*BlockRequest) Descriptor() ([]byte, []int)
- func (m *BlockRequest) GetHeight() int64
- func (m *BlockRequest) Marshal() (dAtA []byte, err error)
- func (m *BlockRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *BlockRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BlockRequest) ProtoMessage()
- func (m *BlockRequest) Reset()
- func (m *BlockRequest) Size() (n int)
- func (m *BlockRequest) String() string
- func (m *BlockRequest) Unmarshal(dAtA []byte) error
- func (m *BlockRequest) XXX_DiscardUnknown()
- func (m *BlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockRequest) XXX_Merge(src proto.Message)
- func (m *BlockRequest) XXX_Size() int
- func (m *BlockRequest) XXX_Unmarshal(b []byte) error
- type BlockResponse
- func (*BlockResponse) Descriptor() ([]byte, []int)
- func (m *BlockResponse) GetBlock() *types.Block
- func (m *BlockResponse) Marshal() (dAtA []byte, err error)
- func (m *BlockResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *BlockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BlockResponse) ProtoMessage()
- func (m *BlockResponse) Reset()
- func (m *BlockResponse) Size() (n int)
- func (m *BlockResponse) String() string
- func (m *BlockResponse) Unmarshal(dAtA []byte) error
- func (m *BlockResponse) XXX_DiscardUnknown()
- func (m *BlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockResponse) XXX_Merge(src proto.Message)
- func (m *BlockResponse) XXX_Size() int
- func (m *BlockResponse) XXX_Unmarshal(b []byte) error
- type Message
- func (*Message) Descriptor() ([]byte, []int)
- func (m *Message) GetBlockRequest() *BlockRequest
- func (m *Message) GetBlockResponse() *BlockResponse
- func (m *Message) GetNoBlockResponse() *NoBlockResponse
- func (m *Message) GetNoStateResponse() *NoStateResponse
- func (m *Message) GetStateRequest() *StateRequest
- func (m *Message) GetStateResponse() *StateResponse
- func (m *Message) GetStatusRequest() *StatusRequest
- func (m *Message) GetStatusResponse() *StatusResponse
- 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) 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_BlockRequest
- type Message_BlockResponse
- type Message_NoBlockResponse
- type Message_NoStateResponse
- type Message_StateRequest
- type Message_StateResponse
- type Message_StatusRequest
- type Message_StatusResponse
- type NoBlockResponse
- func (*NoBlockResponse) Descriptor() ([]byte, []int)
- func (m *NoBlockResponse) GetHeight() int64
- func (m *NoBlockResponse) Marshal() (dAtA []byte, err error)
- func (m *NoBlockResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *NoBlockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NoBlockResponse) ProtoMessage()
- func (m *NoBlockResponse) Reset()
- func (m *NoBlockResponse) Size() (n int)
- func (m *NoBlockResponse) String() string
- func (m *NoBlockResponse) Unmarshal(dAtA []byte) error
- func (m *NoBlockResponse) XXX_DiscardUnknown()
- func (m *NoBlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NoBlockResponse) XXX_Merge(src proto.Message)
- func (m *NoBlockResponse) XXX_Size() int
- func (m *NoBlockResponse) XXX_Unmarshal(b []byte) error
- type NoStateResponse
- func (*NoStateResponse) Descriptor() ([]byte, []int)
- func (m *NoStateResponse) GetHeight() int64
- func (m *NoStateResponse) Marshal() (dAtA []byte, err error)
- func (m *NoStateResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *NoStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NoStateResponse) ProtoMessage()
- func (m *NoStateResponse) Reset()
- func (m *NoStateResponse) Size() (n int)
- func (m *NoStateResponse) String() string
- func (m *NoStateResponse) Unmarshal(dAtA []byte) error
- func (m *NoStateResponse) XXX_DiscardUnknown()
- func (m *NoStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NoStateResponse) XXX_Merge(src proto.Message)
- func (m *NoStateResponse) XXX_Size() int
- func (m *NoStateResponse) XXX_Unmarshal(b []byte) error
- type StateRequest
- func (*StateRequest) Descriptor() ([]byte, []int)
- func (m *StateRequest) GetHeight() int64
- func (m *StateRequest) Marshal() (dAtA []byte, err error)
- func (m *StateRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *StateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StateRequest) ProtoMessage()
- func (m *StateRequest) Reset()
- func (m *StateRequest) Size() (n int)
- func (m *StateRequest) String() string
- func (m *StateRequest) Unmarshal(dAtA []byte) error
- func (m *StateRequest) XXX_DiscardUnknown()
- func (m *StateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StateRequest) XXX_Merge(src proto.Message)
- func (m *StateRequest) XXX_Size() int
- func (m *StateRequest) XXX_Unmarshal(b []byte) error
- type StateResponse
- func (*StateResponse) Descriptor() ([]byte, []int)
- func (m *StateResponse) GetState() *state.State
- func (m *StateResponse) Marshal() (dAtA []byte, err error)
- func (m *StateResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *StateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StateResponse) ProtoMessage()
- func (m *StateResponse) Reset()
- func (m *StateResponse) Size() (n int)
- func (m *StateResponse) String() string
- func (m *StateResponse) Unmarshal(dAtA []byte) error
- func (m *StateResponse) XXX_DiscardUnknown()
- func (m *StateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StateResponse) XXX_Merge(src proto.Message)
- func (m *StateResponse) XXX_Size() int
- func (m *StateResponse) XXX_Unmarshal(b []byte) error
- type StatusRequest
- func (*StatusRequest) Descriptor() ([]byte, []int)
- func (m *StatusRequest) Marshal() (dAtA []byte, err error)
- func (m *StatusRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *StatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StatusRequest) ProtoMessage()
- func (m *StatusRequest) Reset()
- func (m *StatusRequest) Size() (n int)
- func (m *StatusRequest) String() string
- func (m *StatusRequest) Unmarshal(dAtA []byte) error
- func (m *StatusRequest) XXX_DiscardUnknown()
- func (m *StatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StatusRequest) XXX_Merge(src proto.Message)
- func (m *StatusRequest) XXX_Size() int
- func (m *StatusRequest) XXX_Unmarshal(b []byte) error
- type StatusResponse
- func (*StatusResponse) Descriptor() ([]byte, []int)
- func (m *StatusResponse) GetBase() int64
- func (m *StatusResponse) GetHeight() int64
- func (m *StatusResponse) Marshal() (dAtA []byte, err error)
- func (m *StatusResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *StatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StatusResponse) ProtoMessage()
- func (m *StatusResponse) Reset()
- func (m *StatusResponse) Size() (n int)
- func (m *StatusResponse) String() string
- func (m *StatusResponse) Unmarshal(dAtA []byte) error
- func (m *StatusResponse) XXX_DiscardUnknown()
- func (m *StatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StatusResponse) XXX_Merge(src proto.Message)
- func (m *StatusResponse) XXX_Size() int
- func (m *StatusResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type BlockRequest ¶
type BlockRequest struct {
Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
}
BlockRequest requests a block for a specific height
func (*BlockRequest) Descriptor ¶
func (*BlockRequest) Descriptor() ([]byte, []int)
func (*BlockRequest) GetHeight ¶
func (m *BlockRequest) GetHeight() int64
func (*BlockRequest) Marshal ¶
func (m *BlockRequest) Marshal() (dAtA []byte, err error)
func (*BlockRequest) MarshalToSizedBuffer ¶
func (m *BlockRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BlockRequest) ProtoMessage ¶
func (*BlockRequest) ProtoMessage()
func (*BlockRequest) Reset ¶
func (m *BlockRequest) Reset()
func (*BlockRequest) Size ¶
func (m *BlockRequest) Size() (n int)
func (*BlockRequest) String ¶
func (m *BlockRequest) String() string
func (*BlockRequest) Unmarshal ¶
func (m *BlockRequest) Unmarshal(dAtA []byte) error
func (*BlockRequest) XXX_DiscardUnknown ¶
func (m *BlockRequest) XXX_DiscardUnknown()
func (*BlockRequest) XXX_Marshal ¶
func (m *BlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockRequest) XXX_Merge ¶
func (m *BlockRequest) XXX_Merge(src proto.Message)
func (*BlockRequest) XXX_Size ¶
func (m *BlockRequest) XXX_Size() int
func (*BlockRequest) XXX_Unmarshal ¶
func (m *BlockRequest) XXX_Unmarshal(b []byte) error
type BlockResponse ¶
type BlockResponse struct {
Block *types.Block `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"`
}
BlockResponse returns block to the requested
func (*BlockResponse) Descriptor ¶
func (*BlockResponse) Descriptor() ([]byte, []int)
func (*BlockResponse) GetBlock ¶
func (m *BlockResponse) GetBlock() *types.Block
func (*BlockResponse) Marshal ¶
func (m *BlockResponse) Marshal() (dAtA []byte, err error)
func (*BlockResponse) MarshalToSizedBuffer ¶
func (m *BlockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BlockResponse) ProtoMessage ¶
func (*BlockResponse) ProtoMessage()
func (*BlockResponse) Reset ¶
func (m *BlockResponse) Reset()
func (*BlockResponse) Size ¶
func (m *BlockResponse) Size() (n int)
func (*BlockResponse) String ¶
func (m *BlockResponse) String() string
func (*BlockResponse) Unmarshal ¶
func (m *BlockResponse) Unmarshal(dAtA []byte) error
func (*BlockResponse) XXX_DiscardUnknown ¶
func (m *BlockResponse) XXX_DiscardUnknown()
func (*BlockResponse) XXX_Marshal ¶
func (m *BlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockResponse) XXX_Merge ¶
func (m *BlockResponse) XXX_Merge(src proto.Message)
func (*BlockResponse) XXX_Size ¶
func (m *BlockResponse) XXX_Size() int
func (*BlockResponse) XXX_Unmarshal ¶
func (m *BlockResponse) XXX_Unmarshal(b []byte) error
type Message ¶
type Message struct { // Types that are valid to be assigned to Sum: // *Message_BlockRequest // *Message_NoBlockResponse // *Message_BlockResponse // *Message_StatusRequest // *Message_StatusResponse // *Message_StateRequest // *Message_StateResponse // *Message_NoStateResponse Sum isMessage_Sum `protobuf_oneof:"sum"` }
func (*Message) Descriptor ¶
func (*Message) GetBlockRequest ¶
func (m *Message) GetBlockRequest() *BlockRequest
func (*Message) GetBlockResponse ¶
func (m *Message) GetBlockResponse() *BlockResponse
func (*Message) GetNoBlockResponse ¶
func (m *Message) GetNoBlockResponse() *NoBlockResponse
func (*Message) GetNoStateResponse ¶
func (m *Message) GetNoStateResponse() *NoStateResponse
func (*Message) GetStateRequest ¶
func (m *Message) GetStateRequest() *StateRequest
func (*Message) GetStateResponse ¶
func (m *Message) GetStateResponse() *StateResponse
func (*Message) GetStatusRequest ¶
func (m *Message) GetStatusRequest() *StatusRequest
func (*Message) GetStatusResponse ¶
func (m *Message) GetStatusResponse() *StatusResponse
func (*Message) MarshalToSizedBuffer ¶
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
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_BlockRequest ¶
type Message_BlockRequest struct {
BlockRequest *BlockRequest `protobuf:"bytes,1,opt,name=block_request,json=blockRequest,proto3,oneof" json:"block_request,omitempty"`
}
func (*Message_BlockRequest) MarshalTo ¶
func (m *Message_BlockRequest) MarshalTo(dAtA []byte) (int, error)
func (*Message_BlockRequest) MarshalToSizedBuffer ¶
func (m *Message_BlockRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Message_BlockRequest) Size ¶
func (m *Message_BlockRequest) Size() (n int)
type Message_BlockResponse ¶
type Message_BlockResponse struct {
BlockResponse *BlockResponse `protobuf:"bytes,3,opt,name=block_response,json=blockResponse,proto3,oneof" json:"block_response,omitempty"`
}
func (*Message_BlockResponse) MarshalTo ¶
func (m *Message_BlockResponse) MarshalTo(dAtA []byte) (int, error)
func (*Message_BlockResponse) MarshalToSizedBuffer ¶
func (m *Message_BlockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Message_BlockResponse) Size ¶
func (m *Message_BlockResponse) Size() (n int)
type Message_NoBlockResponse ¶
type Message_NoBlockResponse struct {
NoBlockResponse *NoBlockResponse `protobuf:"bytes,2,opt,name=no_block_response,json=noBlockResponse,proto3,oneof" json:"no_block_response,omitempty"`
}
func (*Message_NoBlockResponse) MarshalTo ¶
func (m *Message_NoBlockResponse) MarshalTo(dAtA []byte) (int, error)
func (*Message_NoBlockResponse) MarshalToSizedBuffer ¶
func (m *Message_NoBlockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Message_NoBlockResponse) Size ¶
func (m *Message_NoBlockResponse) Size() (n int)
type Message_NoStateResponse ¶
type Message_NoStateResponse struct {
NoStateResponse *NoStateResponse `protobuf:"bytes,8,opt,name=no_state_response,json=noStateResponse,proto3,oneof" json:"no_state_response,omitempty"`
}
func (*Message_NoStateResponse) MarshalTo ¶
func (m *Message_NoStateResponse) MarshalTo(dAtA []byte) (int, error)
func (*Message_NoStateResponse) MarshalToSizedBuffer ¶
func (m *Message_NoStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Message_NoStateResponse) Size ¶
func (m *Message_NoStateResponse) Size() (n int)
type Message_StateRequest ¶
type Message_StateRequest struct {
StateRequest *StateRequest `protobuf:"bytes,6,opt,name=state_request,json=stateRequest,proto3,oneof" json:"state_request,omitempty"`
}
func (*Message_StateRequest) MarshalTo ¶
func (m *Message_StateRequest) MarshalTo(dAtA []byte) (int, error)
func (*Message_StateRequest) MarshalToSizedBuffer ¶
func (m *Message_StateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Message_StateRequest) Size ¶
func (m *Message_StateRequest) Size() (n int)
type Message_StateResponse ¶
type Message_StateResponse struct {
StateResponse *StateResponse `protobuf:"bytes,7,opt,name=state_response,json=stateResponse,proto3,oneof" json:"state_response,omitempty"`
}
func (*Message_StateResponse) MarshalTo ¶
func (m *Message_StateResponse) MarshalTo(dAtA []byte) (int, error)
func (*Message_StateResponse) MarshalToSizedBuffer ¶
func (m *Message_StateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Message_StateResponse) Size ¶
func (m *Message_StateResponse) Size() (n int)
type Message_StatusRequest ¶
type Message_StatusRequest struct {
StatusRequest *StatusRequest `protobuf:"bytes,4,opt,name=status_request,json=statusRequest,proto3,oneof" json:"status_request,omitempty"`
}
func (*Message_StatusRequest) MarshalTo ¶
func (m *Message_StatusRequest) MarshalTo(dAtA []byte) (int, error)
func (*Message_StatusRequest) MarshalToSizedBuffer ¶
func (m *Message_StatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Message_StatusRequest) Size ¶
func (m *Message_StatusRequest) Size() (n int)
type Message_StatusResponse ¶
type Message_StatusResponse struct {
StatusResponse *StatusResponse `protobuf:"bytes,5,opt,name=status_response,json=statusResponse,proto3,oneof" json:"status_response,omitempty"`
}
func (*Message_StatusResponse) MarshalTo ¶
func (m *Message_StatusResponse) MarshalTo(dAtA []byte) (int, error)
func (*Message_StatusResponse) MarshalToSizedBuffer ¶
func (m *Message_StatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Message_StatusResponse) Size ¶
func (m *Message_StatusResponse) Size() (n int)
type NoBlockResponse ¶
type NoBlockResponse struct {
Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
}
NoBlockResponse informs the node that the peer does not have block at the requested height
func (*NoBlockResponse) Descriptor ¶
func (*NoBlockResponse) Descriptor() ([]byte, []int)
func (*NoBlockResponse) GetHeight ¶
func (m *NoBlockResponse) GetHeight() int64
func (*NoBlockResponse) Marshal ¶
func (m *NoBlockResponse) Marshal() (dAtA []byte, err error)
func (*NoBlockResponse) MarshalToSizedBuffer ¶
func (m *NoBlockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*NoBlockResponse) ProtoMessage ¶
func (*NoBlockResponse) ProtoMessage()
func (*NoBlockResponse) Reset ¶
func (m *NoBlockResponse) Reset()
func (*NoBlockResponse) Size ¶
func (m *NoBlockResponse) Size() (n int)
func (*NoBlockResponse) String ¶
func (m *NoBlockResponse) String() string
func (*NoBlockResponse) Unmarshal ¶
func (m *NoBlockResponse) Unmarshal(dAtA []byte) error
func (*NoBlockResponse) XXX_DiscardUnknown ¶
func (m *NoBlockResponse) XXX_DiscardUnknown()
func (*NoBlockResponse) XXX_Marshal ¶
func (m *NoBlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NoBlockResponse) XXX_Merge ¶
func (m *NoBlockResponse) XXX_Merge(src proto.Message)
func (*NoBlockResponse) XXX_Size ¶
func (m *NoBlockResponse) XXX_Size() int
func (*NoBlockResponse) XXX_Unmarshal ¶
func (m *NoBlockResponse) XXX_Unmarshal(b []byte) error
type NoStateResponse ¶
type NoStateResponse struct {
Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
}
func (*NoStateResponse) Descriptor ¶
func (*NoStateResponse) Descriptor() ([]byte, []int)
func (*NoStateResponse) GetHeight ¶
func (m *NoStateResponse) GetHeight() int64
func (*NoStateResponse) Marshal ¶
func (m *NoStateResponse) Marshal() (dAtA []byte, err error)
func (*NoStateResponse) MarshalToSizedBuffer ¶
func (m *NoStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*NoStateResponse) ProtoMessage ¶
func (*NoStateResponse) ProtoMessage()
func (*NoStateResponse) Reset ¶
func (m *NoStateResponse) Reset()
func (*NoStateResponse) Size ¶
func (m *NoStateResponse) Size() (n int)
func (*NoStateResponse) String ¶
func (m *NoStateResponse) String() string
func (*NoStateResponse) Unmarshal ¶
func (m *NoStateResponse) Unmarshal(dAtA []byte) error
func (*NoStateResponse) XXX_DiscardUnknown ¶
func (m *NoStateResponse) XXX_DiscardUnknown()
func (*NoStateResponse) XXX_Marshal ¶
func (m *NoStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NoStateResponse) XXX_Merge ¶
func (m *NoStateResponse) XXX_Merge(src proto.Message)
func (*NoStateResponse) XXX_Size ¶
func (m *NoStateResponse) XXX_Size() int
func (*NoStateResponse) XXX_Unmarshal ¶
func (m *NoStateResponse) XXX_Unmarshal(b []byte) error
type StateRequest ¶
type StateRequest struct {
Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
}
func (*StateRequest) Descriptor ¶
func (*StateRequest) Descriptor() ([]byte, []int)
func (*StateRequest) GetHeight ¶
func (m *StateRequest) GetHeight() int64
func (*StateRequest) Marshal ¶
func (m *StateRequest) Marshal() (dAtA []byte, err error)
func (*StateRequest) MarshalToSizedBuffer ¶
func (m *StateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StateRequest) ProtoMessage ¶
func (*StateRequest) ProtoMessage()
func (*StateRequest) Reset ¶
func (m *StateRequest) Reset()
func (*StateRequest) Size ¶
func (m *StateRequest) Size() (n int)
func (*StateRequest) String ¶
func (m *StateRequest) String() string
func (*StateRequest) Unmarshal ¶
func (m *StateRequest) Unmarshal(dAtA []byte) error
func (*StateRequest) XXX_DiscardUnknown ¶
func (m *StateRequest) XXX_DiscardUnknown()
func (*StateRequest) XXX_Marshal ¶
func (m *StateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StateRequest) XXX_Merge ¶
func (m *StateRequest) XXX_Merge(src proto.Message)
func (*StateRequest) XXX_Size ¶
func (m *StateRequest) XXX_Size() int
func (*StateRequest) XXX_Unmarshal ¶
func (m *StateRequest) XXX_Unmarshal(b []byte) error
type StateResponse ¶
type StateResponse struct {
State *state.State `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
}
func (*StateResponse) Descriptor ¶
func (*StateResponse) Descriptor() ([]byte, []int)
func (*StateResponse) GetState ¶
func (m *StateResponse) GetState() *state.State
func (*StateResponse) Marshal ¶
func (m *StateResponse) Marshal() (dAtA []byte, err error)
func (*StateResponse) MarshalToSizedBuffer ¶
func (m *StateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StateResponse) ProtoMessage ¶
func (*StateResponse) ProtoMessage()
func (*StateResponse) Reset ¶
func (m *StateResponse) Reset()
func (*StateResponse) Size ¶
func (m *StateResponse) Size() (n int)
func (*StateResponse) String ¶
func (m *StateResponse) String() string
func (*StateResponse) Unmarshal ¶
func (m *StateResponse) Unmarshal(dAtA []byte) error
func (*StateResponse) XXX_DiscardUnknown ¶
func (m *StateResponse) XXX_DiscardUnknown()
func (*StateResponse) XXX_Marshal ¶
func (m *StateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StateResponse) XXX_Merge ¶
func (m *StateResponse) XXX_Merge(src proto.Message)
func (*StateResponse) XXX_Size ¶
func (m *StateResponse) XXX_Size() int
func (*StateResponse) XXX_Unmarshal ¶
func (m *StateResponse) XXX_Unmarshal(b []byte) error
type StatusRequest ¶
type StatusRequest struct { }
StatusRequest requests the status of a peer.
func (*StatusRequest) Descriptor ¶
func (*StatusRequest) Descriptor() ([]byte, []int)
func (*StatusRequest) Marshal ¶
func (m *StatusRequest) Marshal() (dAtA []byte, err error)
func (*StatusRequest) MarshalToSizedBuffer ¶
func (m *StatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StatusRequest) ProtoMessage ¶
func (*StatusRequest) ProtoMessage()
func (*StatusRequest) Reset ¶
func (m *StatusRequest) Reset()
func (*StatusRequest) Size ¶
func (m *StatusRequest) Size() (n int)
func (*StatusRequest) String ¶
func (m *StatusRequest) String() string
func (*StatusRequest) Unmarshal ¶
func (m *StatusRequest) Unmarshal(dAtA []byte) error
func (*StatusRequest) XXX_DiscardUnknown ¶
func (m *StatusRequest) XXX_DiscardUnknown()
func (*StatusRequest) XXX_Marshal ¶
func (m *StatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StatusRequest) XXX_Merge ¶
func (m *StatusRequest) XXX_Merge(src proto.Message)
func (*StatusRequest) XXX_Size ¶
func (m *StatusRequest) XXX_Size() int
func (*StatusRequest) XXX_Unmarshal ¶
func (m *StatusRequest) XXX_Unmarshal(b []byte) error
type StatusResponse ¶
type StatusResponse struct { Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` Base int64 `protobuf:"varint,2,opt,name=base,proto3" json:"base,omitempty"` }
StatusResponse is a peer response to inform their status.
func (*StatusResponse) Descriptor ¶
func (*StatusResponse) Descriptor() ([]byte, []int)
func (*StatusResponse) GetBase ¶
func (m *StatusResponse) GetBase() int64
func (*StatusResponse) GetHeight ¶
func (m *StatusResponse) GetHeight() int64
func (*StatusResponse) Marshal ¶
func (m *StatusResponse) Marshal() (dAtA []byte, err error)
func (*StatusResponse) MarshalToSizedBuffer ¶
func (m *StatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StatusResponse) ProtoMessage ¶
func (*StatusResponse) ProtoMessage()
func (*StatusResponse) Reset ¶
func (m *StatusResponse) Reset()
func (*StatusResponse) Size ¶
func (m *StatusResponse) Size() (n int)
func (*StatusResponse) String ¶
func (m *StatusResponse) String() string
func (*StatusResponse) Unmarshal ¶
func (m *StatusResponse) Unmarshal(dAtA []byte) error
func (*StatusResponse) XXX_DiscardUnknown ¶
func (m *StatusResponse) XXX_DiscardUnknown()
func (*StatusResponse) XXX_Marshal ¶
func (m *StatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StatusResponse) XXX_Merge ¶
func (m *StatusResponse) XXX_Merge(src proto.Message)
func (*StatusResponse) XXX_Size ¶
func (m *StatusResponse) XXX_Size() int
func (*StatusResponse) XXX_Unmarshal ¶
func (m *StatusResponse) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.