Documentation ¶
Index ¶
- Constants
- Variables
- func ReadMessage(r io.Reader, msg proto.Message) error
- func RegisterABCIApplicationServer(s *grpc.Server, srv ABCIApplicationServer)
- func WriteMessage(msg proto.Message, w io.Writer) error
- type ABCIApplicationClient
- type ABCIApplicationServer
- type Application
- type BaseApplication
- func (BaseApplication) BeginBlock(req RequestBeginBlock) ResponseBeginBlock
- func (BaseApplication) CheckTx(tx []byte) ResponseCheckTx
- func (BaseApplication) Commit() ResponseCommit
- func (BaseApplication) DeliverTx(tx []byte) ResponseDeliverTx
- func (BaseApplication) EndBlock(req RequestEndBlock) ResponseEndBlock
- func (BaseApplication) Info(req RequestInfo) ResponseInfo
- func (BaseApplication) InitChain(req RequestInitChain) ResponseInitChain
- func (BaseApplication) Query(req RequestQuery) ResponseQuery
- func (BaseApplication) SetOption(req RequestSetOption) ResponseSetOption
- type BlockGossip
- func (*BlockGossip) Descriptor() ([]byte, []int)
- func (this *BlockGossip) Equal(that interface{}) bool
- func (m *BlockGossip) GetBlockPartSizeBytes() int32
- func (m *BlockGossip) Marshal() (dAtA []byte, err error)
- func (m *BlockGossip) MarshalTo(dAtA []byte) (int, error)
- func (*BlockGossip) ProtoMessage()
- func (m *BlockGossip) Reset()
- func (m *BlockGossip) Size() (n int)
- func (m *BlockGossip) String() string
- func (m *BlockGossip) Unmarshal(dAtA []byte) error
- func (m *BlockGossip) XXX_DiscardUnknown()
- func (m *BlockGossip) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BlockGossip) XXX_Merge(src proto.Message)
- func (m *BlockGossip) XXX_Size() int
- func (m *BlockGossip) XXX_Unmarshal(b []byte) error
- type BlockID
- func (*BlockID) Descriptor() ([]byte, []int)
- func (this *BlockID) Equal(that interface{}) bool
- func (m *BlockID) GetHash() []byte
- func (m *BlockID) GetPartsHeader() PartSetHeader
- func (m *BlockID) Marshal() (dAtA []byte, err error)
- func (m *BlockID) MarshalTo(dAtA []byte) (int, error)
- func (*BlockID) ProtoMessage()
- func (m *BlockID) Reset()
- func (m *BlockID) Size() (n int)
- func (m *BlockID) String() string
- func (m *BlockID) Unmarshal(dAtA []byte) error
- func (m *BlockID) XXX_DiscardUnknown()
- func (m *BlockID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BlockID) XXX_Merge(src proto.Message)
- func (m *BlockID) XXX_Size() int
- func (m *BlockID) XXX_Unmarshal(b []byte) error
- type BlockSize
- func (*BlockSize) Descriptor() ([]byte, []int)
- func (this *BlockSize) Equal(that interface{}) bool
- func (m *BlockSize) GetMaxBytes() int32
- func (m *BlockSize) GetMaxGas() int64
- func (m *BlockSize) Marshal() (dAtA []byte, err error)
- func (m *BlockSize) MarshalTo(dAtA []byte) (int, error)
- func (*BlockSize) ProtoMessage()
- func (m *BlockSize) Reset()
- func (m *BlockSize) Size() (n int)
- func (m *BlockSize) String() string
- func (m *BlockSize) Unmarshal(dAtA []byte) error
- func (m *BlockSize) XXX_DiscardUnknown()
- func (m *BlockSize) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BlockSize) XXX_Merge(src proto.Message)
- func (m *BlockSize) XXX_Size() int
- func (m *BlockSize) XXX_Unmarshal(b []byte) error
- type ConsensusParams
- func (*ConsensusParams) Descriptor() ([]byte, []int)
- func (this *ConsensusParams) Equal(that interface{}) bool
- func (m *ConsensusParams) GetBlockGossip() *BlockGossip
- func (m *ConsensusParams) GetBlockSize() *BlockSize
- func (m *ConsensusParams) GetTxSize() *TxSize
- func (m *ConsensusParams) Marshal() (dAtA []byte, err error)
- func (m *ConsensusParams) MarshalTo(dAtA []byte) (int, error)
- func (*ConsensusParams) ProtoMessage()
- func (m *ConsensusParams) Reset()
- func (m *ConsensusParams) Size() (n int)
- func (m *ConsensusParams) String() string
- func (m *ConsensusParams) Unmarshal(dAtA []byte) error
- func (m *ConsensusParams) XXX_DiscardUnknown()
- func (m *ConsensusParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ConsensusParams) XXX_Merge(src proto.Message)
- func (m *ConsensusParams) XXX_Size() int
- func (m *ConsensusParams) XXX_Unmarshal(b []byte) error
- type Evidence
- func (*Evidence) Descriptor() ([]byte, []int)
- func (this *Evidence) Equal(that interface{}) bool
- func (m *Evidence) GetHeight() int64
- func (m *Evidence) GetTime() time.Time
- func (m *Evidence) GetTotalVotingPower() int64
- func (m *Evidence) GetType() string
- func (m *Evidence) GetValidator() Validator
- func (m *Evidence) Marshal() (dAtA []byte, err error)
- func (m *Evidence) MarshalTo(dAtA []byte) (int, error)
- func (*Evidence) ProtoMessage()
- func (m *Evidence) Reset()
- func (m *Evidence) Size() (n int)
- func (m *Evidence) String() string
- func (m *Evidence) Unmarshal(dAtA []byte) error
- func (m *Evidence) XXX_DiscardUnknown()
- func (m *Evidence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Evidence) XXX_Merge(src proto.Message)
- func (m *Evidence) XXX_Size() int
- func (m *Evidence) XXX_Unmarshal(b []byte) error
- type GRPCApplication
- func (app *GRPCApplication) BeginBlock(ctx context.Context, req *RequestBeginBlock) (*ResponseBeginBlock, error)
- func (app *GRPCApplication) CheckTx(ctx context.Context, req *RequestCheckTx) (*ResponseCheckTx, error)
- func (app *GRPCApplication) Commit(ctx context.Context, req *RequestCommit) (*ResponseCommit, error)
- func (app *GRPCApplication) DeliverTx(ctx context.Context, req *RequestDeliverTx) (*ResponseDeliverTx, error)
- func (app *GRPCApplication) Echo(ctx context.Context, req *RequestEcho) (*ResponseEcho, error)
- func (app *GRPCApplication) EndBlock(ctx context.Context, req *RequestEndBlock) (*ResponseEndBlock, error)
- func (app *GRPCApplication) Flush(ctx context.Context, req *RequestFlush) (*ResponseFlush, error)
- func (app *GRPCApplication) Info(ctx context.Context, req *RequestInfo) (*ResponseInfo, error)
- func (app *GRPCApplication) InitChain(ctx context.Context, req *RequestInitChain) (*ResponseInitChain, error)
- func (app *GRPCApplication) Query(ctx context.Context, req *RequestQuery) (*ResponseQuery, error)
- func (app *GRPCApplication) SetOption(ctx context.Context, req *RequestSetOption) (*ResponseSetOption, error)
- type Header
- func (*Header) Descriptor() ([]byte, []int)
- func (this *Header) Equal(that interface{}) bool
- func (m *Header) GetAppHash() []byte
- func (m *Header) GetChainID() string
- func (m *Header) GetConsensusHash() []byte
- func (m *Header) GetDataHash() []byte
- func (m *Header) GetEvidenceHash() []byte
- func (m *Header) GetHeight() int64
- func (m *Header) GetLastBlockId() BlockID
- func (m *Header) GetLastCommitHash() []byte
- func (m *Header) GetLastResultsHash() []byte
- func (m *Header) GetNextValidatorsHash() []byte
- func (m *Header) GetNumTxs() int64
- func (m *Header) GetProposerAddress() []byte
- func (m *Header) GetTime() time.Time
- func (m *Header) GetTotalTxs() int64
- func (m *Header) GetValidatorsHash() []byte
- func (m *Header) Marshal() (dAtA []byte, err error)
- func (m *Header) MarshalTo(dAtA []byte) (int, error)
- func (*Header) ProtoMessage()
- func (m *Header) Reset()
- func (m *Header) Size() (n int)
- func (m *Header) String() string
- func (m *Header) Unmarshal(dAtA []byte) error
- func (m *Header) XXX_DiscardUnknown()
- func (m *Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Header) XXX_Merge(src proto.Message)
- func (m *Header) XXX_Size() int
- func (m *Header) XXX_Unmarshal(b []byte) error
- type LastCommitInfo
- func (*LastCommitInfo) Descriptor() ([]byte, []int)
- func (this *LastCommitInfo) Equal(that interface{}) bool
- func (m *LastCommitInfo) GetRound() int32
- func (m *LastCommitInfo) GetVotes() []VoteInfo
- func (m *LastCommitInfo) Marshal() (dAtA []byte, err error)
- func (m *LastCommitInfo) MarshalTo(dAtA []byte) (int, error)
- func (*LastCommitInfo) ProtoMessage()
- func (m *LastCommitInfo) Reset()
- func (m *LastCommitInfo) Size() (n int)
- func (m *LastCommitInfo) String() string
- func (m *LastCommitInfo) Unmarshal(dAtA []byte) error
- func (m *LastCommitInfo) XXX_DiscardUnknown()
- func (m *LastCommitInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *LastCommitInfo) XXX_Merge(src proto.Message)
- func (m *LastCommitInfo) XXX_Size() int
- func (m *LastCommitInfo) XXX_Unmarshal(b []byte) error
- type PartSetHeader
- func (*PartSetHeader) Descriptor() ([]byte, []int)
- func (this *PartSetHeader) Equal(that interface{}) bool
- func (m *PartSetHeader) GetHash() []byte
- func (m *PartSetHeader) GetTotal() int32
- func (m *PartSetHeader) Marshal() (dAtA []byte, err error)
- func (m *PartSetHeader) MarshalTo(dAtA []byte) (int, error)
- func (*PartSetHeader) ProtoMessage()
- func (m *PartSetHeader) Reset()
- func (m *PartSetHeader) Size() (n int)
- func (m *PartSetHeader) String() string
- func (m *PartSetHeader) Unmarshal(dAtA []byte) error
- func (m *PartSetHeader) XXX_DiscardUnknown()
- func (m *PartSetHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PartSetHeader) XXX_Merge(src proto.Message)
- func (m *PartSetHeader) XXX_Size() int
- func (m *PartSetHeader) XXX_Unmarshal(b []byte) error
- type PubKey
- func (*PubKey) Descriptor() ([]byte, []int)
- func (this *PubKey) Equal(that interface{}) bool
- func (m *PubKey) GetData() []byte
- func (m *PubKey) GetType() string
- func (m *PubKey) Marshal() (dAtA []byte, err error)
- func (m *PubKey) MarshalTo(dAtA []byte) (int, error)
- func (*PubKey) ProtoMessage()
- func (m *PubKey) Reset()
- func (m *PubKey) Size() (n int)
- func (m *PubKey) String() string
- func (m *PubKey) Unmarshal(dAtA []byte) error
- func (m *PubKey) XXX_DiscardUnknown()
- func (m *PubKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PubKey) XXX_Merge(src proto.Message)
- func (m *PubKey) XXX_Size() int
- func (m *PubKey) XXX_Unmarshal(b []byte) error
- type Request
- func NewPopulatedRequest(r randyTypes, easy bool) *Request
- func ToRequestBeginBlock(req RequestBeginBlock) *Request
- func ToRequestCheckTx(tx []byte) *Request
- func ToRequestCommit() *Request
- func ToRequestDeliverTx(tx []byte) *Request
- func ToRequestEcho(message string) *Request
- func ToRequestEndBlock(req RequestEndBlock) *Request
- func ToRequestFlush() *Request
- func ToRequestInfo(req RequestInfo) *Request
- func ToRequestInitChain(req RequestInitChain) *Request
- func ToRequestQuery(req RequestQuery) *Request
- func ToRequestSetOption(req RequestSetOption) *Request
- func (*Request) Descriptor() ([]byte, []int)
- func (this *Request) Equal(that interface{}) bool
- func (m *Request) GetBeginBlock() *RequestBeginBlock
- func (m *Request) GetCheckTx() *RequestCheckTx
- func (m *Request) GetCommit() *RequestCommit
- func (m *Request) GetDeliverTx() *RequestDeliverTx
- func (m *Request) GetEcho() *RequestEcho
- func (m *Request) GetEndBlock() *RequestEndBlock
- func (m *Request) GetFlush() *RequestFlush
- func (m *Request) GetInfo() *RequestInfo
- func (m *Request) GetInitChain() *RequestInitChain
- func (m *Request) GetQuery() *RequestQuery
- func (m *Request) GetSetOption() *RequestSetOption
- func (m *Request) GetValue() isRequest_Value
- func (m *Request) Marshal() (dAtA []byte, err error)
- func (m *Request) MarshalTo(dAtA []byte) (int, error)
- func (*Request) ProtoMessage()
- func (m *Request) Reset()
- func (m *Request) Size() (n int)
- func (m *Request) String() string
- func (m *Request) Unmarshal(dAtA []byte) error
- func (m *Request) XXX_DiscardUnknown()
- func (m *Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Request) XXX_Merge(src proto.Message)
- func (*Request) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *Request) XXX_Size() int
- func (m *Request) XXX_Unmarshal(b []byte) error
- type RequestBeginBlock
- func (*RequestBeginBlock) Descriptor() ([]byte, []int)
- func (this *RequestBeginBlock) Equal(that interface{}) bool
- func (m *RequestBeginBlock) GetByzantineValidators() []Evidence
- func (m *RequestBeginBlock) GetHash() []byte
- func (m *RequestBeginBlock) GetHeader() Header
- func (m *RequestBeginBlock) GetLastCommitInfo() LastCommitInfo
- func (m *RequestBeginBlock) Marshal() (dAtA []byte, err error)
- func (m *RequestBeginBlock) MarshalTo(dAtA []byte) (int, error)
- func (*RequestBeginBlock) ProtoMessage()
- func (m *RequestBeginBlock) Reset()
- func (m *RequestBeginBlock) Size() (n int)
- func (m *RequestBeginBlock) String() string
- func (m *RequestBeginBlock) Unmarshal(dAtA []byte) error
- func (m *RequestBeginBlock) XXX_DiscardUnknown()
- func (m *RequestBeginBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RequestBeginBlock) XXX_Merge(src proto.Message)
- func (m *RequestBeginBlock) XXX_Size() int
- func (m *RequestBeginBlock) XXX_Unmarshal(b []byte) error
- type RequestCheckTx
- func (*RequestCheckTx) Descriptor() ([]byte, []int)
- func (this *RequestCheckTx) Equal(that interface{}) bool
- func (m *RequestCheckTx) GetTx() []byte
- func (m *RequestCheckTx) Marshal() (dAtA []byte, err error)
- func (m *RequestCheckTx) MarshalTo(dAtA []byte) (int, error)
- func (*RequestCheckTx) ProtoMessage()
- func (m *RequestCheckTx) Reset()
- func (m *RequestCheckTx) Size() (n int)
- func (m *RequestCheckTx) String() string
- func (m *RequestCheckTx) Unmarshal(dAtA []byte) error
- func (m *RequestCheckTx) XXX_DiscardUnknown()
- func (m *RequestCheckTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RequestCheckTx) XXX_Merge(src proto.Message)
- func (m *RequestCheckTx) XXX_Size() int
- func (m *RequestCheckTx) XXX_Unmarshal(b []byte) error
- type RequestCommit
- func (*RequestCommit) Descriptor() ([]byte, []int)
- func (this *RequestCommit) Equal(that interface{}) bool
- func (m *RequestCommit) Marshal() (dAtA []byte, err error)
- func (m *RequestCommit) MarshalTo(dAtA []byte) (int, error)
- func (*RequestCommit) ProtoMessage()
- func (m *RequestCommit) Reset()
- func (m *RequestCommit) Size() (n int)
- func (m *RequestCommit) String() string
- func (m *RequestCommit) Unmarshal(dAtA []byte) error
- func (m *RequestCommit) XXX_DiscardUnknown()
- func (m *RequestCommit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RequestCommit) XXX_Merge(src proto.Message)
- func (m *RequestCommit) XXX_Size() int
- func (m *RequestCommit) XXX_Unmarshal(b []byte) error
- type RequestDeliverTx
- func (*RequestDeliverTx) Descriptor() ([]byte, []int)
- func (this *RequestDeliverTx) Equal(that interface{}) bool
- func (m *RequestDeliverTx) GetTx() []byte
- func (m *RequestDeliverTx) Marshal() (dAtA []byte, err error)
- func (m *RequestDeliverTx) MarshalTo(dAtA []byte) (int, error)
- func (*RequestDeliverTx) ProtoMessage()
- func (m *RequestDeliverTx) Reset()
- func (m *RequestDeliverTx) Size() (n int)
- func (m *RequestDeliverTx) String() string
- func (m *RequestDeliverTx) Unmarshal(dAtA []byte) error
- func (m *RequestDeliverTx) XXX_DiscardUnknown()
- func (m *RequestDeliverTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RequestDeliverTx) XXX_Merge(src proto.Message)
- func (m *RequestDeliverTx) XXX_Size() int
- func (m *RequestDeliverTx) XXX_Unmarshal(b []byte) error
- type RequestEcho
- func (*RequestEcho) Descriptor() ([]byte, []int)
- func (this *RequestEcho) Equal(that interface{}) bool
- func (m *RequestEcho) GetMessage() string
- func (m *RequestEcho) Marshal() (dAtA []byte, err error)
- func (m *RequestEcho) MarshalTo(dAtA []byte) (int, error)
- func (*RequestEcho) ProtoMessage()
- func (m *RequestEcho) Reset()
- func (m *RequestEcho) Size() (n int)
- func (m *RequestEcho) String() string
- func (m *RequestEcho) Unmarshal(dAtA []byte) error
- func (m *RequestEcho) XXX_DiscardUnknown()
- func (m *RequestEcho) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RequestEcho) XXX_Merge(src proto.Message)
- func (m *RequestEcho) XXX_Size() int
- func (m *RequestEcho) XXX_Unmarshal(b []byte) error
- type RequestEndBlock
- func (*RequestEndBlock) Descriptor() ([]byte, []int)
- func (this *RequestEndBlock) Equal(that interface{}) bool
- func (m *RequestEndBlock) GetHeight() int64
- func (m *RequestEndBlock) Marshal() (dAtA []byte, err error)
- func (m *RequestEndBlock) MarshalTo(dAtA []byte) (int, error)
- func (*RequestEndBlock) ProtoMessage()
- func (m *RequestEndBlock) Reset()
- func (m *RequestEndBlock) Size() (n int)
- func (m *RequestEndBlock) String() string
- func (m *RequestEndBlock) Unmarshal(dAtA []byte) error
- func (m *RequestEndBlock) XXX_DiscardUnknown()
- func (m *RequestEndBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RequestEndBlock) XXX_Merge(src proto.Message)
- func (m *RequestEndBlock) XXX_Size() int
- func (m *RequestEndBlock) XXX_Unmarshal(b []byte) error
- type RequestFlush
- func (*RequestFlush) Descriptor() ([]byte, []int)
- func (this *RequestFlush) Equal(that interface{}) bool
- func (m *RequestFlush) Marshal() (dAtA []byte, err error)
- func (m *RequestFlush) MarshalTo(dAtA []byte) (int, error)
- func (*RequestFlush) ProtoMessage()
- func (m *RequestFlush) Reset()
- func (m *RequestFlush) Size() (n int)
- func (m *RequestFlush) String() string
- func (m *RequestFlush) Unmarshal(dAtA []byte) error
- func (m *RequestFlush) XXX_DiscardUnknown()
- func (m *RequestFlush) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RequestFlush) XXX_Merge(src proto.Message)
- func (m *RequestFlush) XXX_Size() int
- func (m *RequestFlush) XXX_Unmarshal(b []byte) error
- type RequestInfo
- func (*RequestInfo) Descriptor() ([]byte, []int)
- func (this *RequestInfo) Equal(that interface{}) bool
- func (m *RequestInfo) GetVersion() string
- func (m *RequestInfo) Marshal() (dAtA []byte, err error)
- func (m *RequestInfo) MarshalTo(dAtA []byte) (int, error)
- func (*RequestInfo) ProtoMessage()
- func (m *RequestInfo) Reset()
- func (m *RequestInfo) Size() (n int)
- func (m *RequestInfo) String() string
- func (m *RequestInfo) Unmarshal(dAtA []byte) error
- func (m *RequestInfo) XXX_DiscardUnknown()
- func (m *RequestInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RequestInfo) XXX_Merge(src proto.Message)
- func (m *RequestInfo) XXX_Size() int
- func (m *RequestInfo) XXX_Unmarshal(b []byte) error
- type RequestInitChain
- func (*RequestInitChain) Descriptor() ([]byte, []int)
- func (this *RequestInitChain) Equal(that interface{}) bool
- func (m *RequestInitChain) GetAppStateBytes() []byte
- func (m *RequestInitChain) GetChainId() string
- func (m *RequestInitChain) GetConsensusParams() *ConsensusParams
- func (m *RequestInitChain) GetTime() time.Time
- func (m *RequestInitChain) GetValidators() []ValidatorUpdate
- func (m *RequestInitChain) Marshal() (dAtA []byte, err error)
- func (m *RequestInitChain) MarshalTo(dAtA []byte) (int, error)
- func (*RequestInitChain) ProtoMessage()
- func (m *RequestInitChain) Reset()
- func (m *RequestInitChain) Size() (n int)
- func (m *RequestInitChain) String() string
- func (m *RequestInitChain) Unmarshal(dAtA []byte) error
- func (m *RequestInitChain) XXX_DiscardUnknown()
- func (m *RequestInitChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RequestInitChain) XXX_Merge(src proto.Message)
- func (m *RequestInitChain) XXX_Size() int
- func (m *RequestInitChain) XXX_Unmarshal(b []byte) error
- type RequestQuery
- func (*RequestQuery) Descriptor() ([]byte, []int)
- func (this *RequestQuery) Equal(that interface{}) bool
- func (m *RequestQuery) GetData() []byte
- func (m *RequestQuery) GetHeight() int64
- func (m *RequestQuery) GetPath() string
- func (m *RequestQuery) GetProve() bool
- func (m *RequestQuery) Marshal() (dAtA []byte, err error)
- func (m *RequestQuery) MarshalTo(dAtA []byte) (int, error)
- func (*RequestQuery) ProtoMessage()
- func (m *RequestQuery) Reset()
- func (m *RequestQuery) Size() (n int)
- func (m *RequestQuery) String() string
- func (m *RequestQuery) Unmarshal(dAtA []byte) error
- func (m *RequestQuery) XXX_DiscardUnknown()
- func (m *RequestQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RequestQuery) XXX_Merge(src proto.Message)
- func (m *RequestQuery) XXX_Size() int
- func (m *RequestQuery) XXX_Unmarshal(b []byte) error
- type RequestSetOption
- func (*RequestSetOption) Descriptor() ([]byte, []int)
- func (this *RequestSetOption) Equal(that interface{}) bool
- func (m *RequestSetOption) GetKey() string
- func (m *RequestSetOption) GetValue() string
- func (m *RequestSetOption) Marshal() (dAtA []byte, err error)
- func (m *RequestSetOption) MarshalTo(dAtA []byte) (int, error)
- func (*RequestSetOption) ProtoMessage()
- func (m *RequestSetOption) Reset()
- func (m *RequestSetOption) Size() (n int)
- func (m *RequestSetOption) String() string
- func (m *RequestSetOption) Unmarshal(dAtA []byte) error
- func (m *RequestSetOption) XXX_DiscardUnknown()
- func (m *RequestSetOption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RequestSetOption) XXX_Merge(src proto.Message)
- func (m *RequestSetOption) XXX_Size() int
- func (m *RequestSetOption) XXX_Unmarshal(b []byte) error
- type Request_BeginBlock
- type Request_CheckTx
- type Request_Commit
- type Request_DeliverTx
- type Request_Echo
- type Request_EndBlock
- type Request_Flush
- type Request_Info
- type Request_InitChain
- type Request_Query
- type Request_SetOption
- type Response
- func NewPopulatedResponse(r randyTypes, easy bool) *Response
- func ToResponseBeginBlock(res ResponseBeginBlock) *Response
- func ToResponseCheckTx(res ResponseCheckTx) *Response
- func ToResponseCommit(res ResponseCommit) *Response
- func ToResponseDeliverTx(res ResponseDeliverTx) *Response
- func ToResponseEcho(message string) *Response
- func ToResponseEndBlock(res ResponseEndBlock) *Response
- func ToResponseException(errStr string) *Response
- func ToResponseFlush() *Response
- func ToResponseInfo(res ResponseInfo) *Response
- func ToResponseInitChain(res ResponseInitChain) *Response
- func ToResponseQuery(res ResponseQuery) *Response
- func ToResponseSetOption(res ResponseSetOption) *Response
- func (*Response) Descriptor() ([]byte, []int)
- func (this *Response) Equal(that interface{}) bool
- func (m *Response) GetBeginBlock() *ResponseBeginBlock
- func (m *Response) GetCheckTx() *ResponseCheckTx
- func (m *Response) GetCommit() *ResponseCommit
- func (m *Response) GetDeliverTx() *ResponseDeliverTx
- func (m *Response) GetEcho() *ResponseEcho
- func (m *Response) GetEndBlock() *ResponseEndBlock
- func (m *Response) GetException() *ResponseException
- func (m *Response) GetFlush() *ResponseFlush
- func (m *Response) GetInfo() *ResponseInfo
- func (m *Response) GetInitChain() *ResponseInitChain
- func (m *Response) GetQuery() *ResponseQuery
- func (m *Response) GetSetOption() *ResponseSetOption
- func (m *Response) GetValue() isResponse_Value
- func (m *Response) Marshal() (dAtA []byte, err error)
- func (m *Response) MarshalTo(dAtA []byte) (int, error)
- func (*Response) ProtoMessage()
- func (m *Response) Reset()
- func (m *Response) Size() (n int)
- func (m *Response) String() string
- func (m *Response) Unmarshal(dAtA []byte) error
- func (m *Response) XXX_DiscardUnknown()
- func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Response) XXX_Merge(src proto.Message)
- func (*Response) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *Response) XXX_Size() int
- func (m *Response) XXX_Unmarshal(b []byte) error
- type ResponseBeginBlock
- func (*ResponseBeginBlock) Descriptor() ([]byte, []int)
- func (this *ResponseBeginBlock) Equal(that interface{}) bool
- func (m *ResponseBeginBlock) GetTags() []common.KVPair
- func (m *ResponseBeginBlock) Marshal() (dAtA []byte, err error)
- func (m *ResponseBeginBlock) MarshalTo(dAtA []byte) (int, error)
- func (*ResponseBeginBlock) ProtoMessage()
- func (m *ResponseBeginBlock) Reset()
- func (m *ResponseBeginBlock) Size() (n int)
- func (m *ResponseBeginBlock) String() string
- func (m *ResponseBeginBlock) Unmarshal(dAtA []byte) error
- func (m *ResponseBeginBlock) XXX_DiscardUnknown()
- func (m *ResponseBeginBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ResponseBeginBlock) XXX_Merge(src proto.Message)
- func (m *ResponseBeginBlock) XXX_Size() int
- func (m *ResponseBeginBlock) XXX_Unmarshal(b []byte) error
- type ResponseCheckTx
- func (*ResponseCheckTx) Descriptor() ([]byte, []int)
- func (this *ResponseCheckTx) Equal(that interface{}) bool
- func (m *ResponseCheckTx) GetCode() uint32
- func (m *ResponseCheckTx) GetData() []byte
- func (m *ResponseCheckTx) GetGasUsed() int64
- func (m *ResponseCheckTx) GetGasWanted() int64
- func (m *ResponseCheckTx) GetInfo() string
- func (m *ResponseCheckTx) GetLog() string
- func (m *ResponseCheckTx) GetTags() []common.KVPair
- func (r ResponseCheckTx) IsErr() bool
- func (r ResponseCheckTx) IsOK() bool
- func (m *ResponseCheckTx) Marshal() (dAtA []byte, err error)
- func (r *ResponseCheckTx) MarshalJSON() ([]byte, error)
- func (m *ResponseCheckTx) MarshalTo(dAtA []byte) (int, error)
- func (*ResponseCheckTx) ProtoMessage()
- func (m *ResponseCheckTx) Reset()
- func (m *ResponseCheckTx) Size() (n int)
- func (m *ResponseCheckTx) String() string
- func (m *ResponseCheckTx) Unmarshal(dAtA []byte) error
- func (r *ResponseCheckTx) UnmarshalJSON(b []byte) error
- func (m *ResponseCheckTx) XXX_DiscardUnknown()
- func (m *ResponseCheckTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ResponseCheckTx) XXX_Merge(src proto.Message)
- func (m *ResponseCheckTx) XXX_Size() int
- func (m *ResponseCheckTx) XXX_Unmarshal(b []byte) error
- type ResponseCommit
- func (*ResponseCommit) Descriptor() ([]byte, []int)
- func (this *ResponseCommit) Equal(that interface{}) bool
- func (m *ResponseCommit) GetData() []byte
- func (m *ResponseCommit) Marshal() (dAtA []byte, err error)
- func (r *ResponseCommit) MarshalJSON() ([]byte, error)
- func (m *ResponseCommit) MarshalTo(dAtA []byte) (int, error)
- func (*ResponseCommit) ProtoMessage()
- func (m *ResponseCommit) Reset()
- func (m *ResponseCommit) Size() (n int)
- func (m *ResponseCommit) String() string
- func (m *ResponseCommit) Unmarshal(dAtA []byte) error
- func (r *ResponseCommit) UnmarshalJSON(b []byte) error
- func (m *ResponseCommit) XXX_DiscardUnknown()
- func (m *ResponseCommit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ResponseCommit) XXX_Merge(src proto.Message)
- func (m *ResponseCommit) XXX_Size() int
- func (m *ResponseCommit) XXX_Unmarshal(b []byte) error
- type ResponseDeliverTx
- func (*ResponseDeliverTx) Descriptor() ([]byte, []int)
- func (this *ResponseDeliverTx) Equal(that interface{}) bool
- func (m *ResponseDeliverTx) GetCode() uint32
- func (m *ResponseDeliverTx) GetData() []byte
- func (m *ResponseDeliverTx) GetGasUsed() int64
- func (m *ResponseDeliverTx) GetGasWanted() int64
- func (m *ResponseDeliverTx) GetInfo() string
- func (m *ResponseDeliverTx) GetLog() string
- func (m *ResponseDeliverTx) GetTags() []common.KVPair
- func (r ResponseDeliverTx) IsErr() bool
- func (r ResponseDeliverTx) IsOK() bool
- func (m *ResponseDeliverTx) Marshal() (dAtA []byte, err error)
- func (r *ResponseDeliverTx) MarshalJSON() ([]byte, error)
- func (m *ResponseDeliverTx) MarshalTo(dAtA []byte) (int, error)
- func (*ResponseDeliverTx) ProtoMessage()
- func (m *ResponseDeliverTx) Reset()
- func (m *ResponseDeliverTx) Size() (n int)
- func (m *ResponseDeliverTx) String() string
- func (m *ResponseDeliverTx) Unmarshal(dAtA []byte) error
- func (r *ResponseDeliverTx) UnmarshalJSON(b []byte) error
- func (m *ResponseDeliverTx) XXX_DiscardUnknown()
- func (m *ResponseDeliverTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ResponseDeliverTx) XXX_Merge(src proto.Message)
- func (m *ResponseDeliverTx) XXX_Size() int
- func (m *ResponseDeliverTx) XXX_Unmarshal(b []byte) error
- type ResponseEcho
- func (*ResponseEcho) Descriptor() ([]byte, []int)
- func (this *ResponseEcho) Equal(that interface{}) bool
- func (m *ResponseEcho) GetMessage() string
- func (m *ResponseEcho) Marshal() (dAtA []byte, err error)
- func (m *ResponseEcho) MarshalTo(dAtA []byte) (int, error)
- func (*ResponseEcho) ProtoMessage()
- func (m *ResponseEcho) Reset()
- func (m *ResponseEcho) Size() (n int)
- func (m *ResponseEcho) String() string
- func (m *ResponseEcho) Unmarshal(dAtA []byte) error
- func (m *ResponseEcho) XXX_DiscardUnknown()
- func (m *ResponseEcho) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ResponseEcho) XXX_Merge(src proto.Message)
- func (m *ResponseEcho) XXX_Size() int
- func (m *ResponseEcho) XXX_Unmarshal(b []byte) error
- type ResponseEndBlock
- func (*ResponseEndBlock) Descriptor() ([]byte, []int)
- func (this *ResponseEndBlock) Equal(that interface{}) bool
- func (m *ResponseEndBlock) GetConsensusParamUpdates() *ConsensusParams
- func (m *ResponseEndBlock) GetTags() []common.KVPair
- func (m *ResponseEndBlock) GetValidatorUpdates() []ValidatorUpdate
- func (m *ResponseEndBlock) Marshal() (dAtA []byte, err error)
- func (m *ResponseEndBlock) MarshalTo(dAtA []byte) (int, error)
- func (*ResponseEndBlock) ProtoMessage()
- func (m *ResponseEndBlock) Reset()
- func (m *ResponseEndBlock) Size() (n int)
- func (m *ResponseEndBlock) String() string
- func (m *ResponseEndBlock) Unmarshal(dAtA []byte) error
- func (m *ResponseEndBlock) XXX_DiscardUnknown()
- func (m *ResponseEndBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ResponseEndBlock) XXX_Merge(src proto.Message)
- func (m *ResponseEndBlock) XXX_Size() int
- func (m *ResponseEndBlock) XXX_Unmarshal(b []byte) error
- type ResponseException
- func (*ResponseException) Descriptor() ([]byte, []int)
- func (this *ResponseException) Equal(that interface{}) bool
- func (m *ResponseException) GetError() string
- func (m *ResponseException) Marshal() (dAtA []byte, err error)
- func (m *ResponseException) MarshalTo(dAtA []byte) (int, error)
- func (*ResponseException) ProtoMessage()
- func (m *ResponseException) Reset()
- func (m *ResponseException) Size() (n int)
- func (m *ResponseException) String() string
- func (m *ResponseException) Unmarshal(dAtA []byte) error
- func (m *ResponseException) XXX_DiscardUnknown()
- func (m *ResponseException) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ResponseException) XXX_Merge(src proto.Message)
- func (m *ResponseException) XXX_Size() int
- func (m *ResponseException) XXX_Unmarshal(b []byte) error
- type ResponseFlush
- func (*ResponseFlush) Descriptor() ([]byte, []int)
- func (this *ResponseFlush) Equal(that interface{}) bool
- func (m *ResponseFlush) Marshal() (dAtA []byte, err error)
- func (m *ResponseFlush) MarshalTo(dAtA []byte) (int, error)
- func (*ResponseFlush) ProtoMessage()
- func (m *ResponseFlush) Reset()
- func (m *ResponseFlush) Size() (n int)
- func (m *ResponseFlush) String() string
- func (m *ResponseFlush) Unmarshal(dAtA []byte) error
- func (m *ResponseFlush) XXX_DiscardUnknown()
- func (m *ResponseFlush) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ResponseFlush) XXX_Merge(src proto.Message)
- func (m *ResponseFlush) XXX_Size() int
- func (m *ResponseFlush) XXX_Unmarshal(b []byte) error
- type ResponseInfo
- func (*ResponseInfo) Descriptor() ([]byte, []int)
- func (this *ResponseInfo) Equal(that interface{}) bool
- func (m *ResponseInfo) GetData() string
- func (m *ResponseInfo) GetLastBlockAppHash() []byte
- func (m *ResponseInfo) GetLastBlockHeight() int64
- func (m *ResponseInfo) GetVersion() string
- func (m *ResponseInfo) Marshal() (dAtA []byte, err error)
- func (m *ResponseInfo) MarshalTo(dAtA []byte) (int, error)
- func (*ResponseInfo) ProtoMessage()
- func (m *ResponseInfo) Reset()
- func (m *ResponseInfo) Size() (n int)
- func (m *ResponseInfo) String() string
- func (m *ResponseInfo) Unmarshal(dAtA []byte) error
- func (m *ResponseInfo) XXX_DiscardUnknown()
- func (m *ResponseInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ResponseInfo) XXX_Merge(src proto.Message)
- func (m *ResponseInfo) XXX_Size() int
- func (m *ResponseInfo) XXX_Unmarshal(b []byte) error
- type ResponseInitChain
- func (*ResponseInitChain) Descriptor() ([]byte, []int)
- func (this *ResponseInitChain) Equal(that interface{}) bool
- func (m *ResponseInitChain) GetConsensusParams() *ConsensusParams
- func (m *ResponseInitChain) GetValidators() []ValidatorUpdate
- func (m *ResponseInitChain) Marshal() (dAtA []byte, err error)
- func (m *ResponseInitChain) MarshalTo(dAtA []byte) (int, error)
- func (*ResponseInitChain) ProtoMessage()
- func (m *ResponseInitChain) Reset()
- func (m *ResponseInitChain) Size() (n int)
- func (m *ResponseInitChain) String() string
- func (m *ResponseInitChain) Unmarshal(dAtA []byte) error
- func (m *ResponseInitChain) XXX_DiscardUnknown()
- func (m *ResponseInitChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ResponseInitChain) XXX_Merge(src proto.Message)
- func (m *ResponseInitChain) XXX_Size() int
- func (m *ResponseInitChain) XXX_Unmarshal(b []byte) error
- type ResponseQuery
- func (*ResponseQuery) Descriptor() ([]byte, []int)
- func (this *ResponseQuery) Equal(that interface{}) bool
- func (m *ResponseQuery) GetCode() uint32
- func (m *ResponseQuery) GetHeight() int64
- func (m *ResponseQuery) GetIndex() int64
- func (m *ResponseQuery) GetInfo() string
- func (m *ResponseQuery) GetKey() []byte
- func (m *ResponseQuery) GetLog() string
- func (m *ResponseQuery) GetProof() []byte
- func (m *ResponseQuery) GetValue() []byte
- func (r ResponseQuery) IsErr() bool
- func (r ResponseQuery) IsOK() bool
- func (m *ResponseQuery) Marshal() (dAtA []byte, err error)
- func (r *ResponseQuery) MarshalJSON() ([]byte, error)
- func (m *ResponseQuery) MarshalTo(dAtA []byte) (int, error)
- func (*ResponseQuery) ProtoMessage()
- func (m *ResponseQuery) Reset()
- func (m *ResponseQuery) Size() (n int)
- func (m *ResponseQuery) String() string
- func (m *ResponseQuery) Unmarshal(dAtA []byte) error
- func (r *ResponseQuery) UnmarshalJSON(b []byte) error
- func (m *ResponseQuery) XXX_DiscardUnknown()
- func (m *ResponseQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ResponseQuery) XXX_Merge(src proto.Message)
- func (m *ResponseQuery) XXX_Size() int
- func (m *ResponseQuery) XXX_Unmarshal(b []byte) error
- type ResponseSetOption
- func (*ResponseSetOption) Descriptor() ([]byte, []int)
- func (this *ResponseSetOption) Equal(that interface{}) bool
- func (m *ResponseSetOption) GetCode() uint32
- func (m *ResponseSetOption) GetInfo() string
- func (m *ResponseSetOption) GetLog() string
- func (m *ResponseSetOption) Marshal() (dAtA []byte, err error)
- func (r *ResponseSetOption) MarshalJSON() ([]byte, error)
- func (m *ResponseSetOption) MarshalTo(dAtA []byte) (int, error)
- func (*ResponseSetOption) ProtoMessage()
- func (m *ResponseSetOption) Reset()
- func (m *ResponseSetOption) Size() (n int)
- func (m *ResponseSetOption) String() string
- func (m *ResponseSetOption) Unmarshal(dAtA []byte) error
- func (r *ResponseSetOption) UnmarshalJSON(b []byte) error
- func (m *ResponseSetOption) XXX_DiscardUnknown()
- func (m *ResponseSetOption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ResponseSetOption) XXX_Merge(src proto.Message)
- func (m *ResponseSetOption) XXX_Size() int
- func (m *ResponseSetOption) XXX_Unmarshal(b []byte) error
- type Response_BeginBlock
- type Response_CheckTx
- type Response_Commit
- type Response_DeliverTx
- type Response_Echo
- type Response_EndBlock
- type Response_Exception
- type Response_Flush
- type Response_Info
- type Response_InitChain
- type Response_Query
- type Response_SetOption
- type TxSize
- func (*TxSize) Descriptor() ([]byte, []int)
- func (this *TxSize) Equal(that interface{}) bool
- func (m *TxSize) GetMaxBytes() int32
- func (m *TxSize) GetMaxGas() int64
- func (m *TxSize) Marshal() (dAtA []byte, err error)
- func (m *TxSize) MarshalTo(dAtA []byte) (int, error)
- func (*TxSize) ProtoMessage()
- func (m *TxSize) Reset()
- func (m *TxSize) Size() (n int)
- func (m *TxSize) String() string
- func (m *TxSize) Unmarshal(dAtA []byte) error
- func (m *TxSize) XXX_DiscardUnknown()
- func (m *TxSize) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TxSize) XXX_Merge(src proto.Message)
- func (m *TxSize) XXX_Size() int
- func (m *TxSize) XXX_Unmarshal(b []byte) error
- type Validator
- func (*Validator) Descriptor() ([]byte, []int)
- func (this *Validator) Equal(that interface{}) bool
- func (m *Validator) GetAddress() []byte
- func (m *Validator) GetPower() int64
- func (m *Validator) Marshal() (dAtA []byte, err error)
- func (m *Validator) MarshalTo(dAtA []byte) (int, error)
- func (*Validator) ProtoMessage()
- func (m *Validator) Reset()
- func (m *Validator) Size() (n int)
- func (m *Validator) String() string
- func (m *Validator) Unmarshal(dAtA []byte) error
- func (m *Validator) XXX_DiscardUnknown()
- func (m *Validator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Validator) XXX_Merge(src proto.Message)
- func (m *Validator) XXX_Size() int
- func (m *Validator) XXX_Unmarshal(b []byte) error
- type ValidatorUpdate
- func (*ValidatorUpdate) Descriptor() ([]byte, []int)
- func (this *ValidatorUpdate) Equal(that interface{}) bool
- func (m *ValidatorUpdate) GetPower() int64
- func (m *ValidatorUpdate) GetPubKey() PubKey
- func (m *ValidatorUpdate) Marshal() (dAtA []byte, err error)
- func (m *ValidatorUpdate) MarshalTo(dAtA []byte) (int, error)
- func (*ValidatorUpdate) ProtoMessage()
- func (m *ValidatorUpdate) Reset()
- func (m *ValidatorUpdate) Size() (n int)
- func (m *ValidatorUpdate) String() string
- func (m *ValidatorUpdate) Unmarshal(dAtA []byte) error
- func (m *ValidatorUpdate) XXX_DiscardUnknown()
- func (m *ValidatorUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ValidatorUpdate) XXX_Merge(src proto.Message)
- func (m *ValidatorUpdate) XXX_Size() int
- func (m *ValidatorUpdate) XXX_Unmarshal(b []byte) error
- type ValidatorUpdates
- type VoteInfo
- func (*VoteInfo) Descriptor() ([]byte, []int)
- func (this *VoteInfo) Equal(that interface{}) bool
- func (m *VoteInfo) GetSignedLastBlock() bool
- func (m *VoteInfo) GetValidator() Validator
- func (m *VoteInfo) Marshal() (dAtA []byte, err error)
- func (m *VoteInfo) MarshalTo(dAtA []byte) (int, error)
- func (*VoteInfo) ProtoMessage()
- func (m *VoteInfo) Reset()
- func (m *VoteInfo) Size() (n int)
- func (m *VoteInfo) String() string
- func (m *VoteInfo) Unmarshal(dAtA []byte) error
- func (m *VoteInfo) XXX_DiscardUnknown()
- func (m *VoteInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *VoteInfo) XXX_Merge(src proto.Message)
- func (m *VoteInfo) XXX_Size() int
- func (m *VoteInfo) XXX_Unmarshal(b []byte) error
Constants ¶
const (
CodeTypeOK uint32 = 0
)
const (
PubKeyEd25519 = "ed25519"
)
Variables ¶
var ( ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") )
Functions ¶
func ReadMessage ¶
ReadMessage reads a varint length-delimited protobuf message.
func RegisterABCIApplicationServer ¶
func RegisterABCIApplicationServer(s *grpc.Server, srv ABCIApplicationServer)
Types ¶
type ABCIApplicationClient ¶
type ABCIApplicationClient interface { Echo(ctx context.Context, in *RequestEcho, opts ...grpc.CallOption) (*ResponseEcho, error) Flush(ctx context.Context, in *RequestFlush, opts ...grpc.CallOption) (*ResponseFlush, error) Info(ctx context.Context, in *RequestInfo, opts ...grpc.CallOption) (*ResponseInfo, error) SetOption(ctx context.Context, in *RequestSetOption, opts ...grpc.CallOption) (*ResponseSetOption, error) DeliverTx(ctx context.Context, in *RequestDeliverTx, opts ...grpc.CallOption) (*ResponseDeliverTx, error) CheckTx(ctx context.Context, in *RequestCheckTx, opts ...grpc.CallOption) (*ResponseCheckTx, error) Query(ctx context.Context, in *RequestQuery, opts ...grpc.CallOption) (*ResponseQuery, error) Commit(ctx context.Context, in *RequestCommit, opts ...grpc.CallOption) (*ResponseCommit, error) InitChain(ctx context.Context, in *RequestInitChain, opts ...grpc.CallOption) (*ResponseInitChain, error) BeginBlock(ctx context.Context, in *RequestBeginBlock, opts ...grpc.CallOption) (*ResponseBeginBlock, error) EndBlock(ctx context.Context, in *RequestEndBlock, opts ...grpc.CallOption) (*ResponseEndBlock, error) }
ABCIApplicationClient is the client API for ABCIApplication service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewABCIApplicationClient ¶
func NewABCIApplicationClient(cc *grpc.ClientConn) ABCIApplicationClient
type ABCIApplicationServer ¶
type ABCIApplicationServer interface { Echo(context.Context, *RequestEcho) (*ResponseEcho, error) Flush(context.Context, *RequestFlush) (*ResponseFlush, error) Info(context.Context, *RequestInfo) (*ResponseInfo, error) SetOption(context.Context, *RequestSetOption) (*ResponseSetOption, error) DeliverTx(context.Context, *RequestDeliverTx) (*ResponseDeliverTx, error) CheckTx(context.Context, *RequestCheckTx) (*ResponseCheckTx, error) Query(context.Context, *RequestQuery) (*ResponseQuery, error) Commit(context.Context, *RequestCommit) (*ResponseCommit, error) InitChain(context.Context, *RequestInitChain) (*ResponseInitChain, error) BeginBlock(context.Context, *RequestBeginBlock) (*ResponseBeginBlock, error) EndBlock(context.Context, *RequestEndBlock) (*ResponseEndBlock, error) }
type Application ¶
type Application interface { // Info/Query Connection Info(RequestInfo) ResponseInfo // Return application info SetOption(RequestSetOption) ResponseSetOption // Set application option Query(RequestQuery) ResponseQuery // Query for state // Mempool Connection CheckTx(tx []byte) ResponseCheckTx // Validate a tx for the mempool // Consensus Connection InitChain(RequestInitChain) ResponseInitChain // Initialize blockchain with validators and other info from TendermintCore BeginBlock(RequestBeginBlock) ResponseBeginBlock // Signals the beginning of a block DeliverTx(tx []byte) ResponseDeliverTx // Deliver a tx for full processing EndBlock(RequestEndBlock) ResponseEndBlock // Signals the end of a block, returns changes to the validator set Commit() ResponseCommit // Commit the state and return the application Merkle root hash }
Application is an interface that enables any finite, deterministic state machine to be driven by a blockchain-based replication engine via the ABCI. All methods take a RequestXxx argument and return a ResponseXxx argument, except CheckTx/DeliverTx, which take `tx []byte`, and `Commit`, which takes nothing.
type BaseApplication ¶
type BaseApplication struct { }
func NewBaseApplication ¶
func NewBaseApplication() *BaseApplication
func (BaseApplication) BeginBlock ¶
func (BaseApplication) BeginBlock(req RequestBeginBlock) ResponseBeginBlock
func (BaseApplication) CheckTx ¶
func (BaseApplication) CheckTx(tx []byte) ResponseCheckTx
func (BaseApplication) Commit ¶
func (BaseApplication) Commit() ResponseCommit
func (BaseApplication) DeliverTx ¶
func (BaseApplication) DeliverTx(tx []byte) ResponseDeliverTx
func (BaseApplication) EndBlock ¶
func (BaseApplication) EndBlock(req RequestEndBlock) ResponseEndBlock
func (BaseApplication) Info ¶
func (BaseApplication) Info(req RequestInfo) ResponseInfo
func (BaseApplication) InitChain ¶
func (BaseApplication) InitChain(req RequestInitChain) ResponseInitChain
func (BaseApplication) Query ¶
func (BaseApplication) Query(req RequestQuery) ResponseQuery
func (BaseApplication) SetOption ¶
func (BaseApplication) SetOption(req RequestSetOption) ResponseSetOption
type BlockGossip ¶
type BlockGossip struct { // Note: must not be 0 BlockPartSizeBytes int32 `protobuf:"varint,1,opt,name=block_part_size_bytes,json=blockPartSizeBytes,proto3" json:"block_part_size_bytes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
BlockGossip determine consensus critical elements of how blocks are gossiped
func NewPopulatedBlockGossip ¶ added in v0.22.5
func NewPopulatedBlockGossip(r randyTypes, easy bool) *BlockGossip
func (*BlockGossip) Descriptor ¶
func (*BlockGossip) Descriptor() ([]byte, []int)
func (*BlockGossip) Equal ¶ added in v0.22.5
func (this *BlockGossip) Equal(that interface{}) bool
func (*BlockGossip) GetBlockPartSizeBytes ¶
func (m *BlockGossip) GetBlockPartSizeBytes() int32
func (*BlockGossip) Marshal ¶ added in v0.22.5
func (m *BlockGossip) Marshal() (dAtA []byte, err error)
func (*BlockGossip) MarshalTo ¶ added in v0.22.5
func (m *BlockGossip) MarshalTo(dAtA []byte) (int, error)
func (*BlockGossip) ProtoMessage ¶
func (*BlockGossip) ProtoMessage()
func (*BlockGossip) Reset ¶
func (m *BlockGossip) Reset()
func (*BlockGossip) Size ¶ added in v0.22.5
func (m *BlockGossip) Size() (n int)
func (*BlockGossip) String ¶
func (m *BlockGossip) String() string
func (*BlockGossip) Unmarshal ¶ added in v0.22.5
func (m *BlockGossip) Unmarshal(dAtA []byte) error
func (*BlockGossip) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *BlockGossip) XXX_DiscardUnknown()
func (*BlockGossip) XXX_Marshal ¶ added in v0.23.0
func (m *BlockGossip) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockGossip) XXX_Merge ¶ added in v0.23.0
func (dst *BlockGossip) XXX_Merge(src proto.Message)
func (*BlockGossip) XXX_Size ¶ added in v0.23.0
func (m *BlockGossip) XXX_Size() int
func (*BlockGossip) XXX_Unmarshal ¶ added in v0.23.0
func (m *BlockGossip) XXX_Unmarshal(b []byte) error
type BlockID ¶ added in v0.24.0
type BlockID struct { Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` PartsHeader PartSetHeader `protobuf:"bytes,2,opt,name=parts_header,json=partsHeader" json:"parts_header"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedBlockID ¶ added in v0.24.0
func (*BlockID) Descriptor ¶ added in v0.24.0
func (*BlockID) GetPartsHeader ¶ added in v0.24.0
func (m *BlockID) GetPartsHeader() PartSetHeader
func (*BlockID) ProtoMessage ¶ added in v0.24.0
func (*BlockID) ProtoMessage()
func (*BlockID) XXX_DiscardUnknown ¶ added in v0.24.0
func (m *BlockID) XXX_DiscardUnknown()
func (*BlockID) XXX_Marshal ¶ added in v0.24.0
func (*BlockID) XXX_Unmarshal ¶ added in v0.24.0
type BlockSize ¶
type BlockSize struct { MaxBytes int32 `protobuf:"varint,1,opt,name=max_bytes,json=maxBytes,proto3" json:"max_bytes,omitempty"` MaxGas int64 `protobuf:"varint,2,opt,name=max_gas,json=maxGas,proto3" json:"max_gas,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
BlockSize contains limits on the block size.
func NewPopulatedBlockSize ¶ added in v0.22.5
func (*BlockSize) Descriptor ¶
func (*BlockSize) GetMaxBytes ¶
func (*BlockSize) ProtoMessage ¶
func (*BlockSize) ProtoMessage()
func (*BlockSize) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *BlockSize) XXX_DiscardUnknown()
func (*BlockSize) XXX_Marshal ¶ added in v0.23.0
func (*BlockSize) XXX_Unmarshal ¶ added in v0.23.0
type ConsensusParams ¶
type ConsensusParams struct { BlockSize *BlockSize `protobuf:"bytes,1,opt,name=block_size,json=blockSize" json:"block_size,omitempty"` TxSize *TxSize `protobuf:"bytes,2,opt,name=tx_size,json=txSize" json:"tx_size,omitempty"` BlockGossip *BlockGossip `protobuf:"bytes,3,opt,name=block_gossip,json=blockGossip" json:"block_gossip,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ConsensusParams contains all consensus-relevant parameters that can be adjusted by the abci app
func NewPopulatedConsensusParams ¶ added in v0.22.5
func NewPopulatedConsensusParams(r randyTypes, easy bool) *ConsensusParams
func (*ConsensusParams) Descriptor ¶
func (*ConsensusParams) Descriptor() ([]byte, []int)
func (*ConsensusParams) Equal ¶ added in v0.22.5
func (this *ConsensusParams) Equal(that interface{}) bool
func (*ConsensusParams) GetBlockGossip ¶
func (m *ConsensusParams) GetBlockGossip() *BlockGossip
func (*ConsensusParams) GetBlockSize ¶
func (m *ConsensusParams) GetBlockSize() *BlockSize
func (*ConsensusParams) GetTxSize ¶
func (m *ConsensusParams) GetTxSize() *TxSize
func (*ConsensusParams) Marshal ¶ added in v0.22.5
func (m *ConsensusParams) Marshal() (dAtA []byte, err error)
func (*ConsensusParams) MarshalTo ¶ added in v0.22.5
func (m *ConsensusParams) MarshalTo(dAtA []byte) (int, error)
func (*ConsensusParams) ProtoMessage ¶
func (*ConsensusParams) ProtoMessage()
func (*ConsensusParams) Reset ¶
func (m *ConsensusParams) Reset()
func (*ConsensusParams) Size ¶ added in v0.22.5
func (m *ConsensusParams) Size() (n int)
func (*ConsensusParams) String ¶
func (m *ConsensusParams) String() string
func (*ConsensusParams) Unmarshal ¶ added in v0.22.5
func (m *ConsensusParams) Unmarshal(dAtA []byte) error
func (*ConsensusParams) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *ConsensusParams) XXX_DiscardUnknown()
func (*ConsensusParams) XXX_Marshal ¶ added in v0.23.0
func (m *ConsensusParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConsensusParams) XXX_Merge ¶ added in v0.23.0
func (dst *ConsensusParams) XXX_Merge(src proto.Message)
func (*ConsensusParams) XXX_Size ¶ added in v0.23.0
func (m *ConsensusParams) XXX_Size() int
func (*ConsensusParams) XXX_Unmarshal ¶ added in v0.23.0
func (m *ConsensusParams) XXX_Unmarshal(b []byte) error
type Evidence ¶
type Evidence struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Validator Validator `protobuf:"bytes,2,opt,name=validator" json:"validator"` Height int64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` Time time.Time `protobuf:"bytes,4,opt,name=time,stdtime" json:"time"` TotalVotingPower int64 `protobuf:"varint,5,opt,name=total_voting_power,json=totalVotingPower,proto3" json:"total_voting_power,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedEvidence ¶ added in v0.22.5
func (*Evidence) Descriptor ¶
func (*Evidence) GetTotalVotingPower ¶
func (*Evidence) GetValidator ¶
func (*Evidence) ProtoMessage ¶
func (*Evidence) ProtoMessage()
func (*Evidence) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *Evidence) XXX_DiscardUnknown()
func (*Evidence) XXX_Marshal ¶ added in v0.23.0
func (*Evidence) XXX_Unmarshal ¶ added in v0.23.0
type GRPCApplication ¶
type GRPCApplication struct {
// contains filtered or unexported fields
}
GRPCApplication is a GRPC wrapper for Application
func NewGRPCApplication ¶
func NewGRPCApplication(app Application) *GRPCApplication
func (*GRPCApplication) BeginBlock ¶
func (app *GRPCApplication) BeginBlock(ctx context.Context, req *RequestBeginBlock) (*ResponseBeginBlock, error)
func (*GRPCApplication) CheckTx ¶
func (app *GRPCApplication) CheckTx(ctx context.Context, req *RequestCheckTx) (*ResponseCheckTx, error)
func (*GRPCApplication) Commit ¶
func (app *GRPCApplication) Commit(ctx context.Context, req *RequestCommit) (*ResponseCommit, error)
func (*GRPCApplication) DeliverTx ¶
func (app *GRPCApplication) DeliverTx(ctx context.Context, req *RequestDeliverTx) (*ResponseDeliverTx, error)
func (*GRPCApplication) Echo ¶
func (app *GRPCApplication) Echo(ctx context.Context, req *RequestEcho) (*ResponseEcho, error)
func (*GRPCApplication) EndBlock ¶
func (app *GRPCApplication) EndBlock(ctx context.Context, req *RequestEndBlock) (*ResponseEndBlock, error)
func (*GRPCApplication) Flush ¶
func (app *GRPCApplication) Flush(ctx context.Context, req *RequestFlush) (*ResponseFlush, error)
func (*GRPCApplication) Info ¶
func (app *GRPCApplication) Info(ctx context.Context, req *RequestInfo) (*ResponseInfo, error)
func (*GRPCApplication) InitChain ¶
func (app *GRPCApplication) InitChain(ctx context.Context, req *RequestInitChain) (*ResponseInitChain, error)
func (*GRPCApplication) Query ¶
func (app *GRPCApplication) Query(ctx context.Context, req *RequestQuery) (*ResponseQuery, error)
func (*GRPCApplication) SetOption ¶
func (app *GRPCApplication) SetOption(ctx context.Context, req *RequestSetOption) (*ResponseSetOption, error)
type Header ¶
type Header struct { // basic block info ChainID string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` Height int64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` Time time.Time `protobuf:"bytes,3,opt,name=time,stdtime" json:"time"` NumTxs int64 `protobuf:"varint,4,opt,name=num_txs,json=numTxs,proto3" json:"num_txs,omitempty"` TotalTxs int64 `protobuf:"varint,5,opt,name=total_txs,json=totalTxs,proto3" json:"total_txs,omitempty"` // prev block info LastBlockId BlockID `protobuf:"bytes,6,opt,name=last_block_id,json=lastBlockId" json:"last_block_id"` // hashes of block data LastCommitHash []byte `protobuf:"bytes,7,opt,name=last_commit_hash,json=lastCommitHash,proto3" json:"last_commit_hash,omitempty"` DataHash []byte `protobuf:"bytes,8,opt,name=data_hash,json=dataHash,proto3" json:"data_hash,omitempty"` // hashes from the app output from the prev block ValidatorsHash []byte `protobuf:"bytes,9,opt,name=validators_hash,json=validatorsHash,proto3" json:"validators_hash,omitempty"` NextValidatorsHash []byte `protobuf:"bytes,10,opt,name=next_validators_hash,json=nextValidatorsHash,proto3" json:"next_validators_hash,omitempty"` ConsensusHash []byte `protobuf:"bytes,11,opt,name=consensus_hash,json=consensusHash,proto3" json:"consensus_hash,omitempty"` AppHash []byte `protobuf:"bytes,12,opt,name=app_hash,json=appHash,proto3" json:"app_hash,omitempty"` LastResultsHash []byte `protobuf:"bytes,13,opt,name=last_results_hash,json=lastResultsHash,proto3" json:"last_results_hash,omitempty"` // consensus info EvidenceHash []byte `protobuf:"bytes,14,opt,name=evidence_hash,json=evidenceHash,proto3" json:"evidence_hash,omitempty"` ProposerAddress []byte `protobuf:"bytes,15,opt,name=proposer_address,json=proposerAddress,proto3" json:"proposer_address,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedHeader ¶ added in v0.22.5
func (*Header) Descriptor ¶
func (*Header) GetAppHash ¶
func (*Header) GetChainID ¶
func (*Header) GetConsensusHash ¶ added in v0.24.0
func (*Header) GetDataHash ¶ added in v0.24.0
func (*Header) GetEvidenceHash ¶ added in v0.24.0
func (*Header) GetLastBlockId ¶ added in v0.24.0
func (*Header) GetLastCommitHash ¶ added in v0.24.0
func (*Header) GetLastResultsHash ¶ added in v0.24.0
func (*Header) GetNextValidatorsHash ¶ added in v0.24.0
func (*Header) GetProposerAddress ¶ added in v0.24.0
func (*Header) GetTotalTxs ¶
func (*Header) GetValidatorsHash ¶
func (*Header) ProtoMessage ¶
func (*Header) ProtoMessage()
func (*Header) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *Header) XXX_DiscardUnknown()
func (*Header) XXX_Marshal ¶ added in v0.23.0
func (*Header) XXX_Unmarshal ¶ added in v0.23.0
type LastCommitInfo ¶ added in v0.23.0
type LastCommitInfo struct { Round int32 `protobuf:"varint,1,opt,name=round,proto3" json:"round,omitempty"` Votes []VoteInfo `protobuf:"bytes,2,rep,name=votes" json:"votes"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedLastCommitInfo ¶ added in v0.23.0
func NewPopulatedLastCommitInfo(r randyTypes, easy bool) *LastCommitInfo
func (*LastCommitInfo) Descriptor ¶ added in v0.23.0
func (*LastCommitInfo) Descriptor() ([]byte, []int)
func (*LastCommitInfo) Equal ¶ added in v0.23.0
func (this *LastCommitInfo) Equal(that interface{}) bool
func (*LastCommitInfo) GetRound ¶ added in v0.24.0
func (m *LastCommitInfo) GetRound() int32
func (*LastCommitInfo) GetVotes ¶ added in v0.24.0
func (m *LastCommitInfo) GetVotes() []VoteInfo
func (*LastCommitInfo) Marshal ¶ added in v0.23.0
func (m *LastCommitInfo) Marshal() (dAtA []byte, err error)
func (*LastCommitInfo) MarshalTo ¶ added in v0.23.0
func (m *LastCommitInfo) MarshalTo(dAtA []byte) (int, error)
func (*LastCommitInfo) ProtoMessage ¶ added in v0.23.0
func (*LastCommitInfo) ProtoMessage()
func (*LastCommitInfo) Reset ¶ added in v0.23.0
func (m *LastCommitInfo) Reset()
func (*LastCommitInfo) Size ¶ added in v0.23.0
func (m *LastCommitInfo) Size() (n int)
func (*LastCommitInfo) String ¶ added in v0.23.0
func (m *LastCommitInfo) String() string
func (*LastCommitInfo) Unmarshal ¶ added in v0.23.0
func (m *LastCommitInfo) Unmarshal(dAtA []byte) error
func (*LastCommitInfo) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *LastCommitInfo) XXX_DiscardUnknown()
func (*LastCommitInfo) XXX_Marshal ¶ added in v0.23.0
func (m *LastCommitInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LastCommitInfo) XXX_Merge ¶ added in v0.23.0
func (dst *LastCommitInfo) XXX_Merge(src proto.Message)
func (*LastCommitInfo) XXX_Size ¶ added in v0.23.0
func (m *LastCommitInfo) XXX_Size() int
func (*LastCommitInfo) XXX_Unmarshal ¶ added in v0.23.0
func (m *LastCommitInfo) XXX_Unmarshal(b []byte) error
type PartSetHeader ¶ added in v0.24.0
type PartSetHeader struct { Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` Hash []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedPartSetHeader ¶ added in v0.24.0
func NewPopulatedPartSetHeader(r randyTypes, easy bool) *PartSetHeader
func (*PartSetHeader) Descriptor ¶ added in v0.24.0
func (*PartSetHeader) Descriptor() ([]byte, []int)
func (*PartSetHeader) Equal ¶ added in v0.24.0
func (this *PartSetHeader) Equal(that interface{}) bool
func (*PartSetHeader) GetHash ¶ added in v0.24.0
func (m *PartSetHeader) GetHash() []byte
func (*PartSetHeader) GetTotal ¶ added in v0.24.0
func (m *PartSetHeader) GetTotal() int32
func (*PartSetHeader) Marshal ¶ added in v0.24.0
func (m *PartSetHeader) Marshal() (dAtA []byte, err error)
func (*PartSetHeader) MarshalTo ¶ added in v0.24.0
func (m *PartSetHeader) MarshalTo(dAtA []byte) (int, error)
func (*PartSetHeader) ProtoMessage ¶ added in v0.24.0
func (*PartSetHeader) ProtoMessage()
func (*PartSetHeader) Reset ¶ added in v0.24.0
func (m *PartSetHeader) Reset()
func (*PartSetHeader) Size ¶ added in v0.24.0
func (m *PartSetHeader) Size() (n int)
func (*PartSetHeader) String ¶ added in v0.24.0
func (m *PartSetHeader) String() string
func (*PartSetHeader) Unmarshal ¶ added in v0.24.0
func (m *PartSetHeader) Unmarshal(dAtA []byte) error
func (*PartSetHeader) XXX_DiscardUnknown ¶ added in v0.24.0
func (m *PartSetHeader) XXX_DiscardUnknown()
func (*PartSetHeader) XXX_Marshal ¶ added in v0.24.0
func (m *PartSetHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PartSetHeader) XXX_Merge ¶ added in v0.24.0
func (dst *PartSetHeader) XXX_Merge(src proto.Message)
func (*PartSetHeader) XXX_Size ¶ added in v0.24.0
func (m *PartSetHeader) XXX_Size() int
func (*PartSetHeader) XXX_Unmarshal ¶ added in v0.24.0
func (m *PartSetHeader) XXX_Unmarshal(b []byte) error
type PubKey ¶
type PubKey struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedPubKey ¶ added in v0.22.5
func (*PubKey) Descriptor ¶
func (*PubKey) ProtoMessage ¶
func (*PubKey) ProtoMessage()
func (*PubKey) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *PubKey) XXX_DiscardUnknown()
func (*PubKey) XXX_Marshal ¶ added in v0.23.0
func (*PubKey) XXX_Unmarshal ¶ added in v0.23.0
type Request ¶
type Request struct { // Types that are valid to be assigned to Value: // *Request_Echo // *Request_Flush // *Request_Info // *Request_SetOption // *Request_InitChain // *Request_Query // *Request_BeginBlock // *Request_CheckTx // *Request_DeliverTx // *Request_EndBlock // *Request_Commit Value isRequest_Value `protobuf_oneof:"value"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedRequest ¶ added in v0.22.5
func ToRequestBeginBlock ¶
func ToRequestBeginBlock(req RequestBeginBlock) *Request
func ToRequestCheckTx ¶
func ToRequestCommit ¶
func ToRequestCommit() *Request
func ToRequestDeliverTx ¶
func ToRequestEcho ¶
func ToRequestEndBlock ¶
func ToRequestEndBlock(req RequestEndBlock) *Request
func ToRequestFlush ¶
func ToRequestFlush() *Request
func ToRequestInfo ¶
func ToRequestInfo(req RequestInfo) *Request
func ToRequestInitChain ¶
func ToRequestInitChain(req RequestInitChain) *Request
func ToRequestQuery ¶
func ToRequestQuery(req RequestQuery) *Request
func ToRequestSetOption ¶
func ToRequestSetOption(req RequestSetOption) *Request
func (*Request) Descriptor ¶
func (*Request) GetBeginBlock ¶
func (m *Request) GetBeginBlock() *RequestBeginBlock
func (*Request) GetCheckTx ¶
func (m *Request) GetCheckTx() *RequestCheckTx
func (*Request) GetCommit ¶
func (m *Request) GetCommit() *RequestCommit
func (*Request) GetDeliverTx ¶
func (m *Request) GetDeliverTx() *RequestDeliverTx
func (*Request) GetEcho ¶
func (m *Request) GetEcho() *RequestEcho
func (*Request) GetEndBlock ¶
func (m *Request) GetEndBlock() *RequestEndBlock
func (*Request) GetFlush ¶
func (m *Request) GetFlush() *RequestFlush
func (*Request) GetInfo ¶
func (m *Request) GetInfo() *RequestInfo
func (*Request) GetInitChain ¶
func (m *Request) GetInitChain() *RequestInitChain
func (*Request) GetQuery ¶
func (m *Request) GetQuery() *RequestQuery
func (*Request) GetSetOption ¶
func (m *Request) GetSetOption() *RequestSetOption
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *Request) XXX_DiscardUnknown()
func (*Request) XXX_Marshal ¶ added in v0.23.0
func (*Request) XXX_OneofFuncs ¶
func (*Request) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*Request) XXX_Unmarshal ¶ added in v0.23.0
type RequestBeginBlock ¶
type RequestBeginBlock struct { Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` Header Header `protobuf:"bytes,2,opt,name=header" json:"header"` LastCommitInfo LastCommitInfo `protobuf:"bytes,3,opt,name=last_commit_info,json=lastCommitInfo" json:"last_commit_info"` ByzantineValidators []Evidence `protobuf:"bytes,4,rep,name=byzantine_validators,json=byzantineValidators" json:"byzantine_validators"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
NOTE: validators here have empty pubkeys.
func NewPopulatedRequestBeginBlock ¶ added in v0.22.5
func NewPopulatedRequestBeginBlock(r randyTypes, easy bool) *RequestBeginBlock
func (*RequestBeginBlock) Descriptor ¶
func (*RequestBeginBlock) Descriptor() ([]byte, []int)
func (*RequestBeginBlock) Equal ¶ added in v0.22.5
func (this *RequestBeginBlock) Equal(that interface{}) bool
func (*RequestBeginBlock) GetByzantineValidators ¶
func (m *RequestBeginBlock) GetByzantineValidators() []Evidence
func (*RequestBeginBlock) GetHash ¶
func (m *RequestBeginBlock) GetHash() []byte
func (*RequestBeginBlock) GetHeader ¶
func (m *RequestBeginBlock) GetHeader() Header
func (*RequestBeginBlock) GetLastCommitInfo ¶ added in v0.23.0
func (m *RequestBeginBlock) GetLastCommitInfo() LastCommitInfo
func (*RequestBeginBlock) Marshal ¶ added in v0.22.5
func (m *RequestBeginBlock) Marshal() (dAtA []byte, err error)
func (*RequestBeginBlock) MarshalTo ¶ added in v0.22.5
func (m *RequestBeginBlock) MarshalTo(dAtA []byte) (int, error)
func (*RequestBeginBlock) ProtoMessage ¶
func (*RequestBeginBlock) ProtoMessage()
func (*RequestBeginBlock) Reset ¶
func (m *RequestBeginBlock) Reset()
func (*RequestBeginBlock) Size ¶ added in v0.22.5
func (m *RequestBeginBlock) Size() (n int)
func (*RequestBeginBlock) String ¶
func (m *RequestBeginBlock) String() string
func (*RequestBeginBlock) Unmarshal ¶ added in v0.22.5
func (m *RequestBeginBlock) Unmarshal(dAtA []byte) error
func (*RequestBeginBlock) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *RequestBeginBlock) XXX_DiscardUnknown()
func (*RequestBeginBlock) XXX_Marshal ¶ added in v0.23.0
func (m *RequestBeginBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestBeginBlock) XXX_Merge ¶ added in v0.23.0
func (dst *RequestBeginBlock) XXX_Merge(src proto.Message)
func (*RequestBeginBlock) XXX_Size ¶ added in v0.23.0
func (m *RequestBeginBlock) XXX_Size() int
func (*RequestBeginBlock) XXX_Unmarshal ¶ added in v0.23.0
func (m *RequestBeginBlock) XXX_Unmarshal(b []byte) error
type RequestCheckTx ¶
type RequestCheckTx struct { Tx []byte `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedRequestCheckTx ¶ added in v0.22.5
func NewPopulatedRequestCheckTx(r randyTypes, easy bool) *RequestCheckTx
func (*RequestCheckTx) Descriptor ¶
func (*RequestCheckTx) Descriptor() ([]byte, []int)
func (*RequestCheckTx) Equal ¶ added in v0.22.5
func (this *RequestCheckTx) Equal(that interface{}) bool
func (*RequestCheckTx) GetTx ¶
func (m *RequestCheckTx) GetTx() []byte
func (*RequestCheckTx) Marshal ¶ added in v0.22.5
func (m *RequestCheckTx) Marshal() (dAtA []byte, err error)
func (*RequestCheckTx) MarshalTo ¶ added in v0.22.5
func (m *RequestCheckTx) MarshalTo(dAtA []byte) (int, error)
func (*RequestCheckTx) ProtoMessage ¶
func (*RequestCheckTx) ProtoMessage()
func (*RequestCheckTx) Reset ¶
func (m *RequestCheckTx) Reset()
func (*RequestCheckTx) Size ¶ added in v0.22.5
func (m *RequestCheckTx) Size() (n int)
func (*RequestCheckTx) String ¶
func (m *RequestCheckTx) String() string
func (*RequestCheckTx) Unmarshal ¶ added in v0.22.5
func (m *RequestCheckTx) Unmarshal(dAtA []byte) error
func (*RequestCheckTx) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *RequestCheckTx) XXX_DiscardUnknown()
func (*RequestCheckTx) XXX_Marshal ¶ added in v0.23.0
func (m *RequestCheckTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestCheckTx) XXX_Merge ¶ added in v0.23.0
func (dst *RequestCheckTx) XXX_Merge(src proto.Message)
func (*RequestCheckTx) XXX_Size ¶ added in v0.23.0
func (m *RequestCheckTx) XXX_Size() int
func (*RequestCheckTx) XXX_Unmarshal ¶ added in v0.23.0
func (m *RequestCheckTx) XXX_Unmarshal(b []byte) error
type RequestCommit ¶
type RequestCommit struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedRequestCommit ¶ added in v0.22.5
func NewPopulatedRequestCommit(r randyTypes, easy bool) *RequestCommit
func (*RequestCommit) Descriptor ¶
func (*RequestCommit) Descriptor() ([]byte, []int)
func (*RequestCommit) Equal ¶ added in v0.22.5
func (this *RequestCommit) Equal(that interface{}) bool
func (*RequestCommit) Marshal ¶ added in v0.22.5
func (m *RequestCommit) Marshal() (dAtA []byte, err error)
func (*RequestCommit) MarshalTo ¶ added in v0.22.5
func (m *RequestCommit) MarshalTo(dAtA []byte) (int, error)
func (*RequestCommit) ProtoMessage ¶
func (*RequestCommit) ProtoMessage()
func (*RequestCommit) Reset ¶
func (m *RequestCommit) Reset()
func (*RequestCommit) Size ¶ added in v0.22.5
func (m *RequestCommit) Size() (n int)
func (*RequestCommit) String ¶
func (m *RequestCommit) String() string
func (*RequestCommit) Unmarshal ¶ added in v0.22.5
func (m *RequestCommit) Unmarshal(dAtA []byte) error
func (*RequestCommit) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *RequestCommit) XXX_DiscardUnknown()
func (*RequestCommit) XXX_Marshal ¶ added in v0.23.0
func (m *RequestCommit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestCommit) XXX_Merge ¶ added in v0.23.0
func (dst *RequestCommit) XXX_Merge(src proto.Message)
func (*RequestCommit) XXX_Size ¶ added in v0.23.0
func (m *RequestCommit) XXX_Size() int
func (*RequestCommit) XXX_Unmarshal ¶ added in v0.23.0
func (m *RequestCommit) XXX_Unmarshal(b []byte) error
type RequestDeliverTx ¶
type RequestDeliverTx struct { Tx []byte `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedRequestDeliverTx ¶ added in v0.22.5
func NewPopulatedRequestDeliverTx(r randyTypes, easy bool) *RequestDeliverTx
func (*RequestDeliverTx) Descriptor ¶
func (*RequestDeliverTx) Descriptor() ([]byte, []int)
func (*RequestDeliverTx) Equal ¶ added in v0.22.5
func (this *RequestDeliverTx) Equal(that interface{}) bool
func (*RequestDeliverTx) GetTx ¶
func (m *RequestDeliverTx) GetTx() []byte
func (*RequestDeliverTx) Marshal ¶ added in v0.22.5
func (m *RequestDeliverTx) Marshal() (dAtA []byte, err error)
func (*RequestDeliverTx) MarshalTo ¶ added in v0.22.5
func (m *RequestDeliverTx) MarshalTo(dAtA []byte) (int, error)
func (*RequestDeliverTx) ProtoMessage ¶
func (*RequestDeliverTx) ProtoMessage()
func (*RequestDeliverTx) Reset ¶
func (m *RequestDeliverTx) Reset()
func (*RequestDeliverTx) Size ¶ added in v0.22.5
func (m *RequestDeliverTx) Size() (n int)
func (*RequestDeliverTx) String ¶
func (m *RequestDeliverTx) String() string
func (*RequestDeliverTx) Unmarshal ¶ added in v0.22.5
func (m *RequestDeliverTx) Unmarshal(dAtA []byte) error
func (*RequestDeliverTx) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *RequestDeliverTx) XXX_DiscardUnknown()
func (*RequestDeliverTx) XXX_Marshal ¶ added in v0.23.0
func (m *RequestDeliverTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestDeliverTx) XXX_Merge ¶ added in v0.23.0
func (dst *RequestDeliverTx) XXX_Merge(src proto.Message)
func (*RequestDeliverTx) XXX_Size ¶ added in v0.23.0
func (m *RequestDeliverTx) XXX_Size() int
func (*RequestDeliverTx) XXX_Unmarshal ¶ added in v0.23.0
func (m *RequestDeliverTx) XXX_Unmarshal(b []byte) error
type RequestEcho ¶
type RequestEcho struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedRequestEcho ¶ added in v0.22.5
func NewPopulatedRequestEcho(r randyTypes, easy bool) *RequestEcho
func (*RequestEcho) Descriptor ¶
func (*RequestEcho) Descriptor() ([]byte, []int)
func (*RequestEcho) Equal ¶ added in v0.22.5
func (this *RequestEcho) Equal(that interface{}) bool
func (*RequestEcho) GetMessage ¶
func (m *RequestEcho) GetMessage() string
func (*RequestEcho) Marshal ¶ added in v0.22.5
func (m *RequestEcho) Marshal() (dAtA []byte, err error)
func (*RequestEcho) MarshalTo ¶ added in v0.22.5
func (m *RequestEcho) MarshalTo(dAtA []byte) (int, error)
func (*RequestEcho) ProtoMessage ¶
func (*RequestEcho) ProtoMessage()
func (*RequestEcho) Reset ¶
func (m *RequestEcho) Reset()
func (*RequestEcho) Size ¶ added in v0.22.5
func (m *RequestEcho) Size() (n int)
func (*RequestEcho) String ¶
func (m *RequestEcho) String() string
func (*RequestEcho) Unmarshal ¶ added in v0.22.5
func (m *RequestEcho) Unmarshal(dAtA []byte) error
func (*RequestEcho) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *RequestEcho) XXX_DiscardUnknown()
func (*RequestEcho) XXX_Marshal ¶ added in v0.23.0
func (m *RequestEcho) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestEcho) XXX_Merge ¶ added in v0.23.0
func (dst *RequestEcho) XXX_Merge(src proto.Message)
func (*RequestEcho) XXX_Size ¶ added in v0.23.0
func (m *RequestEcho) XXX_Size() int
func (*RequestEcho) XXX_Unmarshal ¶ added in v0.23.0
func (m *RequestEcho) XXX_Unmarshal(b []byte) error
type RequestEndBlock ¶
type RequestEndBlock struct { Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedRequestEndBlock ¶ added in v0.22.5
func NewPopulatedRequestEndBlock(r randyTypes, easy bool) *RequestEndBlock
func (*RequestEndBlock) Descriptor ¶
func (*RequestEndBlock) Descriptor() ([]byte, []int)
func (*RequestEndBlock) Equal ¶ added in v0.22.5
func (this *RequestEndBlock) Equal(that interface{}) bool
func (*RequestEndBlock) GetHeight ¶
func (m *RequestEndBlock) GetHeight() int64
func (*RequestEndBlock) Marshal ¶ added in v0.22.5
func (m *RequestEndBlock) Marshal() (dAtA []byte, err error)
func (*RequestEndBlock) MarshalTo ¶ added in v0.22.5
func (m *RequestEndBlock) MarshalTo(dAtA []byte) (int, error)
func (*RequestEndBlock) ProtoMessage ¶
func (*RequestEndBlock) ProtoMessage()
func (*RequestEndBlock) Reset ¶
func (m *RequestEndBlock) Reset()
func (*RequestEndBlock) Size ¶ added in v0.22.5
func (m *RequestEndBlock) Size() (n int)
func (*RequestEndBlock) String ¶
func (m *RequestEndBlock) String() string
func (*RequestEndBlock) Unmarshal ¶ added in v0.22.5
func (m *RequestEndBlock) Unmarshal(dAtA []byte) error
func (*RequestEndBlock) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *RequestEndBlock) XXX_DiscardUnknown()
func (*RequestEndBlock) XXX_Marshal ¶ added in v0.23.0
func (m *RequestEndBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestEndBlock) XXX_Merge ¶ added in v0.23.0
func (dst *RequestEndBlock) XXX_Merge(src proto.Message)
func (*RequestEndBlock) XXX_Size ¶ added in v0.23.0
func (m *RequestEndBlock) XXX_Size() int
func (*RequestEndBlock) XXX_Unmarshal ¶ added in v0.23.0
func (m *RequestEndBlock) XXX_Unmarshal(b []byte) error
type RequestFlush ¶
type RequestFlush struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedRequestFlush ¶ added in v0.22.5
func NewPopulatedRequestFlush(r randyTypes, easy bool) *RequestFlush
func (*RequestFlush) Descriptor ¶
func (*RequestFlush) Descriptor() ([]byte, []int)
func (*RequestFlush) Equal ¶ added in v0.22.5
func (this *RequestFlush) Equal(that interface{}) bool
func (*RequestFlush) Marshal ¶ added in v0.22.5
func (m *RequestFlush) Marshal() (dAtA []byte, err error)
func (*RequestFlush) MarshalTo ¶ added in v0.22.5
func (m *RequestFlush) MarshalTo(dAtA []byte) (int, error)
func (*RequestFlush) ProtoMessage ¶
func (*RequestFlush) ProtoMessage()
func (*RequestFlush) Reset ¶
func (m *RequestFlush) Reset()
func (*RequestFlush) Size ¶ added in v0.22.5
func (m *RequestFlush) Size() (n int)
func (*RequestFlush) String ¶
func (m *RequestFlush) String() string
func (*RequestFlush) Unmarshal ¶ added in v0.22.5
func (m *RequestFlush) Unmarshal(dAtA []byte) error
func (*RequestFlush) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *RequestFlush) XXX_DiscardUnknown()
func (*RequestFlush) XXX_Marshal ¶ added in v0.23.0
func (m *RequestFlush) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestFlush) XXX_Merge ¶ added in v0.23.0
func (dst *RequestFlush) XXX_Merge(src proto.Message)
func (*RequestFlush) XXX_Size ¶ added in v0.23.0
func (m *RequestFlush) XXX_Size() int
func (*RequestFlush) XXX_Unmarshal ¶ added in v0.23.0
func (m *RequestFlush) XXX_Unmarshal(b []byte) error
type RequestInfo ¶
type RequestInfo struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedRequestInfo ¶ added in v0.22.5
func NewPopulatedRequestInfo(r randyTypes, easy bool) *RequestInfo
func (*RequestInfo) Descriptor ¶
func (*RequestInfo) Descriptor() ([]byte, []int)
func (*RequestInfo) Equal ¶ added in v0.22.5
func (this *RequestInfo) Equal(that interface{}) bool
func (*RequestInfo) GetVersion ¶
func (m *RequestInfo) GetVersion() string
func (*RequestInfo) Marshal ¶ added in v0.22.5
func (m *RequestInfo) Marshal() (dAtA []byte, err error)
func (*RequestInfo) MarshalTo ¶ added in v0.22.5
func (m *RequestInfo) MarshalTo(dAtA []byte) (int, error)
func (*RequestInfo) ProtoMessage ¶
func (*RequestInfo) ProtoMessage()
func (*RequestInfo) Reset ¶
func (m *RequestInfo) Reset()
func (*RequestInfo) Size ¶ added in v0.22.5
func (m *RequestInfo) Size() (n int)
func (*RequestInfo) String ¶
func (m *RequestInfo) String() string
func (*RequestInfo) Unmarshal ¶ added in v0.22.5
func (m *RequestInfo) Unmarshal(dAtA []byte) error
func (*RequestInfo) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *RequestInfo) XXX_DiscardUnknown()
func (*RequestInfo) XXX_Marshal ¶ added in v0.23.0
func (m *RequestInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestInfo) XXX_Merge ¶ added in v0.23.0
func (dst *RequestInfo) XXX_Merge(src proto.Message)
func (*RequestInfo) XXX_Size ¶ added in v0.23.0
func (m *RequestInfo) XXX_Size() int
func (*RequestInfo) XXX_Unmarshal ¶ added in v0.23.0
func (m *RequestInfo) XXX_Unmarshal(b []byte) error
type RequestInitChain ¶
type RequestInitChain struct { Time time.Time `protobuf:"bytes,1,opt,name=time,stdtime" json:"time"` ChainId string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` ConsensusParams *ConsensusParams `protobuf:"bytes,3,opt,name=consensus_params,json=consensusParams" json:"consensus_params,omitempty"` Validators []ValidatorUpdate `protobuf:"bytes,4,rep,name=validators" json:"validators"` AppStateBytes []byte `protobuf:"bytes,5,opt,name=app_state_bytes,json=appStateBytes,proto3" json:"app_state_bytes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedRequestInitChain ¶ added in v0.22.5
func NewPopulatedRequestInitChain(r randyTypes, easy bool) *RequestInitChain
func (*RequestInitChain) Descriptor ¶
func (*RequestInitChain) Descriptor() ([]byte, []int)
func (*RequestInitChain) Equal ¶ added in v0.22.5
func (this *RequestInitChain) Equal(that interface{}) bool
func (*RequestInitChain) GetAppStateBytes ¶
func (m *RequestInitChain) GetAppStateBytes() []byte
func (*RequestInitChain) GetChainId ¶
func (m *RequestInitChain) GetChainId() string
func (*RequestInitChain) GetConsensusParams ¶
func (m *RequestInitChain) GetConsensusParams() *ConsensusParams
func (*RequestInitChain) GetTime ¶
func (m *RequestInitChain) GetTime() time.Time
func (*RequestInitChain) GetValidators ¶
func (m *RequestInitChain) GetValidators() []ValidatorUpdate
func (*RequestInitChain) Marshal ¶ added in v0.22.5
func (m *RequestInitChain) Marshal() (dAtA []byte, err error)
func (*RequestInitChain) MarshalTo ¶ added in v0.22.5
func (m *RequestInitChain) MarshalTo(dAtA []byte) (int, error)
func (*RequestInitChain) ProtoMessage ¶
func (*RequestInitChain) ProtoMessage()
func (*RequestInitChain) Reset ¶
func (m *RequestInitChain) Reset()
func (*RequestInitChain) Size ¶ added in v0.22.5
func (m *RequestInitChain) Size() (n int)
func (*RequestInitChain) String ¶
func (m *RequestInitChain) String() string
func (*RequestInitChain) Unmarshal ¶ added in v0.22.5
func (m *RequestInitChain) Unmarshal(dAtA []byte) error
func (*RequestInitChain) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *RequestInitChain) XXX_DiscardUnknown()
func (*RequestInitChain) XXX_Marshal ¶ added in v0.23.0
func (m *RequestInitChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestInitChain) XXX_Merge ¶ added in v0.23.0
func (dst *RequestInitChain) XXX_Merge(src proto.Message)
func (*RequestInitChain) XXX_Size ¶ added in v0.23.0
func (m *RequestInitChain) XXX_Size() int
func (*RequestInitChain) XXX_Unmarshal ¶ added in v0.23.0
func (m *RequestInitChain) XXX_Unmarshal(b []byte) error
type RequestQuery ¶
type RequestQuery struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` Height int64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` Prove bool `protobuf:"varint,4,opt,name=prove,proto3" json:"prove,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedRequestQuery ¶ added in v0.22.5
func NewPopulatedRequestQuery(r randyTypes, easy bool) *RequestQuery
func (*RequestQuery) Descriptor ¶
func (*RequestQuery) Descriptor() ([]byte, []int)
func (*RequestQuery) Equal ¶ added in v0.22.5
func (this *RequestQuery) Equal(that interface{}) bool
func (*RequestQuery) GetData ¶
func (m *RequestQuery) GetData() []byte
func (*RequestQuery) GetHeight ¶
func (m *RequestQuery) GetHeight() int64
func (*RequestQuery) GetPath ¶
func (m *RequestQuery) GetPath() string
func (*RequestQuery) GetProve ¶
func (m *RequestQuery) GetProve() bool
func (*RequestQuery) Marshal ¶ added in v0.22.5
func (m *RequestQuery) Marshal() (dAtA []byte, err error)
func (*RequestQuery) MarshalTo ¶ added in v0.22.5
func (m *RequestQuery) MarshalTo(dAtA []byte) (int, error)
func (*RequestQuery) ProtoMessage ¶
func (*RequestQuery) ProtoMessage()
func (*RequestQuery) Reset ¶
func (m *RequestQuery) Reset()
func (*RequestQuery) Size ¶ added in v0.22.5
func (m *RequestQuery) Size() (n int)
func (*RequestQuery) String ¶
func (m *RequestQuery) String() string
func (*RequestQuery) Unmarshal ¶ added in v0.22.5
func (m *RequestQuery) Unmarshal(dAtA []byte) error
func (*RequestQuery) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *RequestQuery) XXX_DiscardUnknown()
func (*RequestQuery) XXX_Marshal ¶ added in v0.23.0
func (m *RequestQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestQuery) XXX_Merge ¶ added in v0.23.0
func (dst *RequestQuery) XXX_Merge(src proto.Message)
func (*RequestQuery) XXX_Size ¶ added in v0.23.0
func (m *RequestQuery) XXX_Size() int
func (*RequestQuery) XXX_Unmarshal ¶ added in v0.23.0
func (m *RequestQuery) XXX_Unmarshal(b []byte) error
type RequestSetOption ¶
type RequestSetOption struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
nondeterministic
func NewPopulatedRequestSetOption ¶ added in v0.22.5
func NewPopulatedRequestSetOption(r randyTypes, easy bool) *RequestSetOption
func (*RequestSetOption) Descriptor ¶
func (*RequestSetOption) Descriptor() ([]byte, []int)
func (*RequestSetOption) Equal ¶ added in v0.22.5
func (this *RequestSetOption) Equal(that interface{}) bool
func (*RequestSetOption) GetKey ¶
func (m *RequestSetOption) GetKey() string
func (*RequestSetOption) GetValue ¶
func (m *RequestSetOption) GetValue() string
func (*RequestSetOption) Marshal ¶ added in v0.22.5
func (m *RequestSetOption) Marshal() (dAtA []byte, err error)
func (*RequestSetOption) MarshalTo ¶ added in v0.22.5
func (m *RequestSetOption) MarshalTo(dAtA []byte) (int, error)
func (*RequestSetOption) ProtoMessage ¶
func (*RequestSetOption) ProtoMessage()
func (*RequestSetOption) Reset ¶
func (m *RequestSetOption) Reset()
func (*RequestSetOption) Size ¶ added in v0.22.5
func (m *RequestSetOption) Size() (n int)
func (*RequestSetOption) String ¶
func (m *RequestSetOption) String() string
func (*RequestSetOption) Unmarshal ¶ added in v0.22.5
func (m *RequestSetOption) Unmarshal(dAtA []byte) error
func (*RequestSetOption) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *RequestSetOption) XXX_DiscardUnknown()
func (*RequestSetOption) XXX_Marshal ¶ added in v0.23.0
func (m *RequestSetOption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestSetOption) XXX_Merge ¶ added in v0.23.0
func (dst *RequestSetOption) XXX_Merge(src proto.Message)
func (*RequestSetOption) XXX_Size ¶ added in v0.23.0
func (m *RequestSetOption) XXX_Size() int
func (*RequestSetOption) XXX_Unmarshal ¶ added in v0.23.0
func (m *RequestSetOption) XXX_Unmarshal(b []byte) error
type Request_BeginBlock ¶
type Request_BeginBlock struct {
BeginBlock *RequestBeginBlock `protobuf:"bytes,8,opt,name=begin_block,json=beginBlock,oneof"`
}
func NewPopulatedRequest_BeginBlock ¶ added in v0.22.5
func NewPopulatedRequest_BeginBlock(r randyTypes, easy bool) *Request_BeginBlock
func (*Request_BeginBlock) Equal ¶ added in v0.22.5
func (this *Request_BeginBlock) Equal(that interface{}) bool
func (*Request_BeginBlock) MarshalTo ¶ added in v0.22.5
func (m *Request_BeginBlock) MarshalTo(dAtA []byte) (int, error)
func (*Request_BeginBlock) Size ¶ added in v0.22.5
func (m *Request_BeginBlock) Size() (n int)
type Request_CheckTx ¶
type Request_CheckTx struct {
CheckTx *RequestCheckTx `protobuf:"bytes,9,opt,name=check_tx,json=checkTx,oneof"`
}
func NewPopulatedRequest_CheckTx ¶ added in v0.22.5
func NewPopulatedRequest_CheckTx(r randyTypes, easy bool) *Request_CheckTx
func (*Request_CheckTx) Equal ¶ added in v0.22.5
func (this *Request_CheckTx) Equal(that interface{}) bool
func (*Request_CheckTx) MarshalTo ¶ added in v0.22.5
func (m *Request_CheckTx) MarshalTo(dAtA []byte) (int, error)
func (*Request_CheckTx) Size ¶ added in v0.22.5
func (m *Request_CheckTx) Size() (n int)
type Request_Commit ¶
type Request_Commit struct {
Commit *RequestCommit `protobuf:"bytes,12,opt,name=commit,oneof"`
}
func NewPopulatedRequest_Commit ¶ added in v0.22.5
func NewPopulatedRequest_Commit(r randyTypes, easy bool) *Request_Commit
func (*Request_Commit) Equal ¶ added in v0.22.5
func (this *Request_Commit) Equal(that interface{}) bool
func (*Request_Commit) MarshalTo ¶ added in v0.22.5
func (m *Request_Commit) MarshalTo(dAtA []byte) (int, error)
func (*Request_Commit) Size ¶ added in v0.22.5
func (m *Request_Commit) Size() (n int)
type Request_DeliverTx ¶
type Request_DeliverTx struct {
DeliverTx *RequestDeliverTx `protobuf:"bytes,19,opt,name=deliver_tx,json=deliverTx,oneof"`
}
func NewPopulatedRequest_DeliverTx ¶ added in v0.22.5
func NewPopulatedRequest_DeliverTx(r randyTypes, easy bool) *Request_DeliverTx
func (*Request_DeliverTx) Equal ¶ added in v0.22.5
func (this *Request_DeliverTx) Equal(that interface{}) bool
func (*Request_DeliverTx) MarshalTo ¶ added in v0.22.5
func (m *Request_DeliverTx) MarshalTo(dAtA []byte) (int, error)
func (*Request_DeliverTx) Size ¶ added in v0.22.5
func (m *Request_DeliverTx) Size() (n int)
type Request_Echo ¶
type Request_Echo struct {
Echo *RequestEcho `protobuf:"bytes,2,opt,name=echo,oneof"`
}
func NewPopulatedRequest_Echo ¶ added in v0.22.5
func NewPopulatedRequest_Echo(r randyTypes, easy bool) *Request_Echo
func (*Request_Echo) Equal ¶ added in v0.22.5
func (this *Request_Echo) Equal(that interface{}) bool
func (*Request_Echo) MarshalTo ¶ added in v0.22.5
func (m *Request_Echo) MarshalTo(dAtA []byte) (int, error)
func (*Request_Echo) Size ¶ added in v0.22.5
func (m *Request_Echo) Size() (n int)
type Request_EndBlock ¶
type Request_EndBlock struct {
EndBlock *RequestEndBlock `protobuf:"bytes,11,opt,name=end_block,json=endBlock,oneof"`
}
func NewPopulatedRequest_EndBlock ¶ added in v0.22.5
func NewPopulatedRequest_EndBlock(r randyTypes, easy bool) *Request_EndBlock
func (*Request_EndBlock) Equal ¶ added in v0.22.5
func (this *Request_EndBlock) Equal(that interface{}) bool
func (*Request_EndBlock) MarshalTo ¶ added in v0.22.5
func (m *Request_EndBlock) MarshalTo(dAtA []byte) (int, error)
func (*Request_EndBlock) Size ¶ added in v0.22.5
func (m *Request_EndBlock) Size() (n int)
type Request_Flush ¶
type Request_Flush struct {
Flush *RequestFlush `protobuf:"bytes,3,opt,name=flush,oneof"`
}
func NewPopulatedRequest_Flush ¶ added in v0.22.5
func NewPopulatedRequest_Flush(r randyTypes, easy bool) *Request_Flush
func (*Request_Flush) Equal ¶ added in v0.22.5
func (this *Request_Flush) Equal(that interface{}) bool
func (*Request_Flush) MarshalTo ¶ added in v0.22.5
func (m *Request_Flush) MarshalTo(dAtA []byte) (int, error)
func (*Request_Flush) Size ¶ added in v0.22.5
func (m *Request_Flush) Size() (n int)
type Request_Info ¶
type Request_Info struct {
Info *RequestInfo `protobuf:"bytes,4,opt,name=info,oneof"`
}
func NewPopulatedRequest_Info ¶ added in v0.22.5
func NewPopulatedRequest_Info(r randyTypes, easy bool) *Request_Info
func (*Request_Info) Equal ¶ added in v0.22.5
func (this *Request_Info) Equal(that interface{}) bool
func (*Request_Info) MarshalTo ¶ added in v0.22.5
func (m *Request_Info) MarshalTo(dAtA []byte) (int, error)
func (*Request_Info) Size ¶ added in v0.22.5
func (m *Request_Info) Size() (n int)
type Request_InitChain ¶
type Request_InitChain struct {
InitChain *RequestInitChain `protobuf:"bytes,6,opt,name=init_chain,json=initChain,oneof"`
}
func NewPopulatedRequest_InitChain ¶ added in v0.22.5
func NewPopulatedRequest_InitChain(r randyTypes, easy bool) *Request_InitChain
func (*Request_InitChain) Equal ¶ added in v0.22.5
func (this *Request_InitChain) Equal(that interface{}) bool
func (*Request_InitChain) MarshalTo ¶ added in v0.22.5
func (m *Request_InitChain) MarshalTo(dAtA []byte) (int, error)
func (*Request_InitChain) Size ¶ added in v0.22.5
func (m *Request_InitChain) Size() (n int)
type Request_Query ¶
type Request_Query struct {
Query *RequestQuery `protobuf:"bytes,7,opt,name=query,oneof"`
}
func NewPopulatedRequest_Query ¶ added in v0.22.5
func NewPopulatedRequest_Query(r randyTypes, easy bool) *Request_Query
func (*Request_Query) Equal ¶ added in v0.22.5
func (this *Request_Query) Equal(that interface{}) bool
func (*Request_Query) MarshalTo ¶ added in v0.22.5
func (m *Request_Query) MarshalTo(dAtA []byte) (int, error)
func (*Request_Query) Size ¶ added in v0.22.5
func (m *Request_Query) Size() (n int)
type Request_SetOption ¶
type Request_SetOption struct {
SetOption *RequestSetOption `protobuf:"bytes,5,opt,name=set_option,json=setOption,oneof"`
}
func NewPopulatedRequest_SetOption ¶ added in v0.22.5
func NewPopulatedRequest_SetOption(r randyTypes, easy bool) *Request_SetOption
func (*Request_SetOption) Equal ¶ added in v0.22.5
func (this *Request_SetOption) Equal(that interface{}) bool
func (*Request_SetOption) MarshalTo ¶ added in v0.22.5
func (m *Request_SetOption) MarshalTo(dAtA []byte) (int, error)
func (*Request_SetOption) Size ¶ added in v0.22.5
func (m *Request_SetOption) Size() (n int)
type Response ¶
type Response struct { // Types that are valid to be assigned to Value: // *Response_Exception // *Response_Echo // *Response_Flush // *Response_Info // *Response_SetOption // *Response_InitChain // *Response_Query // *Response_BeginBlock // *Response_CheckTx // *Response_DeliverTx // *Response_EndBlock // *Response_Commit Value isResponse_Value `protobuf_oneof:"value"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedResponse ¶ added in v0.22.5
func ToResponseBeginBlock ¶
func ToResponseBeginBlock(res ResponseBeginBlock) *Response
func ToResponseCheckTx ¶
func ToResponseCheckTx(res ResponseCheckTx) *Response
func ToResponseCommit ¶
func ToResponseCommit(res ResponseCommit) *Response
func ToResponseDeliverTx ¶
func ToResponseDeliverTx(res ResponseDeliverTx) *Response
func ToResponseEcho ¶
func ToResponseEndBlock ¶
func ToResponseEndBlock(res ResponseEndBlock) *Response
func ToResponseException ¶
func ToResponseFlush ¶
func ToResponseFlush() *Response
func ToResponseInfo ¶
func ToResponseInfo(res ResponseInfo) *Response
func ToResponseInitChain ¶
func ToResponseInitChain(res ResponseInitChain) *Response
func ToResponseQuery ¶
func ToResponseQuery(res ResponseQuery) *Response
func ToResponseSetOption ¶
func ToResponseSetOption(res ResponseSetOption) *Response
func (*Response) Descriptor ¶
func (*Response) GetBeginBlock ¶
func (m *Response) GetBeginBlock() *ResponseBeginBlock
func (*Response) GetCheckTx ¶
func (m *Response) GetCheckTx() *ResponseCheckTx
func (*Response) GetCommit ¶
func (m *Response) GetCommit() *ResponseCommit
func (*Response) GetDeliverTx ¶
func (m *Response) GetDeliverTx() *ResponseDeliverTx
func (*Response) GetEcho ¶
func (m *Response) GetEcho() *ResponseEcho
func (*Response) GetEndBlock ¶
func (m *Response) GetEndBlock() *ResponseEndBlock
func (*Response) GetException ¶
func (m *Response) GetException() *ResponseException
func (*Response) GetFlush ¶
func (m *Response) GetFlush() *ResponseFlush
func (*Response) GetInfo ¶
func (m *Response) GetInfo() *ResponseInfo
func (*Response) GetInitChain ¶
func (m *Response) GetInitChain() *ResponseInitChain
func (*Response) GetQuery ¶
func (m *Response) GetQuery() *ResponseQuery
func (*Response) GetSetOption ¶
func (m *Response) GetSetOption() *ResponseSetOption
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *Response) XXX_DiscardUnknown()
func (*Response) XXX_Marshal ¶ added in v0.23.0
func (*Response) XXX_OneofFuncs ¶
func (*Response) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*Response) XXX_Unmarshal ¶ added in v0.23.0
type ResponseBeginBlock ¶
type ResponseBeginBlock struct { Tags []common.KVPair `protobuf:"bytes,1,rep,name=tags" json:"tags,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedResponseBeginBlock ¶ added in v0.22.5
func NewPopulatedResponseBeginBlock(r randyTypes, easy bool) *ResponseBeginBlock
func (*ResponseBeginBlock) Descriptor ¶
func (*ResponseBeginBlock) Descriptor() ([]byte, []int)
func (*ResponseBeginBlock) Equal ¶ added in v0.22.5
func (this *ResponseBeginBlock) Equal(that interface{}) bool
func (*ResponseBeginBlock) GetTags ¶
func (m *ResponseBeginBlock) GetTags() []common.KVPair
func (*ResponseBeginBlock) Marshal ¶ added in v0.22.5
func (m *ResponseBeginBlock) Marshal() (dAtA []byte, err error)
func (*ResponseBeginBlock) MarshalTo ¶ added in v0.22.5
func (m *ResponseBeginBlock) MarshalTo(dAtA []byte) (int, error)
func (*ResponseBeginBlock) ProtoMessage ¶
func (*ResponseBeginBlock) ProtoMessage()
func (*ResponseBeginBlock) Reset ¶
func (m *ResponseBeginBlock) Reset()
func (*ResponseBeginBlock) Size ¶ added in v0.22.5
func (m *ResponseBeginBlock) Size() (n int)
func (*ResponseBeginBlock) String ¶
func (m *ResponseBeginBlock) String() string
func (*ResponseBeginBlock) Unmarshal ¶ added in v0.22.5
func (m *ResponseBeginBlock) Unmarshal(dAtA []byte) error
func (*ResponseBeginBlock) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *ResponseBeginBlock) XXX_DiscardUnknown()
func (*ResponseBeginBlock) XXX_Marshal ¶ added in v0.23.0
func (m *ResponseBeginBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResponseBeginBlock) XXX_Merge ¶ added in v0.23.0
func (dst *ResponseBeginBlock) XXX_Merge(src proto.Message)
func (*ResponseBeginBlock) XXX_Size ¶ added in v0.23.0
func (m *ResponseBeginBlock) XXX_Size() int
func (*ResponseBeginBlock) XXX_Unmarshal ¶ added in v0.23.0
func (m *ResponseBeginBlock) XXX_Unmarshal(b []byte) error
type ResponseCheckTx ¶
type ResponseCheckTx struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` Log string `protobuf:"bytes,3,opt,name=log,proto3" json:"log,omitempty"` Info string `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty"` GasWanted int64 `protobuf:"varint,5,opt,name=gas_wanted,json=gasWanted,proto3" json:"gas_wanted,omitempty"` GasUsed int64 `protobuf:"varint,6,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"` Tags []common.KVPair `protobuf:"bytes,7,rep,name=tags" json:"tags,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedResponseCheckTx ¶ added in v0.22.5
func NewPopulatedResponseCheckTx(r randyTypes, easy bool) *ResponseCheckTx
func (*ResponseCheckTx) Descriptor ¶
func (*ResponseCheckTx) Descriptor() ([]byte, []int)
func (*ResponseCheckTx) Equal ¶ added in v0.22.5
func (this *ResponseCheckTx) Equal(that interface{}) bool
func (*ResponseCheckTx) GetCode ¶
func (m *ResponseCheckTx) GetCode() uint32
func (*ResponseCheckTx) GetData ¶
func (m *ResponseCheckTx) GetData() []byte
func (*ResponseCheckTx) GetGasUsed ¶
func (m *ResponseCheckTx) GetGasUsed() int64
func (*ResponseCheckTx) GetGasWanted ¶
func (m *ResponseCheckTx) GetGasWanted() int64
func (*ResponseCheckTx) GetInfo ¶
func (m *ResponseCheckTx) GetInfo() string
func (*ResponseCheckTx) GetLog ¶
func (m *ResponseCheckTx) GetLog() string
func (*ResponseCheckTx) GetTags ¶
func (m *ResponseCheckTx) GetTags() []common.KVPair
func (ResponseCheckTx) IsErr ¶
func (r ResponseCheckTx) IsErr() bool
IsErr returns true if Code is something other than OK.
func (*ResponseCheckTx) Marshal ¶ added in v0.22.5
func (m *ResponseCheckTx) Marshal() (dAtA []byte, err error)
func (*ResponseCheckTx) MarshalJSON ¶
func (r *ResponseCheckTx) MarshalJSON() ([]byte, error)
func (*ResponseCheckTx) MarshalTo ¶ added in v0.22.5
func (m *ResponseCheckTx) MarshalTo(dAtA []byte) (int, error)
func (*ResponseCheckTx) ProtoMessage ¶
func (*ResponseCheckTx) ProtoMessage()
func (*ResponseCheckTx) Reset ¶
func (m *ResponseCheckTx) Reset()
func (*ResponseCheckTx) Size ¶ added in v0.22.5
func (m *ResponseCheckTx) Size() (n int)
func (*ResponseCheckTx) String ¶
func (m *ResponseCheckTx) String() string
func (*ResponseCheckTx) Unmarshal ¶ added in v0.22.5
func (m *ResponseCheckTx) Unmarshal(dAtA []byte) error
func (*ResponseCheckTx) UnmarshalJSON ¶
func (r *ResponseCheckTx) UnmarshalJSON(b []byte) error
func (*ResponseCheckTx) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *ResponseCheckTx) XXX_DiscardUnknown()
func (*ResponseCheckTx) XXX_Marshal ¶ added in v0.23.0
func (m *ResponseCheckTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResponseCheckTx) XXX_Merge ¶ added in v0.23.0
func (dst *ResponseCheckTx) XXX_Merge(src proto.Message)
func (*ResponseCheckTx) XXX_Size ¶ added in v0.23.0
func (m *ResponseCheckTx) XXX_Size() int
func (*ResponseCheckTx) XXX_Unmarshal ¶ added in v0.23.0
func (m *ResponseCheckTx) XXX_Unmarshal(b []byte) error
type ResponseCommit ¶
type ResponseCommit struct { // reserve 1 Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedResponseCommit ¶ added in v0.22.5
func NewPopulatedResponseCommit(r randyTypes, easy bool) *ResponseCommit
func (*ResponseCommit) Descriptor ¶
func (*ResponseCommit) Descriptor() ([]byte, []int)
func (*ResponseCommit) Equal ¶ added in v0.22.5
func (this *ResponseCommit) Equal(that interface{}) bool
func (*ResponseCommit) GetData ¶
func (m *ResponseCommit) GetData() []byte
func (*ResponseCommit) Marshal ¶ added in v0.22.5
func (m *ResponseCommit) Marshal() (dAtA []byte, err error)
func (*ResponseCommit) MarshalJSON ¶
func (r *ResponseCommit) MarshalJSON() ([]byte, error)
func (*ResponseCommit) MarshalTo ¶ added in v0.22.5
func (m *ResponseCommit) MarshalTo(dAtA []byte) (int, error)
func (*ResponseCommit) ProtoMessage ¶
func (*ResponseCommit) ProtoMessage()
func (*ResponseCommit) Reset ¶
func (m *ResponseCommit) Reset()
func (*ResponseCommit) Size ¶ added in v0.22.5
func (m *ResponseCommit) Size() (n int)
func (*ResponseCommit) String ¶
func (m *ResponseCommit) String() string
func (*ResponseCommit) Unmarshal ¶ added in v0.22.5
func (m *ResponseCommit) Unmarshal(dAtA []byte) error
func (*ResponseCommit) UnmarshalJSON ¶
func (r *ResponseCommit) UnmarshalJSON(b []byte) error
func (*ResponseCommit) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *ResponseCommit) XXX_DiscardUnknown()
func (*ResponseCommit) XXX_Marshal ¶ added in v0.23.0
func (m *ResponseCommit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResponseCommit) XXX_Merge ¶ added in v0.23.0
func (dst *ResponseCommit) XXX_Merge(src proto.Message)
func (*ResponseCommit) XXX_Size ¶ added in v0.23.0
func (m *ResponseCommit) XXX_Size() int
func (*ResponseCommit) XXX_Unmarshal ¶ added in v0.23.0
func (m *ResponseCommit) XXX_Unmarshal(b []byte) error
type ResponseDeliverTx ¶
type ResponseDeliverTx struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` Log string `protobuf:"bytes,3,opt,name=log,proto3" json:"log,omitempty"` Info string `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty"` GasWanted int64 `protobuf:"varint,5,opt,name=gas_wanted,json=gasWanted,proto3" json:"gas_wanted,omitempty"` GasUsed int64 `protobuf:"varint,6,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"` Tags []common.KVPair `protobuf:"bytes,7,rep,name=tags" json:"tags,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedResponseDeliverTx ¶ added in v0.22.5
func NewPopulatedResponseDeliverTx(r randyTypes, easy bool) *ResponseDeliverTx
func (*ResponseDeliverTx) Descriptor ¶
func (*ResponseDeliverTx) Descriptor() ([]byte, []int)
func (*ResponseDeliverTx) Equal ¶ added in v0.22.5
func (this *ResponseDeliverTx) Equal(that interface{}) bool
func (*ResponseDeliverTx) GetCode ¶
func (m *ResponseDeliverTx) GetCode() uint32
func (*ResponseDeliverTx) GetData ¶
func (m *ResponseDeliverTx) GetData() []byte
func (*ResponseDeliverTx) GetGasUsed ¶
func (m *ResponseDeliverTx) GetGasUsed() int64
func (*ResponseDeliverTx) GetGasWanted ¶
func (m *ResponseDeliverTx) GetGasWanted() int64
func (*ResponseDeliverTx) GetInfo ¶
func (m *ResponseDeliverTx) GetInfo() string
func (*ResponseDeliverTx) GetLog ¶
func (m *ResponseDeliverTx) GetLog() string
func (*ResponseDeliverTx) GetTags ¶
func (m *ResponseDeliverTx) GetTags() []common.KVPair
func (ResponseDeliverTx) IsErr ¶
func (r ResponseDeliverTx) IsErr() bool
IsErr returns true if Code is something other than OK.
func (ResponseDeliverTx) IsOK ¶
func (r ResponseDeliverTx) IsOK() bool
IsOK returns true if Code is OK.
func (*ResponseDeliverTx) Marshal ¶ added in v0.22.5
func (m *ResponseDeliverTx) Marshal() (dAtA []byte, err error)
func (*ResponseDeliverTx) MarshalJSON ¶
func (r *ResponseDeliverTx) MarshalJSON() ([]byte, error)
func (*ResponseDeliverTx) MarshalTo ¶ added in v0.22.5
func (m *ResponseDeliverTx) MarshalTo(dAtA []byte) (int, error)
func (*ResponseDeliverTx) ProtoMessage ¶
func (*ResponseDeliverTx) ProtoMessage()
func (*ResponseDeliverTx) Reset ¶
func (m *ResponseDeliverTx) Reset()
func (*ResponseDeliverTx) Size ¶ added in v0.22.5
func (m *ResponseDeliverTx) Size() (n int)
func (*ResponseDeliverTx) String ¶
func (m *ResponseDeliverTx) String() string
func (*ResponseDeliverTx) Unmarshal ¶ added in v0.22.5
func (m *ResponseDeliverTx) Unmarshal(dAtA []byte) error
func (*ResponseDeliverTx) UnmarshalJSON ¶
func (r *ResponseDeliverTx) UnmarshalJSON(b []byte) error
func (*ResponseDeliverTx) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *ResponseDeliverTx) XXX_DiscardUnknown()
func (*ResponseDeliverTx) XXX_Marshal ¶ added in v0.23.0
func (m *ResponseDeliverTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResponseDeliverTx) XXX_Merge ¶ added in v0.23.0
func (dst *ResponseDeliverTx) XXX_Merge(src proto.Message)
func (*ResponseDeliverTx) XXX_Size ¶ added in v0.23.0
func (m *ResponseDeliverTx) XXX_Size() int
func (*ResponseDeliverTx) XXX_Unmarshal ¶ added in v0.23.0
func (m *ResponseDeliverTx) XXX_Unmarshal(b []byte) error
type ResponseEcho ¶
type ResponseEcho struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedResponseEcho ¶ added in v0.22.5
func NewPopulatedResponseEcho(r randyTypes, easy bool) *ResponseEcho
func (*ResponseEcho) Descriptor ¶
func (*ResponseEcho) Descriptor() ([]byte, []int)
func (*ResponseEcho) Equal ¶ added in v0.22.5
func (this *ResponseEcho) Equal(that interface{}) bool
func (*ResponseEcho) GetMessage ¶
func (m *ResponseEcho) GetMessage() string
func (*ResponseEcho) Marshal ¶ added in v0.22.5
func (m *ResponseEcho) Marshal() (dAtA []byte, err error)
func (*ResponseEcho) MarshalTo ¶ added in v0.22.5
func (m *ResponseEcho) MarshalTo(dAtA []byte) (int, error)
func (*ResponseEcho) ProtoMessage ¶
func (*ResponseEcho) ProtoMessage()
func (*ResponseEcho) Reset ¶
func (m *ResponseEcho) Reset()
func (*ResponseEcho) Size ¶ added in v0.22.5
func (m *ResponseEcho) Size() (n int)
func (*ResponseEcho) String ¶
func (m *ResponseEcho) String() string
func (*ResponseEcho) Unmarshal ¶ added in v0.22.5
func (m *ResponseEcho) Unmarshal(dAtA []byte) error
func (*ResponseEcho) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *ResponseEcho) XXX_DiscardUnknown()
func (*ResponseEcho) XXX_Marshal ¶ added in v0.23.0
func (m *ResponseEcho) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResponseEcho) XXX_Merge ¶ added in v0.23.0
func (dst *ResponseEcho) XXX_Merge(src proto.Message)
func (*ResponseEcho) XXX_Size ¶ added in v0.23.0
func (m *ResponseEcho) XXX_Size() int
func (*ResponseEcho) XXX_Unmarshal ¶ added in v0.23.0
func (m *ResponseEcho) XXX_Unmarshal(b []byte) error
type ResponseEndBlock ¶
type ResponseEndBlock struct { ValidatorUpdates []ValidatorUpdate `protobuf:"bytes,1,rep,name=validator_updates,json=validatorUpdates" json:"validator_updates"` ConsensusParamUpdates *ConsensusParams `protobuf:"bytes,2,opt,name=consensus_param_updates,json=consensusParamUpdates" json:"consensus_param_updates,omitempty"` Tags []common.KVPair `protobuf:"bytes,3,rep,name=tags" json:"tags,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedResponseEndBlock ¶ added in v0.22.5
func NewPopulatedResponseEndBlock(r randyTypes, easy bool) *ResponseEndBlock
func (*ResponseEndBlock) Descriptor ¶
func (*ResponseEndBlock) Descriptor() ([]byte, []int)
func (*ResponseEndBlock) Equal ¶ added in v0.22.5
func (this *ResponseEndBlock) Equal(that interface{}) bool
func (*ResponseEndBlock) GetConsensusParamUpdates ¶
func (m *ResponseEndBlock) GetConsensusParamUpdates() *ConsensusParams
func (*ResponseEndBlock) GetTags ¶
func (m *ResponseEndBlock) GetTags() []common.KVPair
func (*ResponseEndBlock) GetValidatorUpdates ¶
func (m *ResponseEndBlock) GetValidatorUpdates() []ValidatorUpdate
func (*ResponseEndBlock) Marshal ¶ added in v0.22.5
func (m *ResponseEndBlock) Marshal() (dAtA []byte, err error)
func (*ResponseEndBlock) MarshalTo ¶ added in v0.22.5
func (m *ResponseEndBlock) MarshalTo(dAtA []byte) (int, error)
func (*ResponseEndBlock) ProtoMessage ¶
func (*ResponseEndBlock) ProtoMessage()
func (*ResponseEndBlock) Reset ¶
func (m *ResponseEndBlock) Reset()
func (*ResponseEndBlock) Size ¶ added in v0.22.5
func (m *ResponseEndBlock) Size() (n int)
func (*ResponseEndBlock) String ¶
func (m *ResponseEndBlock) String() string
func (*ResponseEndBlock) Unmarshal ¶ added in v0.22.5
func (m *ResponseEndBlock) Unmarshal(dAtA []byte) error
func (*ResponseEndBlock) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *ResponseEndBlock) XXX_DiscardUnknown()
func (*ResponseEndBlock) XXX_Marshal ¶ added in v0.23.0
func (m *ResponseEndBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResponseEndBlock) XXX_Merge ¶ added in v0.23.0
func (dst *ResponseEndBlock) XXX_Merge(src proto.Message)
func (*ResponseEndBlock) XXX_Size ¶ added in v0.23.0
func (m *ResponseEndBlock) XXX_Size() int
func (*ResponseEndBlock) XXX_Unmarshal ¶ added in v0.23.0
func (m *ResponseEndBlock) XXX_Unmarshal(b []byte) error
type ResponseException ¶
type ResponseException struct { Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
nondeterministic
func NewPopulatedResponseException ¶ added in v0.22.5
func NewPopulatedResponseException(r randyTypes, easy bool) *ResponseException
func (*ResponseException) Descriptor ¶
func (*ResponseException) Descriptor() ([]byte, []int)
func (*ResponseException) Equal ¶ added in v0.22.5
func (this *ResponseException) Equal(that interface{}) bool
func (*ResponseException) GetError ¶
func (m *ResponseException) GetError() string
func (*ResponseException) Marshal ¶ added in v0.22.5
func (m *ResponseException) Marshal() (dAtA []byte, err error)
func (*ResponseException) MarshalTo ¶ added in v0.22.5
func (m *ResponseException) MarshalTo(dAtA []byte) (int, error)
func (*ResponseException) ProtoMessage ¶
func (*ResponseException) ProtoMessage()
func (*ResponseException) Reset ¶
func (m *ResponseException) Reset()
func (*ResponseException) Size ¶ added in v0.22.5
func (m *ResponseException) Size() (n int)
func (*ResponseException) String ¶
func (m *ResponseException) String() string
func (*ResponseException) Unmarshal ¶ added in v0.22.5
func (m *ResponseException) Unmarshal(dAtA []byte) error
func (*ResponseException) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *ResponseException) XXX_DiscardUnknown()
func (*ResponseException) XXX_Marshal ¶ added in v0.23.0
func (m *ResponseException) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResponseException) XXX_Merge ¶ added in v0.23.0
func (dst *ResponseException) XXX_Merge(src proto.Message)
func (*ResponseException) XXX_Size ¶ added in v0.23.0
func (m *ResponseException) XXX_Size() int
func (*ResponseException) XXX_Unmarshal ¶ added in v0.23.0
func (m *ResponseException) XXX_Unmarshal(b []byte) error
type ResponseFlush ¶
type ResponseFlush struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedResponseFlush ¶ added in v0.22.5
func NewPopulatedResponseFlush(r randyTypes, easy bool) *ResponseFlush
func (*ResponseFlush) Descriptor ¶
func (*ResponseFlush) Descriptor() ([]byte, []int)
func (*ResponseFlush) Equal ¶ added in v0.22.5
func (this *ResponseFlush) Equal(that interface{}) bool
func (*ResponseFlush) Marshal ¶ added in v0.22.5
func (m *ResponseFlush) Marshal() (dAtA []byte, err error)
func (*ResponseFlush) MarshalTo ¶ added in v0.22.5
func (m *ResponseFlush) MarshalTo(dAtA []byte) (int, error)
func (*ResponseFlush) ProtoMessage ¶
func (*ResponseFlush) ProtoMessage()
func (*ResponseFlush) Reset ¶
func (m *ResponseFlush) Reset()
func (*ResponseFlush) Size ¶ added in v0.22.5
func (m *ResponseFlush) Size() (n int)
func (*ResponseFlush) String ¶
func (m *ResponseFlush) String() string
func (*ResponseFlush) Unmarshal ¶ added in v0.22.5
func (m *ResponseFlush) Unmarshal(dAtA []byte) error
func (*ResponseFlush) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *ResponseFlush) XXX_DiscardUnknown()
func (*ResponseFlush) XXX_Marshal ¶ added in v0.23.0
func (m *ResponseFlush) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResponseFlush) XXX_Merge ¶ added in v0.23.0
func (dst *ResponseFlush) XXX_Merge(src proto.Message)
func (*ResponseFlush) XXX_Size ¶ added in v0.23.0
func (m *ResponseFlush) XXX_Size() int
func (*ResponseFlush) XXX_Unmarshal ¶ added in v0.23.0
func (m *ResponseFlush) XXX_Unmarshal(b []byte) error
type ResponseInfo ¶
type ResponseInfo struct { Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` LastBlockHeight int64 `protobuf:"varint,3,opt,name=last_block_height,json=lastBlockHeight,proto3" json:"last_block_height,omitempty"` LastBlockAppHash []byte `protobuf:"bytes,4,opt,name=last_block_app_hash,json=lastBlockAppHash,proto3" json:"last_block_app_hash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedResponseInfo ¶ added in v0.22.5
func NewPopulatedResponseInfo(r randyTypes, easy bool) *ResponseInfo
func (*ResponseInfo) Descriptor ¶
func (*ResponseInfo) Descriptor() ([]byte, []int)
func (*ResponseInfo) Equal ¶ added in v0.22.5
func (this *ResponseInfo) Equal(that interface{}) bool
func (*ResponseInfo) GetData ¶
func (m *ResponseInfo) GetData() string
func (*ResponseInfo) GetLastBlockAppHash ¶
func (m *ResponseInfo) GetLastBlockAppHash() []byte
func (*ResponseInfo) GetLastBlockHeight ¶
func (m *ResponseInfo) GetLastBlockHeight() int64
func (*ResponseInfo) GetVersion ¶
func (m *ResponseInfo) GetVersion() string
func (*ResponseInfo) Marshal ¶ added in v0.22.5
func (m *ResponseInfo) Marshal() (dAtA []byte, err error)
func (*ResponseInfo) MarshalTo ¶ added in v0.22.5
func (m *ResponseInfo) MarshalTo(dAtA []byte) (int, error)
func (*ResponseInfo) ProtoMessage ¶
func (*ResponseInfo) ProtoMessage()
func (*ResponseInfo) Reset ¶
func (m *ResponseInfo) Reset()
func (*ResponseInfo) Size ¶ added in v0.22.5
func (m *ResponseInfo) Size() (n int)
func (*ResponseInfo) String ¶
func (m *ResponseInfo) String() string
func (*ResponseInfo) Unmarshal ¶ added in v0.22.5
func (m *ResponseInfo) Unmarshal(dAtA []byte) error
func (*ResponseInfo) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *ResponseInfo) XXX_DiscardUnknown()
func (*ResponseInfo) XXX_Marshal ¶ added in v0.23.0
func (m *ResponseInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResponseInfo) XXX_Merge ¶ added in v0.23.0
func (dst *ResponseInfo) XXX_Merge(src proto.Message)
func (*ResponseInfo) XXX_Size ¶ added in v0.23.0
func (m *ResponseInfo) XXX_Size() int
func (*ResponseInfo) XXX_Unmarshal ¶ added in v0.23.0
func (m *ResponseInfo) XXX_Unmarshal(b []byte) error
type ResponseInitChain ¶
type ResponseInitChain struct { ConsensusParams *ConsensusParams `protobuf:"bytes,1,opt,name=consensus_params,json=consensusParams" json:"consensus_params,omitempty"` Validators []ValidatorUpdate `protobuf:"bytes,2,rep,name=validators" json:"validators"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedResponseInitChain ¶ added in v0.22.5
func NewPopulatedResponseInitChain(r randyTypes, easy bool) *ResponseInitChain
func (*ResponseInitChain) Descriptor ¶
func (*ResponseInitChain) Descriptor() ([]byte, []int)
func (*ResponseInitChain) Equal ¶ added in v0.22.5
func (this *ResponseInitChain) Equal(that interface{}) bool
func (*ResponseInitChain) GetConsensusParams ¶
func (m *ResponseInitChain) GetConsensusParams() *ConsensusParams
func (*ResponseInitChain) GetValidators ¶
func (m *ResponseInitChain) GetValidators() []ValidatorUpdate
func (*ResponseInitChain) Marshal ¶ added in v0.22.5
func (m *ResponseInitChain) Marshal() (dAtA []byte, err error)
func (*ResponseInitChain) MarshalTo ¶ added in v0.22.5
func (m *ResponseInitChain) MarshalTo(dAtA []byte) (int, error)
func (*ResponseInitChain) ProtoMessage ¶
func (*ResponseInitChain) ProtoMessage()
func (*ResponseInitChain) Reset ¶
func (m *ResponseInitChain) Reset()
func (*ResponseInitChain) Size ¶ added in v0.22.5
func (m *ResponseInitChain) Size() (n int)
func (*ResponseInitChain) String ¶
func (m *ResponseInitChain) String() string
func (*ResponseInitChain) Unmarshal ¶ added in v0.22.5
func (m *ResponseInitChain) Unmarshal(dAtA []byte) error
func (*ResponseInitChain) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *ResponseInitChain) XXX_DiscardUnknown()
func (*ResponseInitChain) XXX_Marshal ¶ added in v0.23.0
func (m *ResponseInitChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResponseInitChain) XXX_Merge ¶ added in v0.23.0
func (dst *ResponseInitChain) XXX_Merge(src proto.Message)
func (*ResponseInitChain) XXX_Size ¶ added in v0.23.0
func (m *ResponseInitChain) XXX_Size() int
func (*ResponseInitChain) XXX_Unmarshal ¶ added in v0.23.0
func (m *ResponseInitChain) XXX_Unmarshal(b []byte) error
type ResponseQuery ¶
type ResponseQuery struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // bytes data = 2; // use "value" instead. Log string `protobuf:"bytes,3,opt,name=log,proto3" json:"log,omitempty"` Info string `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty"` Index int64 `protobuf:"varint,5,opt,name=index,proto3" json:"index,omitempty"` Key []byte `protobuf:"bytes,6,opt,name=key,proto3" json:"key,omitempty"` Value []byte `protobuf:"bytes,7,opt,name=value,proto3" json:"value,omitempty"` Proof []byte `protobuf:"bytes,8,opt,name=proof,proto3" json:"proof,omitempty"` Height int64 `protobuf:"varint,9,opt,name=height,proto3" json:"height,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedResponseQuery ¶ added in v0.22.5
func NewPopulatedResponseQuery(r randyTypes, easy bool) *ResponseQuery
func (*ResponseQuery) Descriptor ¶
func (*ResponseQuery) Descriptor() ([]byte, []int)
func (*ResponseQuery) Equal ¶ added in v0.22.5
func (this *ResponseQuery) Equal(that interface{}) bool
func (*ResponseQuery) GetCode ¶
func (m *ResponseQuery) GetCode() uint32
func (*ResponseQuery) GetHeight ¶
func (m *ResponseQuery) GetHeight() int64
func (*ResponseQuery) GetIndex ¶
func (m *ResponseQuery) GetIndex() int64
func (*ResponseQuery) GetInfo ¶
func (m *ResponseQuery) GetInfo() string
func (*ResponseQuery) GetKey ¶
func (m *ResponseQuery) GetKey() []byte
func (*ResponseQuery) GetLog ¶
func (m *ResponseQuery) GetLog() string
func (*ResponseQuery) GetProof ¶
func (m *ResponseQuery) GetProof() []byte
func (*ResponseQuery) GetValue ¶
func (m *ResponseQuery) GetValue() []byte
func (ResponseQuery) IsErr ¶
func (r ResponseQuery) IsErr() bool
IsErr returns true if Code is something other than OK.
func (*ResponseQuery) Marshal ¶ added in v0.22.5
func (m *ResponseQuery) Marshal() (dAtA []byte, err error)
func (*ResponseQuery) MarshalJSON ¶
func (r *ResponseQuery) MarshalJSON() ([]byte, error)
func (*ResponseQuery) MarshalTo ¶ added in v0.22.5
func (m *ResponseQuery) MarshalTo(dAtA []byte) (int, error)
func (*ResponseQuery) ProtoMessage ¶
func (*ResponseQuery) ProtoMessage()
func (*ResponseQuery) Reset ¶
func (m *ResponseQuery) Reset()
func (*ResponseQuery) Size ¶ added in v0.22.5
func (m *ResponseQuery) Size() (n int)
func (*ResponseQuery) String ¶
func (m *ResponseQuery) String() string
func (*ResponseQuery) Unmarshal ¶ added in v0.22.5
func (m *ResponseQuery) Unmarshal(dAtA []byte) error
func (*ResponseQuery) UnmarshalJSON ¶
func (r *ResponseQuery) UnmarshalJSON(b []byte) error
func (*ResponseQuery) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *ResponseQuery) XXX_DiscardUnknown()
func (*ResponseQuery) XXX_Marshal ¶ added in v0.23.0
func (m *ResponseQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResponseQuery) XXX_Merge ¶ added in v0.23.0
func (dst *ResponseQuery) XXX_Merge(src proto.Message)
func (*ResponseQuery) XXX_Size ¶ added in v0.23.0
func (m *ResponseQuery) XXX_Size() int
func (*ResponseQuery) XXX_Unmarshal ¶ added in v0.23.0
func (m *ResponseQuery) XXX_Unmarshal(b []byte) error
type ResponseSetOption ¶
type ResponseSetOption struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // bytes data = 2; Log string `protobuf:"bytes,3,opt,name=log,proto3" json:"log,omitempty"` Info string `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
nondeterministic
func NewPopulatedResponseSetOption ¶ added in v0.22.5
func NewPopulatedResponseSetOption(r randyTypes, easy bool) *ResponseSetOption
func (*ResponseSetOption) Descriptor ¶
func (*ResponseSetOption) Descriptor() ([]byte, []int)
func (*ResponseSetOption) Equal ¶ added in v0.22.5
func (this *ResponseSetOption) Equal(that interface{}) bool
func (*ResponseSetOption) GetCode ¶
func (m *ResponseSetOption) GetCode() uint32
func (*ResponseSetOption) GetInfo ¶
func (m *ResponseSetOption) GetInfo() string
func (*ResponseSetOption) GetLog ¶
func (m *ResponseSetOption) GetLog() string
func (*ResponseSetOption) Marshal ¶ added in v0.22.5
func (m *ResponseSetOption) Marshal() (dAtA []byte, err error)
func (*ResponseSetOption) MarshalJSON ¶
func (r *ResponseSetOption) MarshalJSON() ([]byte, error)
func (*ResponseSetOption) MarshalTo ¶ added in v0.22.5
func (m *ResponseSetOption) MarshalTo(dAtA []byte) (int, error)
func (*ResponseSetOption) ProtoMessage ¶
func (*ResponseSetOption) ProtoMessage()
func (*ResponseSetOption) Reset ¶
func (m *ResponseSetOption) Reset()
func (*ResponseSetOption) Size ¶ added in v0.22.5
func (m *ResponseSetOption) Size() (n int)
func (*ResponseSetOption) String ¶
func (m *ResponseSetOption) String() string
func (*ResponseSetOption) Unmarshal ¶ added in v0.22.5
func (m *ResponseSetOption) Unmarshal(dAtA []byte) error
func (*ResponseSetOption) UnmarshalJSON ¶
func (r *ResponseSetOption) UnmarshalJSON(b []byte) error
func (*ResponseSetOption) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *ResponseSetOption) XXX_DiscardUnknown()
func (*ResponseSetOption) XXX_Marshal ¶ added in v0.23.0
func (m *ResponseSetOption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResponseSetOption) XXX_Merge ¶ added in v0.23.0
func (dst *ResponseSetOption) XXX_Merge(src proto.Message)
func (*ResponseSetOption) XXX_Size ¶ added in v0.23.0
func (m *ResponseSetOption) XXX_Size() int
func (*ResponseSetOption) XXX_Unmarshal ¶ added in v0.23.0
func (m *ResponseSetOption) XXX_Unmarshal(b []byte) error
type Response_BeginBlock ¶
type Response_BeginBlock struct {
BeginBlock *ResponseBeginBlock `protobuf:"bytes,8,opt,name=begin_block,json=beginBlock,oneof"`
}
func NewPopulatedResponse_BeginBlock ¶ added in v0.22.5
func NewPopulatedResponse_BeginBlock(r randyTypes, easy bool) *Response_BeginBlock
func (*Response_BeginBlock) Equal ¶ added in v0.22.5
func (this *Response_BeginBlock) Equal(that interface{}) bool
func (*Response_BeginBlock) MarshalTo ¶ added in v0.22.5
func (m *Response_BeginBlock) MarshalTo(dAtA []byte) (int, error)
func (*Response_BeginBlock) Size ¶ added in v0.22.5
func (m *Response_BeginBlock) Size() (n int)
type Response_CheckTx ¶
type Response_CheckTx struct {
CheckTx *ResponseCheckTx `protobuf:"bytes,9,opt,name=check_tx,json=checkTx,oneof"`
}
func NewPopulatedResponse_CheckTx ¶ added in v0.22.5
func NewPopulatedResponse_CheckTx(r randyTypes, easy bool) *Response_CheckTx
func (*Response_CheckTx) Equal ¶ added in v0.22.5
func (this *Response_CheckTx) Equal(that interface{}) bool
func (*Response_CheckTx) MarshalTo ¶ added in v0.22.5
func (m *Response_CheckTx) MarshalTo(dAtA []byte) (int, error)
func (*Response_CheckTx) Size ¶ added in v0.22.5
func (m *Response_CheckTx) Size() (n int)
type Response_Commit ¶
type Response_Commit struct {
Commit *ResponseCommit `protobuf:"bytes,12,opt,name=commit,oneof"`
}
func NewPopulatedResponse_Commit ¶ added in v0.22.5
func NewPopulatedResponse_Commit(r randyTypes, easy bool) *Response_Commit
func (*Response_Commit) Equal ¶ added in v0.22.5
func (this *Response_Commit) Equal(that interface{}) bool
func (*Response_Commit) MarshalTo ¶ added in v0.22.5
func (m *Response_Commit) MarshalTo(dAtA []byte) (int, error)
func (*Response_Commit) Size ¶ added in v0.22.5
func (m *Response_Commit) Size() (n int)
type Response_DeliverTx ¶
type Response_DeliverTx struct {
DeliverTx *ResponseDeliverTx `protobuf:"bytes,10,opt,name=deliver_tx,json=deliverTx,oneof"`
}
func NewPopulatedResponse_DeliverTx ¶ added in v0.22.5
func NewPopulatedResponse_DeliverTx(r randyTypes, easy bool) *Response_DeliverTx
func (*Response_DeliverTx) Equal ¶ added in v0.22.5
func (this *Response_DeliverTx) Equal(that interface{}) bool
func (*Response_DeliverTx) MarshalTo ¶ added in v0.22.5
func (m *Response_DeliverTx) MarshalTo(dAtA []byte) (int, error)
func (*Response_DeliverTx) Size ¶ added in v0.22.5
func (m *Response_DeliverTx) Size() (n int)
type Response_Echo ¶
type Response_Echo struct {
Echo *ResponseEcho `protobuf:"bytes,2,opt,name=echo,oneof"`
}
func NewPopulatedResponse_Echo ¶ added in v0.22.5
func NewPopulatedResponse_Echo(r randyTypes, easy bool) *Response_Echo
func (*Response_Echo) Equal ¶ added in v0.22.5
func (this *Response_Echo) Equal(that interface{}) bool
func (*Response_Echo) MarshalTo ¶ added in v0.22.5
func (m *Response_Echo) MarshalTo(dAtA []byte) (int, error)
func (*Response_Echo) Size ¶ added in v0.22.5
func (m *Response_Echo) Size() (n int)
type Response_EndBlock ¶
type Response_EndBlock struct {
EndBlock *ResponseEndBlock `protobuf:"bytes,11,opt,name=end_block,json=endBlock,oneof"`
}
func NewPopulatedResponse_EndBlock ¶ added in v0.22.5
func NewPopulatedResponse_EndBlock(r randyTypes, easy bool) *Response_EndBlock
func (*Response_EndBlock) Equal ¶ added in v0.22.5
func (this *Response_EndBlock) Equal(that interface{}) bool
func (*Response_EndBlock) MarshalTo ¶ added in v0.22.5
func (m *Response_EndBlock) MarshalTo(dAtA []byte) (int, error)
func (*Response_EndBlock) Size ¶ added in v0.22.5
func (m *Response_EndBlock) Size() (n int)
type Response_Exception ¶
type Response_Exception struct {
Exception *ResponseException `protobuf:"bytes,1,opt,name=exception,oneof"`
}
func NewPopulatedResponse_Exception ¶ added in v0.22.5
func NewPopulatedResponse_Exception(r randyTypes, easy bool) *Response_Exception
func (*Response_Exception) Equal ¶ added in v0.22.5
func (this *Response_Exception) Equal(that interface{}) bool
func (*Response_Exception) MarshalTo ¶ added in v0.22.5
func (m *Response_Exception) MarshalTo(dAtA []byte) (int, error)
func (*Response_Exception) Size ¶ added in v0.22.5
func (m *Response_Exception) Size() (n int)
type Response_Flush ¶
type Response_Flush struct {
Flush *ResponseFlush `protobuf:"bytes,3,opt,name=flush,oneof"`
}
func NewPopulatedResponse_Flush ¶ added in v0.22.5
func NewPopulatedResponse_Flush(r randyTypes, easy bool) *Response_Flush
func (*Response_Flush) Equal ¶ added in v0.22.5
func (this *Response_Flush) Equal(that interface{}) bool
func (*Response_Flush) MarshalTo ¶ added in v0.22.5
func (m *Response_Flush) MarshalTo(dAtA []byte) (int, error)
func (*Response_Flush) Size ¶ added in v0.22.5
func (m *Response_Flush) Size() (n int)
type Response_Info ¶
type Response_Info struct {
Info *ResponseInfo `protobuf:"bytes,4,opt,name=info,oneof"`
}
func NewPopulatedResponse_Info ¶ added in v0.22.5
func NewPopulatedResponse_Info(r randyTypes, easy bool) *Response_Info
func (*Response_Info) Equal ¶ added in v0.22.5
func (this *Response_Info) Equal(that interface{}) bool
func (*Response_Info) MarshalTo ¶ added in v0.22.5
func (m *Response_Info) MarshalTo(dAtA []byte) (int, error)
func (*Response_Info) Size ¶ added in v0.22.5
func (m *Response_Info) Size() (n int)
type Response_InitChain ¶
type Response_InitChain struct {
InitChain *ResponseInitChain `protobuf:"bytes,6,opt,name=init_chain,json=initChain,oneof"`
}
func NewPopulatedResponse_InitChain ¶ added in v0.22.5
func NewPopulatedResponse_InitChain(r randyTypes, easy bool) *Response_InitChain
func (*Response_InitChain) Equal ¶ added in v0.22.5
func (this *Response_InitChain) Equal(that interface{}) bool
func (*Response_InitChain) MarshalTo ¶ added in v0.22.5
func (m *Response_InitChain) MarshalTo(dAtA []byte) (int, error)
func (*Response_InitChain) Size ¶ added in v0.22.5
func (m *Response_InitChain) Size() (n int)
type Response_Query ¶
type Response_Query struct {
Query *ResponseQuery `protobuf:"bytes,7,opt,name=query,oneof"`
}
func NewPopulatedResponse_Query ¶ added in v0.22.5
func NewPopulatedResponse_Query(r randyTypes, easy bool) *Response_Query
func (*Response_Query) Equal ¶ added in v0.22.5
func (this *Response_Query) Equal(that interface{}) bool
func (*Response_Query) MarshalTo ¶ added in v0.22.5
func (m *Response_Query) MarshalTo(dAtA []byte) (int, error)
func (*Response_Query) Size ¶ added in v0.22.5
func (m *Response_Query) Size() (n int)
type Response_SetOption ¶
type Response_SetOption struct {
SetOption *ResponseSetOption `protobuf:"bytes,5,opt,name=set_option,json=setOption,oneof"`
}
func NewPopulatedResponse_SetOption ¶ added in v0.22.5
func NewPopulatedResponse_SetOption(r randyTypes, easy bool) *Response_SetOption
func (*Response_SetOption) Equal ¶ added in v0.22.5
func (this *Response_SetOption) Equal(that interface{}) bool
func (*Response_SetOption) MarshalTo ¶ added in v0.22.5
func (m *Response_SetOption) MarshalTo(dAtA []byte) (int, error)
func (*Response_SetOption) Size ¶ added in v0.22.5
func (m *Response_SetOption) Size() (n int)
type TxSize ¶
type TxSize struct { MaxBytes int32 `protobuf:"varint,1,opt,name=max_bytes,json=maxBytes,proto3" json:"max_bytes,omitempty"` MaxGas int64 `protobuf:"varint,2,opt,name=max_gas,json=maxGas,proto3" json:"max_gas,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
TxSize contains limits on the tx size.
func NewPopulatedTxSize ¶ added in v0.22.5
func (*TxSize) Descriptor ¶
func (*TxSize) GetMaxBytes ¶
func (*TxSize) ProtoMessage ¶
func (*TxSize) ProtoMessage()
func (*TxSize) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *TxSize) XXX_DiscardUnknown()
func (*TxSize) XXX_Marshal ¶ added in v0.23.0
func (*TxSize) XXX_Unmarshal ¶ added in v0.23.0
type Validator ¶
type Validator struct { Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // PubKey pub_key = 2 [(gogoproto.nullable)=false]; Power int64 `protobuf:"varint,3,opt,name=power,proto3" json:"power,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Validator
func NewPopulatedValidator ¶ added in v0.22.5
func (*Validator) Descriptor ¶
func (*Validator) GetAddress ¶
func (*Validator) ProtoMessage ¶
func (*Validator) ProtoMessage()
func (*Validator) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *Validator) XXX_DiscardUnknown()
func (*Validator) XXX_Marshal ¶ added in v0.23.0
func (*Validator) XXX_Unmarshal ¶ added in v0.23.0
type ValidatorUpdate ¶ added in v0.24.0
type ValidatorUpdate struct { PubKey PubKey `protobuf:"bytes,1,opt,name=pub_key,json=pubKey" json:"pub_key"` Power int64 `protobuf:"varint,2,opt,name=power,proto3" json:"power,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ValidatorUpdate
func Ed25519ValidatorUpdate ¶ added in v0.24.0
func Ed25519ValidatorUpdate(pubkey []byte, power int64) ValidatorUpdate
func NewPopulatedValidatorUpdate ¶ added in v0.24.0
func NewPopulatedValidatorUpdate(r randyTypes, easy bool) *ValidatorUpdate
func (*ValidatorUpdate) Descriptor ¶ added in v0.24.0
func (*ValidatorUpdate) Descriptor() ([]byte, []int)
func (*ValidatorUpdate) Equal ¶ added in v0.24.0
func (this *ValidatorUpdate) Equal(that interface{}) bool
func (*ValidatorUpdate) GetPower ¶ added in v0.24.0
func (m *ValidatorUpdate) GetPower() int64
func (*ValidatorUpdate) GetPubKey ¶ added in v0.24.0
func (m *ValidatorUpdate) GetPubKey() PubKey
func (*ValidatorUpdate) Marshal ¶ added in v0.24.0
func (m *ValidatorUpdate) Marshal() (dAtA []byte, err error)
func (*ValidatorUpdate) MarshalTo ¶ added in v0.24.0
func (m *ValidatorUpdate) MarshalTo(dAtA []byte) (int, error)
func (*ValidatorUpdate) ProtoMessage ¶ added in v0.24.0
func (*ValidatorUpdate) ProtoMessage()
func (*ValidatorUpdate) Reset ¶ added in v0.24.0
func (m *ValidatorUpdate) Reset()
func (*ValidatorUpdate) Size ¶ added in v0.24.0
func (m *ValidatorUpdate) Size() (n int)
func (*ValidatorUpdate) String ¶ added in v0.24.0
func (m *ValidatorUpdate) String() string
func (*ValidatorUpdate) Unmarshal ¶ added in v0.24.0
func (m *ValidatorUpdate) Unmarshal(dAtA []byte) error
func (*ValidatorUpdate) XXX_DiscardUnknown ¶ added in v0.24.0
func (m *ValidatorUpdate) XXX_DiscardUnknown()
func (*ValidatorUpdate) XXX_Marshal ¶ added in v0.24.0
func (m *ValidatorUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValidatorUpdate) XXX_Merge ¶ added in v0.24.0
func (dst *ValidatorUpdate) XXX_Merge(src proto.Message)
func (*ValidatorUpdate) XXX_Size ¶ added in v0.24.0
func (m *ValidatorUpdate) XXX_Size() int
func (*ValidatorUpdate) XXX_Unmarshal ¶ added in v0.24.0
func (m *ValidatorUpdate) XXX_Unmarshal(b []byte) error
type ValidatorUpdates ¶ added in v0.24.0
type ValidatorUpdates []ValidatorUpdate
ValidatorUpdates is a list of validators that implements the Sort interface
func (ValidatorUpdates) Len ¶ added in v0.24.0
func (v ValidatorUpdates) Len() int
func (ValidatorUpdates) Less ¶ added in v0.24.0
func (v ValidatorUpdates) Less(i, j int) bool
XXX: doesn't distinguish same validator with different power
func (ValidatorUpdates) Swap ¶ added in v0.24.0
func (v ValidatorUpdates) Swap(i, j int)
type VoteInfo ¶ added in v0.24.0
type VoteInfo struct { Validator Validator `protobuf:"bytes,1,opt,name=validator" json:"validator"` SignedLastBlock bool `protobuf:"varint,2,opt,name=signed_last_block,json=signedLastBlock,proto3" json:"signed_last_block,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
VoteInfo
func NewPopulatedVoteInfo ¶ added in v0.24.0
func (*VoteInfo) Descriptor ¶ added in v0.24.0
func (*VoteInfo) GetSignedLastBlock ¶ added in v0.24.0
func (*VoteInfo) GetValidator ¶ added in v0.24.0
func (*VoteInfo) ProtoMessage ¶ added in v0.24.0
func (*VoteInfo) ProtoMessage()
func (*VoteInfo) XXX_DiscardUnknown ¶ added in v0.24.0
func (m *VoteInfo) XXX_DiscardUnknown()