Documentation ¶
Index ¶
- Constants
- Variables
- func MarshalTxResults(r []*ExecTxResult) ([][]byte, error)
- func ReadMessage(r io.Reader, msg proto.Message) error
- func RegisterABCIServer(s grpc1.Server, srv ABCIServer)
- func WriteMessage(msg proto.Message, w io.Writer) error
- type ABCIClient
- type ABCIServer
- type Application
- type BaseApplication
- func (BaseApplication) ApplySnapshotChunk(context.Context, *RequestApplySnapshotChunk) (*ResponseApplySnapshotChunk, error)
- func (BaseApplication) CheckTx(context.Context, *RequestCheckTx) (*ResponseCheckTx, error)
- func (BaseApplication) Commit(context.Context, *RequestCommit) (*ResponseCommit, error)
- func (BaseApplication) ExtendVote(context.Context, *RequestExtendVote) (*ResponseExtendVote, error)
- func (BaseApplication) FinalizeBlock(_ context.Context, req *RequestFinalizeBlock) (*ResponseFinalizeBlock, error)
- func (BaseApplication) Info(context.Context, *RequestInfo) (*ResponseInfo, error)
- func (BaseApplication) InitChain(context.Context, *RequestInitChain) (*ResponseInitChain, error)
- func (BaseApplication) ListSnapshots(context.Context, *RequestListSnapshots) (*ResponseListSnapshots, error)
- func (BaseApplication) LoadSnapshotChunk(context.Context, *RequestLoadSnapshotChunk) (*ResponseLoadSnapshotChunk, error)
- func (BaseApplication) OfferSnapshot(context.Context, *RequestOfferSnapshot) (*ResponseOfferSnapshot, error)
- func (BaseApplication) PrepareProposal(_ context.Context, req *RequestPrepareProposal) (*ResponsePrepareProposal, error)
- func (BaseApplication) ProcessProposal(context.Context, *RequestProcessProposal) (*ResponseProcessProposal, error)
- func (BaseApplication) Query(context.Context, *RequestQuery) (*ResponseQuery, error)
- func (BaseApplication) VerifyVoteExtension(context.Context, *RequestVerifyVoteExtension) (*ResponseVerifyVoteExtension, error)
- type CheckTxType
- type CommitInfo
- func (*CommitInfo) Descriptor() ([]byte, []int)
- func (m *CommitInfo) GetRound() int32
- func (m *CommitInfo) GetVotes() []VoteInfo
- func (m *CommitInfo) Marshal() (dAtA []byte, err error)
- func (m *CommitInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *CommitInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CommitInfo) ProtoMessage()
- func (m *CommitInfo) Reset()
- func (m *CommitInfo) Size() (n int)
- func (m *CommitInfo) String() string
- func (m *CommitInfo) Unmarshal(dAtA []byte) error
- func (m *CommitInfo) XXX_DiscardUnknown()
- func (m *CommitInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CommitInfo) XXX_Merge(src proto.Message)
- func (m *CommitInfo) XXX_Size() int
- func (m *CommitInfo) XXX_Unmarshal(b []byte) error
- type Event
- func (*Event) Descriptor() ([]byte, []int)
- func (m *Event) GetAttributes() []EventAttribute
- func (m *Event) GetType() string
- func (m *Event) Marshal() (dAtA []byte, err error)
- func (m *Event) MarshalTo(dAtA []byte) (int, error)
- func (m *Event) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Event) ProtoMessage()
- func (m *Event) Reset()
- func (m *Event) Size() (n int)
- func (m *Event) String() string
- func (m *Event) Unmarshal(dAtA []byte) error
- func (m *Event) XXX_DiscardUnknown()
- func (m *Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Event) XXX_Merge(src proto.Message)
- func (m *Event) XXX_Size() int
- func (m *Event) XXX_Unmarshal(b []byte) error
- type EventAttribute
- func (*EventAttribute) Descriptor() ([]byte, []int)
- func (m *EventAttribute) GetIndex() bool
- func (m *EventAttribute) GetKey() string
- func (m *EventAttribute) GetValue() string
- func (m *EventAttribute) Marshal() (dAtA []byte, err error)
- func (r *EventAttribute) MarshalJSON() ([]byte, error)
- func (m *EventAttribute) MarshalTo(dAtA []byte) (int, error)
- func (m *EventAttribute) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventAttribute) ProtoMessage()
- func (m *EventAttribute) Reset()
- func (m *EventAttribute) Size() (n int)
- func (m *EventAttribute) String() string
- func (m *EventAttribute) Unmarshal(dAtA []byte) error
- func (r *EventAttribute) UnmarshalJSON(b []byte) error
- func (m *EventAttribute) XXX_DiscardUnknown()
- func (m *EventAttribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventAttribute) XXX_Merge(src proto.Message)
- func (m *EventAttribute) XXX_Size() int
- func (m *EventAttribute) XXX_Unmarshal(b []byte) error
- type ExecTxResult
- func (*ExecTxResult) Descriptor() ([]byte, []int)
- func (m *ExecTxResult) GetCode() uint32
- func (m *ExecTxResult) GetCodespace() string
- func (m *ExecTxResult) GetData() []byte
- func (m *ExecTxResult) GetEvents() []Event
- func (m *ExecTxResult) GetGasUsed() int64
- func (m *ExecTxResult) GetGasWanted() int64
- func (m *ExecTxResult) GetInfo() string
- func (m *ExecTxResult) GetLog() string
- func (r ExecTxResult) IsErr() bool
- func (r ExecTxResult) IsOK() bool
- func (m *ExecTxResult) Marshal() (dAtA []byte, err error)
- func (r *ExecTxResult) MarshalJSON() ([]byte, error)
- func (m *ExecTxResult) MarshalTo(dAtA []byte) (int, error)
- func (m *ExecTxResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ExecTxResult) ProtoMessage()
- func (m *ExecTxResult) Reset()
- func (m *ExecTxResult) Size() (n int)
- func (m *ExecTxResult) String() string
- func (m *ExecTxResult) Unmarshal(dAtA []byte) error
- func (r *ExecTxResult) UnmarshalJSON(b []byte) error
- func (m *ExecTxResult) XXX_DiscardUnknown()
- func (m *ExecTxResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExecTxResult) XXX_Merge(src proto.Message)
- func (m *ExecTxResult) XXX_Size() int
- func (m *ExecTxResult) XXX_Unmarshal(b []byte) error
- type ExtendedCommitInfo
- func (*ExtendedCommitInfo) Descriptor() ([]byte, []int)
- func (m *ExtendedCommitInfo) GetRound() int32
- func (m *ExtendedCommitInfo) GetVotes() []ExtendedVoteInfo
- func (m *ExtendedCommitInfo) Marshal() (dAtA []byte, err error)
- func (m *ExtendedCommitInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *ExtendedCommitInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ExtendedCommitInfo) ProtoMessage()
- func (m *ExtendedCommitInfo) Reset()
- func (m *ExtendedCommitInfo) Size() (n int)
- func (m *ExtendedCommitInfo) String() string
- func (m *ExtendedCommitInfo) Unmarshal(dAtA []byte) error
- func (m *ExtendedCommitInfo) XXX_DiscardUnknown()
- func (m *ExtendedCommitInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExtendedCommitInfo) XXX_Merge(src proto.Message)
- func (m *ExtendedCommitInfo) XXX_Size() int
- func (m *ExtendedCommitInfo) XXX_Unmarshal(b []byte) error
- type ExtendedVoteInfo
- func (*ExtendedVoteInfo) Descriptor() ([]byte, []int)
- func (m *ExtendedVoteInfo) GetBlockIdFlag() types1.BlockIDFlag
- func (m *ExtendedVoteInfo) GetExtensionSignature() []byte
- func (m *ExtendedVoteInfo) GetValidator() Validator
- func (m *ExtendedVoteInfo) GetVoteExtension() []byte
- func (m *ExtendedVoteInfo) Marshal() (dAtA []byte, err error)
- func (m *ExtendedVoteInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *ExtendedVoteInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ExtendedVoteInfo) ProtoMessage()
- func (m *ExtendedVoteInfo) Reset()
- func (m *ExtendedVoteInfo) Size() (n int)
- func (m *ExtendedVoteInfo) String() string
- func (m *ExtendedVoteInfo) Unmarshal(dAtA []byte) error
- func (m *ExtendedVoteInfo) XXX_DiscardUnknown()
- func (m *ExtendedVoteInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExtendedVoteInfo) XXX_Merge(src proto.Message)
- func (m *ExtendedVoteInfo) XXX_Size() int
- func (m *ExtendedVoteInfo) XXX_Unmarshal(b []byte) error
- type Misbehavior
- func (*Misbehavior) Descriptor() ([]byte, []int)
- func (m *Misbehavior) GetHeight() int64
- func (m *Misbehavior) GetTime() time.Time
- func (m *Misbehavior) GetTotalVotingPower() int64
- func (m *Misbehavior) GetType() MisbehaviorType
- func (m *Misbehavior) GetValidator() Validator
- func (m *Misbehavior) Marshal() (dAtA []byte, err error)
- func (m *Misbehavior) MarshalTo(dAtA []byte) (int, error)
- func (m *Misbehavior) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Misbehavior) ProtoMessage()
- func (m *Misbehavior) Reset()
- func (m *Misbehavior) Size() (n int)
- func (m *Misbehavior) String() string
- func (m *Misbehavior) Unmarshal(dAtA []byte) error
- func (m *Misbehavior) XXX_DiscardUnknown()
- func (m *Misbehavior) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Misbehavior) XXX_Merge(src proto.Message)
- func (m *Misbehavior) XXX_Size() int
- func (m *Misbehavior) XXX_Unmarshal(b []byte) error
- type MisbehaviorType
- type Request
- func ToRequestApplySnapshotChunk(req *RequestApplySnapshotChunk) *Request
- func ToRequestCheckTx(req *RequestCheckTx) *Request
- func ToRequestCommit() *Request
- func ToRequestEcho(message string) *Request
- func ToRequestExtendVote(req *RequestExtendVote) *Request
- func ToRequestFinalizeBlock(req *RequestFinalizeBlock) *Request
- func ToRequestFlush() *Request
- func ToRequestInfo(req *RequestInfo) *Request
- func ToRequestInitChain(req *RequestInitChain) *Request
- func ToRequestListSnapshots(req *RequestListSnapshots) *Request
- func ToRequestLoadSnapshotChunk(req *RequestLoadSnapshotChunk) *Request
- func ToRequestOfferSnapshot(req *RequestOfferSnapshot) *Request
- func ToRequestPrepareProposal(req *RequestPrepareProposal) *Request
- func ToRequestProcessProposal(req *RequestProcessProposal) *Request
- func ToRequestQuery(req *RequestQuery) *Request
- func ToRequestVerifyVoteExtension(req *RequestVerifyVoteExtension) *Request
- func (*Request) Descriptor() ([]byte, []int)
- func (m *Request) GetApplySnapshotChunk() *RequestApplySnapshotChunk
- func (m *Request) GetCheckTx() *RequestCheckTx
- func (m *Request) GetCommit() *RequestCommit
- func (m *Request) GetEcho() *RequestEcho
- func (m *Request) GetExtendVote() *RequestExtendVote
- func (m *Request) GetFinalizeBlock() *RequestFinalizeBlock
- func (m *Request) GetFlush() *RequestFlush
- func (m *Request) GetInfo() *RequestInfo
- func (m *Request) GetInitChain() *RequestInitChain
- func (m *Request) GetListSnapshots() *RequestListSnapshots
- func (m *Request) GetLoadSnapshotChunk() *RequestLoadSnapshotChunk
- func (m *Request) GetOfferSnapshot() *RequestOfferSnapshot
- func (m *Request) GetPrepareProposal() *RequestPrepareProposal
- func (m *Request) GetProcessProposal() *RequestProcessProposal
- func (m *Request) GetQuery() *RequestQuery
- func (m *Request) GetValue() isRequest_Value
- func (m *Request) GetVerifyVoteExtension() *RequestVerifyVoteExtension
- func (m *Request) Marshal() (dAtA []byte, err error)
- func (m *Request) MarshalTo(dAtA []byte) (int, error)
- func (m *Request) MarshalToSizedBuffer(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 (m *Request) XXX_Merge(src proto.Message)
- func (*Request) XXX_OneofWrappers() []interface{}
- func (m *Request) XXX_Size() int
- func (m *Request) XXX_Unmarshal(b []byte) error
- type RequestApplySnapshotChunk
- func (*RequestApplySnapshotChunk) Descriptor() ([]byte, []int)
- func (m *RequestApplySnapshotChunk) GetChunk() []byte
- func (m *RequestApplySnapshotChunk) GetIndex() uint32
- func (m *RequestApplySnapshotChunk) GetSender() string
- func (m *RequestApplySnapshotChunk) Marshal() (dAtA []byte, err error)
- func (m *RequestApplySnapshotChunk) MarshalTo(dAtA []byte) (int, error)
- func (m *RequestApplySnapshotChunk) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RequestApplySnapshotChunk) ProtoMessage()
- func (m *RequestApplySnapshotChunk) Reset()
- func (m *RequestApplySnapshotChunk) Size() (n int)
- func (m *RequestApplySnapshotChunk) String() string
- func (m *RequestApplySnapshotChunk) Unmarshal(dAtA []byte) error
- func (m *RequestApplySnapshotChunk) XXX_DiscardUnknown()
- func (m *RequestApplySnapshotChunk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RequestApplySnapshotChunk) XXX_Merge(src proto.Message)
- func (m *RequestApplySnapshotChunk) XXX_Size() int
- func (m *RequestApplySnapshotChunk) XXX_Unmarshal(b []byte) error
- type RequestCheckTx
- func (*RequestCheckTx) Descriptor() ([]byte, []int)
- func (m *RequestCheckTx) GetTx() []byte
- func (m *RequestCheckTx) GetType() CheckTxType
- func (m *RequestCheckTx) Marshal() (dAtA []byte, err error)
- func (m *RequestCheckTx) MarshalTo(dAtA []byte) (int, error)
- func (m *RequestCheckTx) MarshalToSizedBuffer(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 (m *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 (m *RequestCommit) Marshal() (dAtA []byte, err error)
- func (m *RequestCommit) MarshalTo(dAtA []byte) (int, error)
- func (m *RequestCommit) MarshalToSizedBuffer(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 (m *RequestCommit) XXX_Merge(src proto.Message)
- func (m *RequestCommit) XXX_Size() int
- func (m *RequestCommit) XXX_Unmarshal(b []byte) error
- type RequestEcho
- func (*RequestEcho) Descriptor() ([]byte, []int)
- func (m *RequestEcho) GetMessage() string
- func (m *RequestEcho) Marshal() (dAtA []byte, err error)
- func (m *RequestEcho) MarshalTo(dAtA []byte) (int, error)
- func (m *RequestEcho) MarshalToSizedBuffer(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 (m *RequestEcho) XXX_Merge(src proto.Message)
- func (m *RequestEcho) XXX_Size() int
- func (m *RequestEcho) XXX_Unmarshal(b []byte) error
- type RequestExtendVote
- func (*RequestExtendVote) Descriptor() ([]byte, []int)
- func (m *RequestExtendVote) GetHash() []byte
- func (m *RequestExtendVote) GetHeight() int64
- func (m *RequestExtendVote) GetMisbehavior() []Misbehavior
- func (m *RequestExtendVote) GetNextValidatorsHash() []byte
- func (m *RequestExtendVote) GetProposedLastCommit() CommitInfo
- func (m *RequestExtendVote) GetProposerAddress() []byte
- func (m *RequestExtendVote) GetTime() time.Time
- func (m *RequestExtendVote) GetTxs() [][]byte
- func (m *RequestExtendVote) Marshal() (dAtA []byte, err error)
- func (m *RequestExtendVote) MarshalTo(dAtA []byte) (int, error)
- func (m *RequestExtendVote) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RequestExtendVote) ProtoMessage()
- func (m *RequestExtendVote) Reset()
- func (m *RequestExtendVote) Size() (n int)
- func (m *RequestExtendVote) String() string
- func (m *RequestExtendVote) Unmarshal(dAtA []byte) error
- func (m *RequestExtendVote) XXX_DiscardUnknown()
- func (m *RequestExtendVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RequestExtendVote) XXX_Merge(src proto.Message)
- func (m *RequestExtendVote) XXX_Size() int
- func (m *RequestExtendVote) XXX_Unmarshal(b []byte) error
- type RequestFinalizeBlock
- func (*RequestFinalizeBlock) Descriptor() ([]byte, []int)
- func (m *RequestFinalizeBlock) GetDecidedLastCommit() CommitInfo
- func (m *RequestFinalizeBlock) GetHash() []byte
- func (m *RequestFinalizeBlock) GetHeight() int64
- func (m *RequestFinalizeBlock) GetMisbehavior() []Misbehavior
- func (m *RequestFinalizeBlock) GetNextValidatorsHash() []byte
- func (m *RequestFinalizeBlock) GetProposerAddress() []byte
- func (m *RequestFinalizeBlock) GetTime() time.Time
- func (m *RequestFinalizeBlock) GetTxs() [][]byte
- func (m *RequestFinalizeBlock) Marshal() (dAtA []byte, err error)
- func (m *RequestFinalizeBlock) MarshalTo(dAtA []byte) (int, error)
- func (m *RequestFinalizeBlock) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RequestFinalizeBlock) ProtoMessage()
- func (m *RequestFinalizeBlock) Reset()
- func (m *RequestFinalizeBlock) Size() (n int)
- func (m *RequestFinalizeBlock) String() string
- func (m *RequestFinalizeBlock) Unmarshal(dAtA []byte) error
- func (m *RequestFinalizeBlock) XXX_DiscardUnknown()
- func (m *RequestFinalizeBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RequestFinalizeBlock) XXX_Merge(src proto.Message)
- func (m *RequestFinalizeBlock) XXX_Size() int
- func (m *RequestFinalizeBlock) XXX_Unmarshal(b []byte) error
- type RequestFlush
- func (*RequestFlush) Descriptor() ([]byte, []int)
- func (m *RequestFlush) Marshal() (dAtA []byte, err error)
- func (m *RequestFlush) MarshalTo(dAtA []byte) (int, error)
- func (m *RequestFlush) MarshalToSizedBuffer(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 (m *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 (m *RequestInfo) GetAbciVersion() string
- func (m *RequestInfo) GetBlockVersion() uint64
- func (m *RequestInfo) GetP2PVersion() uint64
- func (m *RequestInfo) GetVersion() string
- func (m *RequestInfo) Marshal() (dAtA []byte, err error)
- func (m *RequestInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *RequestInfo) MarshalToSizedBuffer(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 (m *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 (m *RequestInitChain) GetAppStateBytes() []byte
- func (m *RequestInitChain) GetChainId() string
- func (m *RequestInitChain) GetConsensusParams() *types1.ConsensusParams
- func (m *RequestInitChain) GetInitialHeight() int64
- 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 (m *RequestInitChain) MarshalToSizedBuffer(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 (m *RequestInitChain) XXX_Merge(src proto.Message)
- func (m *RequestInitChain) XXX_Size() int
- func (m *RequestInitChain) XXX_Unmarshal(b []byte) error
- type RequestListSnapshots
- func (*RequestListSnapshots) Descriptor() ([]byte, []int)
- func (m *RequestListSnapshots) Marshal() (dAtA []byte, err error)
- func (m *RequestListSnapshots) MarshalTo(dAtA []byte) (int, error)
- func (m *RequestListSnapshots) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RequestListSnapshots) ProtoMessage()
- func (m *RequestListSnapshots) Reset()
- func (m *RequestListSnapshots) Size() (n int)
- func (m *RequestListSnapshots) String() string
- func (m *RequestListSnapshots) Unmarshal(dAtA []byte) error
- func (m *RequestListSnapshots) XXX_DiscardUnknown()
- func (m *RequestListSnapshots) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RequestListSnapshots) XXX_Merge(src proto.Message)
- func (m *RequestListSnapshots) XXX_Size() int
- func (m *RequestListSnapshots) XXX_Unmarshal(b []byte) error
- type RequestLoadSnapshotChunk
- func (*RequestLoadSnapshotChunk) Descriptor() ([]byte, []int)
- func (m *RequestLoadSnapshotChunk) GetChunk() uint32
- func (m *RequestLoadSnapshotChunk) GetFormat() uint32
- func (m *RequestLoadSnapshotChunk) GetHeight() uint64
- func (m *RequestLoadSnapshotChunk) Marshal() (dAtA []byte, err error)
- func (m *RequestLoadSnapshotChunk) MarshalTo(dAtA []byte) (int, error)
- func (m *RequestLoadSnapshotChunk) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RequestLoadSnapshotChunk) ProtoMessage()
- func (m *RequestLoadSnapshotChunk) Reset()
- func (m *RequestLoadSnapshotChunk) Size() (n int)
- func (m *RequestLoadSnapshotChunk) String() string
- func (m *RequestLoadSnapshotChunk) Unmarshal(dAtA []byte) error
- func (m *RequestLoadSnapshotChunk) XXX_DiscardUnknown()
- func (m *RequestLoadSnapshotChunk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RequestLoadSnapshotChunk) XXX_Merge(src proto.Message)
- func (m *RequestLoadSnapshotChunk) XXX_Size() int
- func (m *RequestLoadSnapshotChunk) XXX_Unmarshal(b []byte) error
- type RequestOfferSnapshot
- func (*RequestOfferSnapshot) Descriptor() ([]byte, []int)
- func (m *RequestOfferSnapshot) GetAppHash() []byte
- func (m *RequestOfferSnapshot) GetSnapshot() *Snapshot
- func (m *RequestOfferSnapshot) Marshal() (dAtA []byte, err error)
- func (m *RequestOfferSnapshot) MarshalTo(dAtA []byte) (int, error)
- func (m *RequestOfferSnapshot) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RequestOfferSnapshot) ProtoMessage()
- func (m *RequestOfferSnapshot) Reset()
- func (m *RequestOfferSnapshot) Size() (n int)
- func (m *RequestOfferSnapshot) String() string
- func (m *RequestOfferSnapshot) Unmarshal(dAtA []byte) error
- func (m *RequestOfferSnapshot) XXX_DiscardUnknown()
- func (m *RequestOfferSnapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RequestOfferSnapshot) XXX_Merge(src proto.Message)
- func (m *RequestOfferSnapshot) XXX_Size() int
- func (m *RequestOfferSnapshot) XXX_Unmarshal(b []byte) error
- type RequestPrepareProposal
- func (*RequestPrepareProposal) Descriptor() ([]byte, []int)
- func (m *RequestPrepareProposal) GetHeight() int64
- func (m *RequestPrepareProposal) GetLocalLastCommit() ExtendedCommitInfo
- func (m *RequestPrepareProposal) GetMaxTxBytes() int64
- func (m *RequestPrepareProposal) GetMisbehavior() []Misbehavior
- func (m *RequestPrepareProposal) GetNextValidatorsHash() []byte
- func (m *RequestPrepareProposal) GetProposerAddress() []byte
- func (m *RequestPrepareProposal) GetTime() time.Time
- func (m *RequestPrepareProposal) GetTxs() [][]byte
- func (m *RequestPrepareProposal) Marshal() (dAtA []byte, err error)
- func (m *RequestPrepareProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *RequestPrepareProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RequestPrepareProposal) ProtoMessage()
- func (m *RequestPrepareProposal) Reset()
- func (m *RequestPrepareProposal) Size() (n int)
- func (m *RequestPrepareProposal) String() string
- func (m *RequestPrepareProposal) Unmarshal(dAtA []byte) error
- func (m *RequestPrepareProposal) XXX_DiscardUnknown()
- func (m *RequestPrepareProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RequestPrepareProposal) XXX_Merge(src proto.Message)
- func (m *RequestPrepareProposal) XXX_Size() int
- func (m *RequestPrepareProposal) XXX_Unmarshal(b []byte) error
- type RequestProcessProposal
- func (*RequestProcessProposal) Descriptor() ([]byte, []int)
- func (m *RequestProcessProposal) GetHash() []byte
- func (m *RequestProcessProposal) GetHeight() int64
- func (m *RequestProcessProposal) GetMisbehavior() []Misbehavior
- func (m *RequestProcessProposal) GetNextValidatorsHash() []byte
- func (m *RequestProcessProposal) GetProposedLastCommit() CommitInfo
- func (m *RequestProcessProposal) GetProposerAddress() []byte
- func (m *RequestProcessProposal) GetTime() time.Time
- func (m *RequestProcessProposal) GetTxs() [][]byte
- func (m *RequestProcessProposal) Marshal() (dAtA []byte, err error)
- func (m *RequestProcessProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *RequestProcessProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RequestProcessProposal) ProtoMessage()
- func (m *RequestProcessProposal) Reset()
- func (m *RequestProcessProposal) Size() (n int)
- func (m *RequestProcessProposal) String() string
- func (m *RequestProcessProposal) Unmarshal(dAtA []byte) error
- func (m *RequestProcessProposal) XXX_DiscardUnknown()
- func (m *RequestProcessProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RequestProcessProposal) XXX_Merge(src proto.Message)
- func (m *RequestProcessProposal) XXX_Size() int
- func (m *RequestProcessProposal) XXX_Unmarshal(b []byte) error
- type RequestQuery
- func (*RequestQuery) Descriptor() ([]byte, []int)
- 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 (m *RequestQuery) MarshalToSizedBuffer(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 (m *RequestQuery) XXX_Merge(src proto.Message)
- func (m *RequestQuery) XXX_Size() int
- func (m *RequestQuery) XXX_Unmarshal(b []byte) error
- type RequestVerifyVoteExtension
- func (*RequestVerifyVoteExtension) Descriptor() ([]byte, []int)
- func (m *RequestVerifyVoteExtension) GetHash() []byte
- func (m *RequestVerifyVoteExtension) GetHeight() int64
- func (m *RequestVerifyVoteExtension) GetValidatorAddress() []byte
- func (m *RequestVerifyVoteExtension) GetVoteExtension() []byte
- func (m *RequestVerifyVoteExtension) Marshal() (dAtA []byte, err error)
- func (m *RequestVerifyVoteExtension) MarshalTo(dAtA []byte) (int, error)
- func (m *RequestVerifyVoteExtension) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RequestVerifyVoteExtension) ProtoMessage()
- func (m *RequestVerifyVoteExtension) Reset()
- func (m *RequestVerifyVoteExtension) Size() (n int)
- func (m *RequestVerifyVoteExtension) String() string
- func (m *RequestVerifyVoteExtension) Unmarshal(dAtA []byte) error
- func (m *RequestVerifyVoteExtension) XXX_DiscardUnknown()
- func (m *RequestVerifyVoteExtension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RequestVerifyVoteExtension) XXX_Merge(src proto.Message)
- func (m *RequestVerifyVoteExtension) XXX_Size() int
- func (m *RequestVerifyVoteExtension) XXX_Unmarshal(b []byte) error
- type Request_ApplySnapshotChunk
- type Request_CheckTx
- type Request_Commit
- type Request_Echo
- type Request_ExtendVote
- type Request_FinalizeBlock
- type Request_Flush
- type Request_Info
- type Request_InitChain
- type Request_ListSnapshots
- type Request_LoadSnapshotChunk
- type Request_OfferSnapshot
- type Request_PrepareProposal
- type Request_ProcessProposal
- type Request_Query
- type Request_VerifyVoteExtension
- type Response
- func ToResponseApplySnapshotChunk(res *ResponseApplySnapshotChunk) *Response
- func ToResponseCheckTx(res *ResponseCheckTx) *Response
- func ToResponseCommit(res *ResponseCommit) *Response
- func ToResponseEcho(message string) *Response
- func ToResponseException(errStr string) *Response
- func ToResponseExtendVote(res *ResponseExtendVote) *Response
- func ToResponseFinalizeBlock(res *ResponseFinalizeBlock) *Response
- func ToResponseFlush() *Response
- func ToResponseInfo(res *ResponseInfo) *Response
- func ToResponseInitChain(res *ResponseInitChain) *Response
- func ToResponseListSnapshots(res *ResponseListSnapshots) *Response
- func ToResponseLoadSnapshotChunk(res *ResponseLoadSnapshotChunk) *Response
- func ToResponseOfferSnapshot(res *ResponseOfferSnapshot) *Response
- func ToResponsePrepareProposal(res *ResponsePrepareProposal) *Response
- func ToResponseProcessProposal(res *ResponseProcessProposal) *Response
- func ToResponseQuery(res *ResponseQuery) *Response
- func ToResponseVerifyVoteExtension(res *ResponseVerifyVoteExtension) *Response
- func (*Response) Descriptor() ([]byte, []int)
- func (m *Response) GetApplySnapshotChunk() *ResponseApplySnapshotChunk
- func (m *Response) GetCheckTx() *ResponseCheckTx
- func (m *Response) GetCommit() *ResponseCommit
- func (m *Response) GetEcho() *ResponseEcho
- func (m *Response) GetException() *ResponseException
- func (m *Response) GetExtendVote() *ResponseExtendVote
- func (m *Response) GetFinalizeBlock() *ResponseFinalizeBlock
- func (m *Response) GetFlush() *ResponseFlush
- func (m *Response) GetInfo() *ResponseInfo
- func (m *Response) GetInitChain() *ResponseInitChain
- func (m *Response) GetListSnapshots() *ResponseListSnapshots
- func (m *Response) GetLoadSnapshotChunk() *ResponseLoadSnapshotChunk
- func (m *Response) GetOfferSnapshot() *ResponseOfferSnapshot
- func (m *Response) GetPrepareProposal() *ResponsePrepareProposal
- func (m *Response) GetProcessProposal() *ResponseProcessProposal
- func (m *Response) GetQuery() *ResponseQuery
- func (m *Response) GetValue() isResponse_Value
- func (m *Response) GetVerifyVoteExtension() *ResponseVerifyVoteExtension
- func (m *Response) Marshal() (dAtA []byte, err error)
- func (m *Response) MarshalTo(dAtA []byte) (int, error)
- func (m *Response) MarshalToSizedBuffer(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 (m *Response) XXX_Merge(src proto.Message)
- func (*Response) XXX_OneofWrappers() []interface{}
- func (m *Response) XXX_Size() int
- func (m *Response) XXX_Unmarshal(b []byte) error
- type ResponseApplySnapshotChunk
- func (*ResponseApplySnapshotChunk) Descriptor() ([]byte, []int)
- func (m *ResponseApplySnapshotChunk) GetRefetchChunks() []uint32
- func (m *ResponseApplySnapshotChunk) GetRejectSenders() []string
- func (m *ResponseApplySnapshotChunk) GetResult() ResponseApplySnapshotChunk_Result
- func (m *ResponseApplySnapshotChunk) Marshal() (dAtA []byte, err error)
- func (m *ResponseApplySnapshotChunk) MarshalTo(dAtA []byte) (int, error)
- func (m *ResponseApplySnapshotChunk) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ResponseApplySnapshotChunk) ProtoMessage()
- func (m *ResponseApplySnapshotChunk) Reset()
- func (m *ResponseApplySnapshotChunk) Size() (n int)
- func (m *ResponseApplySnapshotChunk) String() string
- func (m *ResponseApplySnapshotChunk) Unmarshal(dAtA []byte) error
- func (m *ResponseApplySnapshotChunk) XXX_DiscardUnknown()
- func (m *ResponseApplySnapshotChunk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResponseApplySnapshotChunk) XXX_Merge(src proto.Message)
- func (m *ResponseApplySnapshotChunk) XXX_Size() int
- func (m *ResponseApplySnapshotChunk) XXX_Unmarshal(b []byte) error
- type ResponseApplySnapshotChunk_Result
- type ResponseCheckTx
- func (*ResponseCheckTx) Descriptor() ([]byte, []int)
- func (m *ResponseCheckTx) GetCode() uint32
- func (m *ResponseCheckTx) GetCodespace() string
- func (m *ResponseCheckTx) GetData() []byte
- func (m *ResponseCheckTx) GetEvents() []Event
- func (m *ResponseCheckTx) GetGasUsed() int64
- func (m *ResponseCheckTx) GetGasWanted() int64
- func (m *ResponseCheckTx) GetInfo() string
- func (m *ResponseCheckTx) GetLog() string
- 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 (m *ResponseCheckTx) MarshalToSizedBuffer(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 (m *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 (m *ResponseCommit) GetRetainHeight() int64
- func (m *ResponseCommit) Marshal() (dAtA []byte, err error)
- func (r *ResponseCommit) MarshalJSON() ([]byte, error)
- func (m *ResponseCommit) MarshalTo(dAtA []byte) (int, error)
- func (m *ResponseCommit) MarshalToSizedBuffer(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 (m *ResponseCommit) XXX_Merge(src proto.Message)
- func (m *ResponseCommit) XXX_Size() int
- func (m *ResponseCommit) XXX_Unmarshal(b []byte) error
- type ResponseEcho
- func (*ResponseEcho) Descriptor() ([]byte, []int)
- func (m *ResponseEcho) GetMessage() string
- func (m *ResponseEcho) Marshal() (dAtA []byte, err error)
- func (m *ResponseEcho) MarshalTo(dAtA []byte) (int, error)
- func (m *ResponseEcho) MarshalToSizedBuffer(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 (m *ResponseEcho) XXX_Merge(src proto.Message)
- func (m *ResponseEcho) XXX_Size() int
- func (m *ResponseEcho) XXX_Unmarshal(b []byte) error
- type ResponseException
- func (*ResponseException) Descriptor() ([]byte, []int)
- func (m *ResponseException) GetError() string
- func (m *ResponseException) Marshal() (dAtA []byte, err error)
- func (m *ResponseException) MarshalTo(dAtA []byte) (int, error)
- func (m *ResponseException) MarshalToSizedBuffer(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 (m *ResponseException) XXX_Merge(src proto.Message)
- func (m *ResponseException) XXX_Size() int
- func (m *ResponseException) XXX_Unmarshal(b []byte) error
- type ResponseExtendVote
- func (*ResponseExtendVote) Descriptor() ([]byte, []int)
- func (m *ResponseExtendVote) GetVoteExtension() []byte
- func (m *ResponseExtendVote) Marshal() (dAtA []byte, err error)
- func (m *ResponseExtendVote) MarshalTo(dAtA []byte) (int, error)
- func (m *ResponseExtendVote) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ResponseExtendVote) ProtoMessage()
- func (m *ResponseExtendVote) Reset()
- func (m *ResponseExtendVote) Size() (n int)
- func (m *ResponseExtendVote) String() string
- func (m *ResponseExtendVote) Unmarshal(dAtA []byte) error
- func (m *ResponseExtendVote) XXX_DiscardUnknown()
- func (m *ResponseExtendVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResponseExtendVote) XXX_Merge(src proto.Message)
- func (m *ResponseExtendVote) XXX_Size() int
- func (m *ResponseExtendVote) XXX_Unmarshal(b []byte) error
- type ResponseFinalizeBlock
- func (*ResponseFinalizeBlock) Descriptor() ([]byte, []int)
- func (m *ResponseFinalizeBlock) GetAppHash() []byte
- func (m *ResponseFinalizeBlock) GetConsensusParamUpdates() *types1.ConsensusParams
- func (m *ResponseFinalizeBlock) GetEvents() []Event
- func (m *ResponseFinalizeBlock) GetTxResults() []*ExecTxResult
- func (m *ResponseFinalizeBlock) GetValidatorUpdates() []ValidatorUpdate
- func (m *ResponseFinalizeBlock) Marshal() (dAtA []byte, err error)
- func (m *ResponseFinalizeBlock) MarshalTo(dAtA []byte) (int, error)
- func (m *ResponseFinalizeBlock) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ResponseFinalizeBlock) ProtoMessage()
- func (m *ResponseFinalizeBlock) Reset()
- func (m *ResponseFinalizeBlock) Size() (n int)
- func (m *ResponseFinalizeBlock) String() string
- func (m *ResponseFinalizeBlock) Unmarshal(dAtA []byte) error
- func (m *ResponseFinalizeBlock) XXX_DiscardUnknown()
- func (m *ResponseFinalizeBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResponseFinalizeBlock) XXX_Merge(src proto.Message)
- func (m *ResponseFinalizeBlock) XXX_Size() int
- func (m *ResponseFinalizeBlock) XXX_Unmarshal(b []byte) error
- type ResponseFlush
- func (*ResponseFlush) Descriptor() ([]byte, []int)
- func (m *ResponseFlush) Marshal() (dAtA []byte, err error)
- func (m *ResponseFlush) MarshalTo(dAtA []byte) (int, error)
- func (m *ResponseFlush) MarshalToSizedBuffer(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 (m *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 (m *ResponseInfo) GetAppVersion() uint64
- 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 (m *ResponseInfo) MarshalToSizedBuffer(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 (m *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 (m *ResponseInitChain) GetAppHash() []byte
- func (m *ResponseInitChain) GetConsensusParams() *types1.ConsensusParams
- func (m *ResponseInitChain) GetValidators() []ValidatorUpdate
- func (m *ResponseInitChain) Marshal() (dAtA []byte, err error)
- func (m *ResponseInitChain) MarshalTo(dAtA []byte) (int, error)
- func (m *ResponseInitChain) MarshalToSizedBuffer(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 (m *ResponseInitChain) XXX_Merge(src proto.Message)
- func (m *ResponseInitChain) XXX_Size() int
- func (m *ResponseInitChain) XXX_Unmarshal(b []byte) error
- type ResponseListSnapshots
- func (*ResponseListSnapshots) Descriptor() ([]byte, []int)
- func (m *ResponseListSnapshots) GetSnapshots() []*Snapshot
- func (m *ResponseListSnapshots) Marshal() (dAtA []byte, err error)
- func (m *ResponseListSnapshots) MarshalTo(dAtA []byte) (int, error)
- func (m *ResponseListSnapshots) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ResponseListSnapshots) ProtoMessage()
- func (m *ResponseListSnapshots) Reset()
- func (m *ResponseListSnapshots) Size() (n int)
- func (m *ResponseListSnapshots) String() string
- func (m *ResponseListSnapshots) Unmarshal(dAtA []byte) error
- func (m *ResponseListSnapshots) XXX_DiscardUnknown()
- func (m *ResponseListSnapshots) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResponseListSnapshots) XXX_Merge(src proto.Message)
- func (m *ResponseListSnapshots) XXX_Size() int
- func (m *ResponseListSnapshots) XXX_Unmarshal(b []byte) error
- type ResponseLoadSnapshotChunk
- func (*ResponseLoadSnapshotChunk) Descriptor() ([]byte, []int)
- func (m *ResponseLoadSnapshotChunk) GetChunk() []byte
- func (m *ResponseLoadSnapshotChunk) Marshal() (dAtA []byte, err error)
- func (m *ResponseLoadSnapshotChunk) MarshalTo(dAtA []byte) (int, error)
- func (m *ResponseLoadSnapshotChunk) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ResponseLoadSnapshotChunk) ProtoMessage()
- func (m *ResponseLoadSnapshotChunk) Reset()
- func (m *ResponseLoadSnapshotChunk) Size() (n int)
- func (m *ResponseLoadSnapshotChunk) String() string
- func (m *ResponseLoadSnapshotChunk) Unmarshal(dAtA []byte) error
- func (m *ResponseLoadSnapshotChunk) XXX_DiscardUnknown()
- func (m *ResponseLoadSnapshotChunk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResponseLoadSnapshotChunk) XXX_Merge(src proto.Message)
- func (m *ResponseLoadSnapshotChunk) XXX_Size() int
- func (m *ResponseLoadSnapshotChunk) XXX_Unmarshal(b []byte) error
- type ResponseOfferSnapshot
- func (*ResponseOfferSnapshot) Descriptor() ([]byte, []int)
- func (m *ResponseOfferSnapshot) GetResult() ResponseOfferSnapshot_Result
- func (m *ResponseOfferSnapshot) Marshal() (dAtA []byte, err error)
- func (m *ResponseOfferSnapshot) MarshalTo(dAtA []byte) (int, error)
- func (m *ResponseOfferSnapshot) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ResponseOfferSnapshot) ProtoMessage()
- func (m *ResponseOfferSnapshot) Reset()
- func (m *ResponseOfferSnapshot) Size() (n int)
- func (m *ResponseOfferSnapshot) String() string
- func (m *ResponseOfferSnapshot) Unmarshal(dAtA []byte) error
- func (m *ResponseOfferSnapshot) XXX_DiscardUnknown()
- func (m *ResponseOfferSnapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResponseOfferSnapshot) XXX_Merge(src proto.Message)
- func (m *ResponseOfferSnapshot) XXX_Size() int
- func (m *ResponseOfferSnapshot) XXX_Unmarshal(b []byte) error
- type ResponseOfferSnapshot_Result
- type ResponsePrepareProposal
- func (*ResponsePrepareProposal) Descriptor() ([]byte, []int)
- func (m *ResponsePrepareProposal) GetTxs() [][]byte
- func (m *ResponsePrepareProposal) Marshal() (dAtA []byte, err error)
- func (m *ResponsePrepareProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *ResponsePrepareProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ResponsePrepareProposal) ProtoMessage()
- func (m *ResponsePrepareProposal) Reset()
- func (m *ResponsePrepareProposal) Size() (n int)
- func (m *ResponsePrepareProposal) String() string
- func (m *ResponsePrepareProposal) Unmarshal(dAtA []byte) error
- func (m *ResponsePrepareProposal) XXX_DiscardUnknown()
- func (m *ResponsePrepareProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResponsePrepareProposal) XXX_Merge(src proto.Message)
- func (m *ResponsePrepareProposal) XXX_Size() int
- func (m *ResponsePrepareProposal) XXX_Unmarshal(b []byte) error
- type ResponseProcessProposal
- func (*ResponseProcessProposal) Descriptor() ([]byte, []int)
- func (m *ResponseProcessProposal) GetStatus() ResponseProcessProposal_ProposalStatus
- func (r ResponseProcessProposal) IsAccepted() bool
- func (r ResponseProcessProposal) IsStatusUnknown() bool
- func (m *ResponseProcessProposal) Marshal() (dAtA []byte, err error)
- func (m *ResponseProcessProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *ResponseProcessProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ResponseProcessProposal) ProtoMessage()
- func (m *ResponseProcessProposal) Reset()
- func (m *ResponseProcessProposal) Size() (n int)
- func (m *ResponseProcessProposal) String() string
- func (m *ResponseProcessProposal) Unmarshal(dAtA []byte) error
- func (m *ResponseProcessProposal) XXX_DiscardUnknown()
- func (m *ResponseProcessProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResponseProcessProposal) XXX_Merge(src proto.Message)
- func (m *ResponseProcessProposal) XXX_Size() int
- func (m *ResponseProcessProposal) XXX_Unmarshal(b []byte) error
- type ResponseProcessProposal_ProposalStatus
- type ResponseQuery
- func (*ResponseQuery) Descriptor() ([]byte, []int)
- func (m *ResponseQuery) GetCode() uint32
- func (m *ResponseQuery) GetCodespace() string
- 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) GetProofOps() *crypto.ProofOps
- 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 (m *ResponseQuery) MarshalToSizedBuffer(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 (m *ResponseQuery) XXX_Merge(src proto.Message)
- func (m *ResponseQuery) XXX_Size() int
- func (m *ResponseQuery) XXX_Unmarshal(b []byte) error
- type ResponseVerifyVoteExtension
- func (*ResponseVerifyVoteExtension) Descriptor() ([]byte, []int)
- func (m *ResponseVerifyVoteExtension) GetStatus() ResponseVerifyVoteExtension_VerifyStatus
- func (r ResponseVerifyVoteExtension) IsAccepted() bool
- func (r ResponseVerifyVoteExtension) IsStatusUnknown() bool
- func (m *ResponseVerifyVoteExtension) Marshal() (dAtA []byte, err error)
- func (m *ResponseVerifyVoteExtension) MarshalTo(dAtA []byte) (int, error)
- func (m *ResponseVerifyVoteExtension) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ResponseVerifyVoteExtension) ProtoMessage()
- func (m *ResponseVerifyVoteExtension) Reset()
- func (m *ResponseVerifyVoteExtension) Size() (n int)
- func (m *ResponseVerifyVoteExtension) String() string
- func (m *ResponseVerifyVoteExtension) Unmarshal(dAtA []byte) error
- func (m *ResponseVerifyVoteExtension) XXX_DiscardUnknown()
- func (m *ResponseVerifyVoteExtension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResponseVerifyVoteExtension) XXX_Merge(src proto.Message)
- func (m *ResponseVerifyVoteExtension) XXX_Size() int
- func (m *ResponseVerifyVoteExtension) XXX_Unmarshal(b []byte) error
- type ResponseVerifyVoteExtension_VerifyStatus
- type Response_ApplySnapshotChunk
- type Response_CheckTx
- type Response_Commit
- type Response_Echo
- type Response_Exception
- type Response_ExtendVote
- type Response_FinalizeBlock
- type Response_Flush
- type Response_Info
- type Response_InitChain
- type Response_ListSnapshots
- type Response_LoadSnapshotChunk
- type Response_OfferSnapshot
- type Response_PrepareProposal
- type Response_ProcessProposal
- type Response_Query
- type Response_VerifyVoteExtension
- type Snapshot
- func (*Snapshot) Descriptor() ([]byte, []int)
- func (m *Snapshot) GetChunks() uint32
- func (m *Snapshot) GetFormat() uint32
- func (m *Snapshot) GetHash() []byte
- func (m *Snapshot) GetHeight() uint64
- func (m *Snapshot) GetMetadata() []byte
- func (m *Snapshot) Marshal() (dAtA []byte, err error)
- func (m *Snapshot) MarshalTo(dAtA []byte) (int, error)
- func (m *Snapshot) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Snapshot) ProtoMessage()
- func (m *Snapshot) Reset()
- func (m *Snapshot) Size() (n int)
- func (m *Snapshot) String() string
- func (m *Snapshot) Unmarshal(dAtA []byte) error
- func (m *Snapshot) XXX_DiscardUnknown()
- func (m *Snapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Snapshot) XXX_Merge(src proto.Message)
- func (m *Snapshot) XXX_Size() int
- func (m *Snapshot) XXX_Unmarshal(b []byte) error
- type TxResult
- func (*TxResult) Descriptor() ([]byte, []int)
- func (m *TxResult) GetHeight() int64
- func (m *TxResult) GetIndex() uint32
- func (m *TxResult) GetResult() ExecTxResult
- func (m *TxResult) GetTx() []byte
- func (m *TxResult) Marshal() (dAtA []byte, err error)
- func (m *TxResult) MarshalTo(dAtA []byte) (int, error)
- func (m *TxResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TxResult) ProtoMessage()
- func (m *TxResult) Reset()
- func (m *TxResult) Size() (n int)
- func (m *TxResult) String() string
- func (m *TxResult) Unmarshal(dAtA []byte) error
- func (m *TxResult) XXX_DiscardUnknown()
- func (m *TxResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxResult) XXX_Merge(src proto.Message)
- func (m *TxResult) XXX_Size() int
- func (m *TxResult) XXX_Unmarshal(b []byte) error
- type UnimplementedABCIServer
- func (*UnimplementedABCIServer) ApplySnapshotChunk(ctx context.Context, req *RequestApplySnapshotChunk) (*ResponseApplySnapshotChunk, error)
- func (*UnimplementedABCIServer) CheckTx(ctx context.Context, req *RequestCheckTx) (*ResponseCheckTx, error)
- func (*UnimplementedABCIServer) Commit(ctx context.Context, req *RequestCommit) (*ResponseCommit, error)
- func (*UnimplementedABCIServer) Echo(ctx context.Context, req *RequestEcho) (*ResponseEcho, error)
- func (*UnimplementedABCIServer) ExtendVote(ctx context.Context, req *RequestExtendVote) (*ResponseExtendVote, error)
- func (*UnimplementedABCIServer) FinalizeBlock(ctx context.Context, req *RequestFinalizeBlock) (*ResponseFinalizeBlock, error)
- func (*UnimplementedABCIServer) Flush(ctx context.Context, req *RequestFlush) (*ResponseFlush, error)
- func (*UnimplementedABCIServer) Info(ctx context.Context, req *RequestInfo) (*ResponseInfo, error)
- func (*UnimplementedABCIServer) InitChain(ctx context.Context, req *RequestInitChain) (*ResponseInitChain, error)
- func (*UnimplementedABCIServer) ListSnapshots(ctx context.Context, req *RequestListSnapshots) (*ResponseListSnapshots, error)
- func (*UnimplementedABCIServer) LoadSnapshotChunk(ctx context.Context, req *RequestLoadSnapshotChunk) (*ResponseLoadSnapshotChunk, error)
- func (*UnimplementedABCIServer) OfferSnapshot(ctx context.Context, req *RequestOfferSnapshot) (*ResponseOfferSnapshot, error)
- func (*UnimplementedABCIServer) PrepareProposal(ctx context.Context, req *RequestPrepareProposal) (*ResponsePrepareProposal, error)
- func (*UnimplementedABCIServer) ProcessProposal(ctx context.Context, req *RequestProcessProposal) (*ResponseProcessProposal, error)
- func (*UnimplementedABCIServer) Query(ctx context.Context, req *RequestQuery) (*ResponseQuery, error)
- func (*UnimplementedABCIServer) VerifyVoteExtension(ctx context.Context, req *RequestVerifyVoteExtension) (*ResponseVerifyVoteExtension, error)
- type Validator
- func (*Validator) Descriptor() ([]byte, []int)
- 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 (m *Validator) MarshalToSizedBuffer(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 (m *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 (m *ValidatorUpdate) GetPower() int64
- func (m *ValidatorUpdate) GetPubKey() crypto.PublicKey
- func (m *ValidatorUpdate) Marshal() (dAtA []byte, err error)
- func (m *ValidatorUpdate) MarshalTo(dAtA []byte) (int, error)
- func (m *ValidatorUpdate) MarshalToSizedBuffer(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 (m *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 (m *VoteInfo) GetBlockIdFlag() types1.BlockIDFlag
- func (m *VoteInfo) GetValidator() Validator
- func (m *VoteInfo) Marshal() (dAtA []byte, err error)
- func (m *VoteInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *VoteInfo) MarshalToSizedBuffer(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 (m *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
)
Variables ¶
var ( ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group") )
var ABCI_serviceDesc = _ABCI_serviceDesc
var CheckTxType_name = map[int32]string{
0: "NEW",
1: "RECHECK",
}
var CheckTxType_value = map[string]int32{
"NEW": 0,
"RECHECK": 1,
}
var MisbehaviorType_name = map[int32]string{
0: "UNKNOWN",
1: "DUPLICATE_VOTE",
2: "LIGHT_CLIENT_ATTACK",
}
var MisbehaviorType_value = map[string]int32{
"UNKNOWN": 0,
"DUPLICATE_VOTE": 1,
"LIGHT_CLIENT_ATTACK": 2,
}
var ResponseApplySnapshotChunk_Result_name = map[int32]string{
0: "UNKNOWN",
1: "ACCEPT",
2: "ABORT",
3: "RETRY",
4: "RETRY_SNAPSHOT",
5: "REJECT_SNAPSHOT",
}
var ResponseApplySnapshotChunk_Result_value = map[string]int32{
"UNKNOWN": 0,
"ACCEPT": 1,
"ABORT": 2,
"RETRY": 3,
"RETRY_SNAPSHOT": 4,
"REJECT_SNAPSHOT": 5,
}
var ResponseOfferSnapshot_Result_name = map[int32]string{
0: "UNKNOWN",
1: "ACCEPT",
2: "ABORT",
3: "REJECT",
4: "REJECT_FORMAT",
5: "REJECT_SENDER",
}
var ResponseOfferSnapshot_Result_value = map[string]int32{
"UNKNOWN": 0,
"ACCEPT": 1,
"ABORT": 2,
"REJECT": 3,
"REJECT_FORMAT": 4,
"REJECT_SENDER": 5,
}
var ResponseProcessProposal_ProposalStatus_name = map[int32]string{
0: "UNKNOWN",
1: "ACCEPT",
2: "REJECT",
}
var ResponseProcessProposal_ProposalStatus_value = map[string]int32{
"UNKNOWN": 0,
"ACCEPT": 1,
"REJECT": 2,
}
var ResponseVerifyVoteExtension_VerifyStatus_name = map[int32]string{
0: "UNKNOWN",
1: "ACCEPT",
2: "REJECT",
}
var ResponseVerifyVoteExtension_VerifyStatus_value = map[string]int32{
"UNKNOWN": 0,
"ACCEPT": 1,
"REJECT": 2,
}
Functions ¶
func MarshalTxResults ¶ added in v0.38.0
func MarshalTxResults(r []*ExecTxResult) ([][]byte, error)
MarshalTxResults encodes the the TxResults as a list of byte slices. It strips off the non-deterministic pieces of the TxResults so that the resulting data can be used for hash comparisons and used in Merkle proofs.
func ReadMessage ¶
ReadMessage reads a varint length-delimited protobuf message.
func RegisterABCIServer ¶ added in v0.38.0
func RegisterABCIServer(s grpc1.Server, srv ABCIServer)
Types ¶
type ABCIClient ¶ added in v0.38.0
type ABCIClient 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) 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) ListSnapshots(ctx context.Context, in *RequestListSnapshots, opts ...grpc.CallOption) (*ResponseListSnapshots, error) OfferSnapshot(ctx context.Context, in *RequestOfferSnapshot, opts ...grpc.CallOption) (*ResponseOfferSnapshot, error) LoadSnapshotChunk(ctx context.Context, in *RequestLoadSnapshotChunk, opts ...grpc.CallOption) (*ResponseLoadSnapshotChunk, error) ApplySnapshotChunk(ctx context.Context, in *RequestApplySnapshotChunk, opts ...grpc.CallOption) (*ResponseApplySnapshotChunk, error) PrepareProposal(ctx context.Context, in *RequestPrepareProposal, opts ...grpc.CallOption) (*ResponsePrepareProposal, error) ProcessProposal(ctx context.Context, in *RequestProcessProposal, opts ...grpc.CallOption) (*ResponseProcessProposal, error) ExtendVote(ctx context.Context, in *RequestExtendVote, opts ...grpc.CallOption) (*ResponseExtendVote, error) VerifyVoteExtension(ctx context.Context, in *RequestVerifyVoteExtension, opts ...grpc.CallOption) (*ResponseVerifyVoteExtension, error) FinalizeBlock(ctx context.Context, in *RequestFinalizeBlock, opts ...grpc.CallOption) (*ResponseFinalizeBlock, error) }
ABCIClient is the client API for ABCI service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewABCIClient ¶ added in v0.38.0
func NewABCIClient(cc grpc1.ClientConn) ABCIClient
type ABCIServer ¶ added in v0.38.0
type ABCIServer interface { Echo(context.Context, *RequestEcho) (*ResponseEcho, error) Flush(context.Context, *RequestFlush) (*ResponseFlush, error) Info(context.Context, *RequestInfo) (*ResponseInfo, 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) ListSnapshots(context.Context, *RequestListSnapshots) (*ResponseListSnapshots, error) OfferSnapshot(context.Context, *RequestOfferSnapshot) (*ResponseOfferSnapshot, error) LoadSnapshotChunk(context.Context, *RequestLoadSnapshotChunk) (*ResponseLoadSnapshotChunk, error) ApplySnapshotChunk(context.Context, *RequestApplySnapshotChunk) (*ResponseApplySnapshotChunk, error) PrepareProposal(context.Context, *RequestPrepareProposal) (*ResponsePrepareProposal, error) ProcessProposal(context.Context, *RequestProcessProposal) (*ResponseProcessProposal, error) ExtendVote(context.Context, *RequestExtendVote) (*ResponseExtendVote, error) VerifyVoteExtension(context.Context, *RequestVerifyVoteExtension) (*ResponseVerifyVoteExtension, error) FinalizeBlock(context.Context, *RequestFinalizeBlock) (*ResponseFinalizeBlock, error) }
ABCIServer is the server API for ABCI service.
type Application ¶
type Application interface { // Info/Query Connection Info(context.Context, *RequestInfo) (*ResponseInfo, error) // Return application info Query(context.Context, *RequestQuery) (*ResponseQuery, error) // Query for state // Mempool Connection CheckTx(context.Context, *RequestCheckTx) (*ResponseCheckTx, error) // Validate a tx for the mempool // Consensus Connection InitChain(context.Context, *RequestInitChain) (*ResponseInitChain, error) // Initialize blockchain w validators/other info from CometBFT PrepareProposal(context.Context, *RequestPrepareProposal) (*ResponsePrepareProposal, error) ProcessProposal(context.Context, *RequestProcessProposal) (*ResponseProcessProposal, error) // Deliver the decided block with its txs to the Application FinalizeBlock(context.Context, *RequestFinalizeBlock) (*ResponseFinalizeBlock, error) // Create application specific vote extension ExtendVote(context.Context, *RequestExtendVote) (*ResponseExtendVote, error) // Verify application's vote extension data VerifyVoteExtension(context.Context, *RequestVerifyVoteExtension) (*ResponseVerifyVoteExtension, error) // Commit the state and return the application Merkle root hash Commit(context.Context, *RequestCommit) (*ResponseCommit, error) // State Sync Connection ListSnapshots(context.Context, *RequestListSnapshots) (*ResponseListSnapshots, error) // List available snapshots OfferSnapshot(context.Context, *RequestOfferSnapshot) (*ResponseOfferSnapshot, error) // Offer a snapshot to the application LoadSnapshotChunk(context.Context, *RequestLoadSnapshotChunk) (*ResponseLoadSnapshotChunk, error) // Load a snapshot chunk ApplySnapshotChunk(context.Context, *RequestApplySnapshotChunk) (*ResponseApplySnapshotChunk, error) // Apply a shapshot chunk }
Application is an interface that enables any finite, deterministic state machine to be driven by a blockchain-based replication engine via the ABCI.
type BaseApplication ¶
type BaseApplication struct{}
func NewBaseApplication ¶
func NewBaseApplication() *BaseApplication
func (BaseApplication) ApplySnapshotChunk ¶
func (BaseApplication) ApplySnapshotChunk(context.Context, *RequestApplySnapshotChunk) (*ResponseApplySnapshotChunk, error)
func (BaseApplication) CheckTx ¶
func (BaseApplication) CheckTx(context.Context, *RequestCheckTx) (*ResponseCheckTx, error)
func (BaseApplication) Commit ¶
func (BaseApplication) Commit(context.Context, *RequestCommit) (*ResponseCommit, error)
func (BaseApplication) ExtendVote ¶ added in v0.38.0
func (BaseApplication) ExtendVote(context.Context, *RequestExtendVote) (*ResponseExtendVote, error)
func (BaseApplication) FinalizeBlock ¶ added in v0.38.0
func (BaseApplication) FinalizeBlock(_ context.Context, req *RequestFinalizeBlock) (*ResponseFinalizeBlock, error)
func (BaseApplication) Info ¶
func (BaseApplication) Info(context.Context, *RequestInfo) (*ResponseInfo, error)
func (BaseApplication) InitChain ¶
func (BaseApplication) InitChain(context.Context, *RequestInitChain) (*ResponseInitChain, error)
func (BaseApplication) ListSnapshots ¶
func (BaseApplication) ListSnapshots(context.Context, *RequestListSnapshots) (*ResponseListSnapshots, error)
func (BaseApplication) LoadSnapshotChunk ¶
func (BaseApplication) LoadSnapshotChunk(context.Context, *RequestLoadSnapshotChunk) (*ResponseLoadSnapshotChunk, error)
func (BaseApplication) OfferSnapshot ¶
func (BaseApplication) OfferSnapshot(context.Context, *RequestOfferSnapshot) (*ResponseOfferSnapshot, error)
func (BaseApplication) PrepareProposal ¶
func (BaseApplication) PrepareProposal(_ context.Context, req *RequestPrepareProposal) (*ResponsePrepareProposal, error)
func (BaseApplication) ProcessProposal ¶
func (BaseApplication) ProcessProposal(context.Context, *RequestProcessProposal) (*ResponseProcessProposal, error)
func (BaseApplication) Query ¶
func (BaseApplication) Query(context.Context, *RequestQuery) (*ResponseQuery, error)
func (BaseApplication) VerifyVoteExtension ¶ added in v0.38.0
func (BaseApplication) VerifyVoteExtension(context.Context, *RequestVerifyVoteExtension) (*ResponseVerifyVoteExtension, error)
type CheckTxType ¶
type CheckTxType int32
const ( CheckTxType_New CheckTxType = 0 CheckTxType_Recheck CheckTxType = 1 )
func (CheckTxType) EnumDescriptor ¶
func (CheckTxType) EnumDescriptor() ([]byte, []int)
func (CheckTxType) String ¶
func (x CheckTxType) String() string
type CommitInfo ¶
type CommitInfo struct { Round int32 `protobuf:"varint,1,opt,name=round,proto3" json:"round,omitempty"` Votes []VoteInfo `protobuf:"bytes,2,rep,name=votes,proto3" json:"votes"` }
func (*CommitInfo) Descriptor ¶
func (*CommitInfo) Descriptor() ([]byte, []int)
func (*CommitInfo) GetRound ¶
func (m *CommitInfo) GetRound() int32
func (*CommitInfo) GetVotes ¶
func (m *CommitInfo) GetVotes() []VoteInfo
func (*CommitInfo) Marshal ¶
func (m *CommitInfo) Marshal() (dAtA []byte, err error)
func (*CommitInfo) MarshalToSizedBuffer ¶
func (m *CommitInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CommitInfo) ProtoMessage ¶
func (*CommitInfo) ProtoMessage()
func (*CommitInfo) Reset ¶
func (m *CommitInfo) Reset()
func (*CommitInfo) Size ¶
func (m *CommitInfo) Size() (n int)
func (*CommitInfo) String ¶
func (m *CommitInfo) String() string
func (*CommitInfo) Unmarshal ¶
func (m *CommitInfo) Unmarshal(dAtA []byte) error
func (*CommitInfo) XXX_DiscardUnknown ¶
func (m *CommitInfo) XXX_DiscardUnknown()
func (*CommitInfo) XXX_Marshal ¶
func (m *CommitInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CommitInfo) XXX_Merge ¶
func (m *CommitInfo) XXX_Merge(src proto.Message)
func (*CommitInfo) XXX_Size ¶
func (m *CommitInfo) XXX_Size() int
func (*CommitInfo) XXX_Unmarshal ¶
func (m *CommitInfo) XXX_Unmarshal(b []byte) error
type Event ¶
type Event struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Attributes []EventAttribute `protobuf:"bytes,2,rep,name=attributes,proto3" json:"attributes,omitempty"` }
Event allows application developers to attach additional information to ResponseFinalizeBlock and ResponseCheckTx. Later, transactions may be queried using these events.
func (*Event) Descriptor ¶
func (*Event) GetAttributes ¶
func (m *Event) GetAttributes() []EventAttribute
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) XXX_DiscardUnknown ¶
func (m *Event) XXX_DiscardUnknown()
func (*Event) XXX_Marshal ¶
func (*Event) XXX_Unmarshal ¶
type EventAttribute ¶
type EventAttribute 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"` Index bool `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"` }
EventAttribute is a single key-value pair, associated with an event.
func (*EventAttribute) Descriptor ¶
func (*EventAttribute) Descriptor() ([]byte, []int)
func (*EventAttribute) GetIndex ¶
func (m *EventAttribute) GetIndex() bool
func (*EventAttribute) GetKey ¶
func (m *EventAttribute) GetKey() string
func (*EventAttribute) GetValue ¶
func (m *EventAttribute) GetValue() string
func (*EventAttribute) Marshal ¶
func (m *EventAttribute) Marshal() (dAtA []byte, err error)
func (*EventAttribute) MarshalJSON ¶
func (r *EventAttribute) MarshalJSON() ([]byte, error)
func (*EventAttribute) MarshalToSizedBuffer ¶
func (m *EventAttribute) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventAttribute) ProtoMessage ¶
func (*EventAttribute) ProtoMessage()
func (*EventAttribute) Reset ¶
func (m *EventAttribute) Reset()
func (*EventAttribute) Size ¶
func (m *EventAttribute) Size() (n int)
func (*EventAttribute) String ¶
func (m *EventAttribute) String() string
func (*EventAttribute) Unmarshal ¶
func (m *EventAttribute) Unmarshal(dAtA []byte) error
func (*EventAttribute) UnmarshalJSON ¶
func (r *EventAttribute) UnmarshalJSON(b []byte) error
func (*EventAttribute) XXX_DiscardUnknown ¶
func (m *EventAttribute) XXX_DiscardUnknown()
func (*EventAttribute) XXX_Marshal ¶
func (m *EventAttribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventAttribute) XXX_Merge ¶
func (m *EventAttribute) XXX_Merge(src proto.Message)
func (*EventAttribute) XXX_Size ¶
func (m *EventAttribute) XXX_Size() int
func (*EventAttribute) XXX_Unmarshal ¶
func (m *EventAttribute) XXX_Unmarshal(b []byte) error
type ExecTxResult ¶ added in v0.38.0
type ExecTxResult 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,proto3" json:"gas_wanted,omitempty"` GasUsed int64 `protobuf:"varint,6,opt,name=gas_used,proto3" json:"gas_used,omitempty"` Events []Event `protobuf:"bytes,7,rep,name=events,proto3" json:"events,omitempty"` Codespace string `protobuf:"bytes,8,opt,name=codespace,proto3" json:"codespace,omitempty"` }
ExecTxResult contains results of executing one individual transaction.
* Its structure is equivalent to #ResponseDeliverTx which will be deprecated/deleted
func (*ExecTxResult) Descriptor ¶ added in v0.38.0
func (*ExecTxResult) Descriptor() ([]byte, []int)
func (*ExecTxResult) GetCode ¶ added in v0.38.0
func (m *ExecTxResult) GetCode() uint32
func (*ExecTxResult) GetCodespace ¶ added in v0.38.0
func (m *ExecTxResult) GetCodespace() string
func (*ExecTxResult) GetData ¶ added in v0.38.0
func (m *ExecTxResult) GetData() []byte
func (*ExecTxResult) GetEvents ¶ added in v0.38.0
func (m *ExecTxResult) GetEvents() []Event
func (*ExecTxResult) GetGasUsed ¶ added in v0.38.0
func (m *ExecTxResult) GetGasUsed() int64
func (*ExecTxResult) GetGasWanted ¶ added in v0.38.0
func (m *ExecTxResult) GetGasWanted() int64
func (*ExecTxResult) GetInfo ¶ added in v0.38.0
func (m *ExecTxResult) GetInfo() string
func (*ExecTxResult) GetLog ¶ added in v0.38.0
func (m *ExecTxResult) GetLog() string
func (ExecTxResult) IsErr ¶ added in v0.38.0
func (r ExecTxResult) IsErr() bool
IsErr returns true if Code is something other than OK.
func (ExecTxResult) IsOK ¶ added in v0.38.0
func (r ExecTxResult) IsOK() bool
IsOK returns true if Code is OK.
func (*ExecTxResult) Marshal ¶ added in v0.38.0
func (m *ExecTxResult) Marshal() (dAtA []byte, err error)
func (*ExecTxResult) MarshalJSON ¶ added in v0.38.0
func (r *ExecTxResult) MarshalJSON() ([]byte, error)
func (*ExecTxResult) MarshalTo ¶ added in v0.38.0
func (m *ExecTxResult) MarshalTo(dAtA []byte) (int, error)
func (*ExecTxResult) MarshalToSizedBuffer ¶ added in v0.38.0
func (m *ExecTxResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ExecTxResult) ProtoMessage ¶ added in v0.38.0
func (*ExecTxResult) ProtoMessage()
func (*ExecTxResult) Reset ¶ added in v0.38.0
func (m *ExecTxResult) Reset()
func (*ExecTxResult) Size ¶ added in v0.38.0
func (m *ExecTxResult) Size() (n int)
func (*ExecTxResult) String ¶ added in v0.38.0
func (m *ExecTxResult) String() string
func (*ExecTxResult) Unmarshal ¶ added in v0.38.0
func (m *ExecTxResult) Unmarshal(dAtA []byte) error
func (*ExecTxResult) UnmarshalJSON ¶ added in v0.38.0
func (r *ExecTxResult) UnmarshalJSON(b []byte) error
func (*ExecTxResult) XXX_DiscardUnknown ¶ added in v0.38.0
func (m *ExecTxResult) XXX_DiscardUnknown()
func (*ExecTxResult) XXX_Marshal ¶ added in v0.38.0
func (m *ExecTxResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExecTxResult) XXX_Merge ¶ added in v0.38.0
func (m *ExecTxResult) XXX_Merge(src proto.Message)
func (*ExecTxResult) XXX_Size ¶ added in v0.38.0
func (m *ExecTxResult) XXX_Size() int
func (*ExecTxResult) XXX_Unmarshal ¶ added in v0.38.0
func (m *ExecTxResult) XXX_Unmarshal(b []byte) error
type ExtendedCommitInfo ¶
type ExtendedCommitInfo struct { // The round at which the block proposer decided in the previous height. Round int32 `protobuf:"varint,1,opt,name=round,proto3" json:"round,omitempty"` // List of validators' addresses in the last validator set with their voting // information, including vote extensions. Votes []ExtendedVoteInfo `protobuf:"bytes,2,rep,name=votes,proto3" json:"votes"` }
ExtendedCommitInfo is similar to CommitInfo except that it is only used in the PrepareProposal request such that CometBFT can provide vote extensions to the application.
func (*ExtendedCommitInfo) Descriptor ¶
func (*ExtendedCommitInfo) Descriptor() ([]byte, []int)
func (*ExtendedCommitInfo) GetRound ¶
func (m *ExtendedCommitInfo) GetRound() int32
func (*ExtendedCommitInfo) GetVotes ¶
func (m *ExtendedCommitInfo) GetVotes() []ExtendedVoteInfo
func (*ExtendedCommitInfo) Marshal ¶
func (m *ExtendedCommitInfo) Marshal() (dAtA []byte, err error)
func (*ExtendedCommitInfo) MarshalTo ¶
func (m *ExtendedCommitInfo) MarshalTo(dAtA []byte) (int, error)
func (*ExtendedCommitInfo) MarshalToSizedBuffer ¶
func (m *ExtendedCommitInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ExtendedCommitInfo) ProtoMessage ¶
func (*ExtendedCommitInfo) ProtoMessage()
func (*ExtendedCommitInfo) Reset ¶
func (m *ExtendedCommitInfo) Reset()
func (*ExtendedCommitInfo) Size ¶
func (m *ExtendedCommitInfo) Size() (n int)
func (*ExtendedCommitInfo) String ¶
func (m *ExtendedCommitInfo) String() string
func (*ExtendedCommitInfo) Unmarshal ¶
func (m *ExtendedCommitInfo) Unmarshal(dAtA []byte) error
func (*ExtendedCommitInfo) XXX_DiscardUnknown ¶
func (m *ExtendedCommitInfo) XXX_DiscardUnknown()
func (*ExtendedCommitInfo) XXX_Marshal ¶
func (m *ExtendedCommitInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExtendedCommitInfo) XXX_Merge ¶
func (m *ExtendedCommitInfo) XXX_Merge(src proto.Message)
func (*ExtendedCommitInfo) XXX_Size ¶
func (m *ExtendedCommitInfo) XXX_Size() int
func (*ExtendedCommitInfo) XXX_Unmarshal ¶
func (m *ExtendedCommitInfo) XXX_Unmarshal(b []byte) error
type ExtendedVoteInfo ¶
type ExtendedVoteInfo struct { // The validator that sent the vote. Validator Validator `protobuf:"bytes,1,opt,name=validator,proto3" json:"validator"` // Non-deterministic extension provided by the sending validator's application. VoteExtension []byte `protobuf:"bytes,3,opt,name=vote_extension,json=voteExtension,proto3" json:"vote_extension,omitempty"` // Vote extension signature created by CometBFT ExtensionSignature []byte `protobuf:"bytes,4,opt,name=extension_signature,json=extensionSignature,proto3" json:"extension_signature,omitempty"` // block_id_flag indicates whether the validator voted for a block, nil, or did not vote at all BlockIdFlag types1.BlockIDFlag `` /* 131-byte string literal not displayed */ }
func (*ExtendedVoteInfo) Descriptor ¶
func (*ExtendedVoteInfo) Descriptor() ([]byte, []int)
func (*ExtendedVoteInfo) GetBlockIdFlag ¶ added in v0.38.0
func (m *ExtendedVoteInfo) GetBlockIdFlag() types1.BlockIDFlag
func (*ExtendedVoteInfo) GetExtensionSignature ¶ added in v0.38.0
func (m *ExtendedVoteInfo) GetExtensionSignature() []byte
func (*ExtendedVoteInfo) GetValidator ¶
func (m *ExtendedVoteInfo) GetValidator() Validator
func (*ExtendedVoteInfo) GetVoteExtension ¶
func (m *ExtendedVoteInfo) GetVoteExtension() []byte
func (*ExtendedVoteInfo) Marshal ¶
func (m *ExtendedVoteInfo) Marshal() (dAtA []byte, err error)
func (*ExtendedVoteInfo) MarshalToSizedBuffer ¶
func (m *ExtendedVoteInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ExtendedVoteInfo) ProtoMessage ¶
func (*ExtendedVoteInfo) ProtoMessage()
func (*ExtendedVoteInfo) Reset ¶
func (m *ExtendedVoteInfo) Reset()
func (*ExtendedVoteInfo) Size ¶
func (m *ExtendedVoteInfo) Size() (n int)
func (*ExtendedVoteInfo) String ¶
func (m *ExtendedVoteInfo) String() string
func (*ExtendedVoteInfo) Unmarshal ¶
func (m *ExtendedVoteInfo) Unmarshal(dAtA []byte) error
func (*ExtendedVoteInfo) XXX_DiscardUnknown ¶
func (m *ExtendedVoteInfo) XXX_DiscardUnknown()
func (*ExtendedVoteInfo) XXX_Marshal ¶
func (m *ExtendedVoteInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExtendedVoteInfo) XXX_Merge ¶
func (m *ExtendedVoteInfo) XXX_Merge(src proto.Message)
func (*ExtendedVoteInfo) XXX_Size ¶
func (m *ExtendedVoteInfo) XXX_Size() int
func (*ExtendedVoteInfo) XXX_Unmarshal ¶
func (m *ExtendedVoteInfo) XXX_Unmarshal(b []byte) error
type Misbehavior ¶
type Misbehavior struct { Type MisbehaviorType `protobuf:"varint,1,opt,name=type,proto3,enum=tendermint.abci.MisbehaviorType" json:"type,omitempty"` // The offending validator Validator Validator `protobuf:"bytes,2,opt,name=validator,proto3" json:"validator"` // The height when the offense occurred Height int64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` // The corresponding time where the offense occurred Time time.Time `protobuf:"bytes,4,opt,name=time,proto3,stdtime" json:"time"` // Total voting power of the validator set in case the ABCI application does // not store historical validators. // https://github.com/tendermint/tendermint/issues/4581 TotalVotingPower int64 `protobuf:"varint,5,opt,name=total_voting_power,json=totalVotingPower,proto3" json:"total_voting_power,omitempty"` }
func (*Misbehavior) Descriptor ¶
func (*Misbehavior) Descriptor() ([]byte, []int)
func (*Misbehavior) GetHeight ¶
func (m *Misbehavior) GetHeight() int64
func (*Misbehavior) GetTime ¶
func (m *Misbehavior) GetTime() time.Time
func (*Misbehavior) GetTotalVotingPower ¶
func (m *Misbehavior) GetTotalVotingPower() int64
func (*Misbehavior) GetType ¶
func (m *Misbehavior) GetType() MisbehaviorType
func (*Misbehavior) GetValidator ¶
func (m *Misbehavior) GetValidator() Validator
func (*Misbehavior) Marshal ¶
func (m *Misbehavior) Marshal() (dAtA []byte, err error)
func (*Misbehavior) MarshalToSizedBuffer ¶
func (m *Misbehavior) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Misbehavior) ProtoMessage ¶
func (*Misbehavior) ProtoMessage()
func (*Misbehavior) Reset ¶
func (m *Misbehavior) Reset()
func (*Misbehavior) Size ¶
func (m *Misbehavior) Size() (n int)
func (*Misbehavior) String ¶
func (m *Misbehavior) String() string
func (*Misbehavior) Unmarshal ¶
func (m *Misbehavior) Unmarshal(dAtA []byte) error
func (*Misbehavior) XXX_DiscardUnknown ¶
func (m *Misbehavior) XXX_DiscardUnknown()
func (*Misbehavior) XXX_Marshal ¶
func (m *Misbehavior) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Misbehavior) XXX_Merge ¶
func (m *Misbehavior) XXX_Merge(src proto.Message)
func (*Misbehavior) XXX_Size ¶
func (m *Misbehavior) XXX_Size() int
func (*Misbehavior) XXX_Unmarshal ¶
func (m *Misbehavior) XXX_Unmarshal(b []byte) error
type MisbehaviorType ¶
type MisbehaviorType int32
const ( MisbehaviorType_UNKNOWN MisbehaviorType = 0 MisbehaviorType_DUPLICATE_VOTE MisbehaviorType = 1 MisbehaviorType_LIGHT_CLIENT_ATTACK MisbehaviorType = 2 )
func (MisbehaviorType) EnumDescriptor ¶
func (MisbehaviorType) EnumDescriptor() ([]byte, []int)
func (MisbehaviorType) String ¶
func (x MisbehaviorType) String() string
type Request ¶
type Request struct { // Types that are valid to be assigned to Value: // *Request_Echo // *Request_Flush // *Request_Info // *Request_InitChain // *Request_Query // *Request_CheckTx // *Request_Commit // *Request_ListSnapshots // *Request_OfferSnapshot // *Request_LoadSnapshotChunk // *Request_ApplySnapshotChunk // *Request_PrepareProposal // *Request_ProcessProposal // *Request_ExtendVote // *Request_VerifyVoteExtension // *Request_FinalizeBlock Value isRequest_Value `protobuf_oneof:"value"` }
func ToRequestApplySnapshotChunk ¶
func ToRequestApplySnapshotChunk(req *RequestApplySnapshotChunk) *Request
func ToRequestCheckTx ¶
func ToRequestCheckTx(req *RequestCheckTx) *Request
func ToRequestCommit ¶
func ToRequestCommit() *Request
func ToRequestEcho ¶
func ToRequestExtendVote ¶ added in v0.38.0
func ToRequestExtendVote(req *RequestExtendVote) *Request
func ToRequestFinalizeBlock ¶ added in v0.38.0
func ToRequestFinalizeBlock(req *RequestFinalizeBlock) *Request
func ToRequestFlush ¶
func ToRequestFlush() *Request
func ToRequestInfo ¶
func ToRequestInfo(req *RequestInfo) *Request
func ToRequestInitChain ¶
func ToRequestInitChain(req *RequestInitChain) *Request
func ToRequestListSnapshots ¶
func ToRequestListSnapshots(req *RequestListSnapshots) *Request
func ToRequestLoadSnapshotChunk ¶
func ToRequestLoadSnapshotChunk(req *RequestLoadSnapshotChunk) *Request
func ToRequestOfferSnapshot ¶
func ToRequestOfferSnapshot(req *RequestOfferSnapshot) *Request
func ToRequestPrepareProposal ¶
func ToRequestPrepareProposal(req *RequestPrepareProposal) *Request
func ToRequestProcessProposal ¶
func ToRequestProcessProposal(req *RequestProcessProposal) *Request
func ToRequestQuery ¶
func ToRequestQuery(req *RequestQuery) *Request
func ToRequestVerifyVoteExtension ¶ added in v0.38.0
func ToRequestVerifyVoteExtension(req *RequestVerifyVoteExtension) *Request
func (*Request) Descriptor ¶
func (*Request) GetApplySnapshotChunk ¶
func (m *Request) GetApplySnapshotChunk() *RequestApplySnapshotChunk
func (*Request) GetCheckTx ¶
func (m *Request) GetCheckTx() *RequestCheckTx
func (*Request) GetCommit ¶
func (m *Request) GetCommit() *RequestCommit
func (*Request) GetEcho ¶
func (m *Request) GetEcho() *RequestEcho
func (*Request) GetExtendVote ¶ added in v0.38.0
func (m *Request) GetExtendVote() *RequestExtendVote
func (*Request) GetFinalizeBlock ¶ added in v0.38.0
func (m *Request) GetFinalizeBlock() *RequestFinalizeBlock
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) GetListSnapshots ¶
func (m *Request) GetListSnapshots() *RequestListSnapshots
func (*Request) GetLoadSnapshotChunk ¶
func (m *Request) GetLoadSnapshotChunk() *RequestLoadSnapshotChunk
func (*Request) GetOfferSnapshot ¶
func (m *Request) GetOfferSnapshot() *RequestOfferSnapshot
func (*Request) GetPrepareProposal ¶
func (m *Request) GetPrepareProposal() *RequestPrepareProposal
func (*Request) GetProcessProposal ¶
func (m *Request) GetProcessProposal() *RequestProcessProposal
func (*Request) GetQuery ¶
func (m *Request) GetQuery() *RequestQuery
func (*Request) GetVerifyVoteExtension ¶ added in v0.38.0
func (m *Request) GetVerifyVoteExtension() *RequestVerifyVoteExtension
func (*Request) MarshalToSizedBuffer ¶
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) XXX_DiscardUnknown ¶
func (m *Request) XXX_DiscardUnknown()
func (*Request) XXX_Marshal ¶
func (*Request) XXX_OneofWrappers ¶
func (*Request) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Request) XXX_Unmarshal ¶
type RequestApplySnapshotChunk ¶
type RequestApplySnapshotChunk struct { Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` Chunk []byte `protobuf:"bytes,2,opt,name=chunk,proto3" json:"chunk,omitempty"` Sender string `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"` }
Applies a snapshot chunk
func (*RequestApplySnapshotChunk) Descriptor ¶
func (*RequestApplySnapshotChunk) Descriptor() ([]byte, []int)
func (*RequestApplySnapshotChunk) GetChunk ¶
func (m *RequestApplySnapshotChunk) GetChunk() []byte
func (*RequestApplySnapshotChunk) GetIndex ¶
func (m *RequestApplySnapshotChunk) GetIndex() uint32
func (*RequestApplySnapshotChunk) GetSender ¶
func (m *RequestApplySnapshotChunk) GetSender() string
func (*RequestApplySnapshotChunk) Marshal ¶
func (m *RequestApplySnapshotChunk) Marshal() (dAtA []byte, err error)
func (*RequestApplySnapshotChunk) MarshalTo ¶
func (m *RequestApplySnapshotChunk) MarshalTo(dAtA []byte) (int, error)
func (*RequestApplySnapshotChunk) MarshalToSizedBuffer ¶
func (m *RequestApplySnapshotChunk) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RequestApplySnapshotChunk) ProtoMessage ¶
func (*RequestApplySnapshotChunk) ProtoMessage()
func (*RequestApplySnapshotChunk) Reset ¶
func (m *RequestApplySnapshotChunk) Reset()
func (*RequestApplySnapshotChunk) Size ¶
func (m *RequestApplySnapshotChunk) Size() (n int)
func (*RequestApplySnapshotChunk) String ¶
func (m *RequestApplySnapshotChunk) String() string
func (*RequestApplySnapshotChunk) Unmarshal ¶
func (m *RequestApplySnapshotChunk) Unmarshal(dAtA []byte) error
func (*RequestApplySnapshotChunk) XXX_DiscardUnknown ¶
func (m *RequestApplySnapshotChunk) XXX_DiscardUnknown()
func (*RequestApplySnapshotChunk) XXX_Marshal ¶
func (m *RequestApplySnapshotChunk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestApplySnapshotChunk) XXX_Merge ¶
func (m *RequestApplySnapshotChunk) XXX_Merge(src proto.Message)
func (*RequestApplySnapshotChunk) XXX_Size ¶
func (m *RequestApplySnapshotChunk) XXX_Size() int
func (*RequestApplySnapshotChunk) XXX_Unmarshal ¶
func (m *RequestApplySnapshotChunk) XXX_Unmarshal(b []byte) error
type RequestCheckTx ¶
type RequestCheckTx struct { Tx []byte `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"` Type CheckTxType `protobuf:"varint,2,opt,name=type,proto3,enum=tendermint.abci.CheckTxType" json:"type,omitempty"` }
func (*RequestCheckTx) Descriptor ¶
func (*RequestCheckTx) Descriptor() ([]byte, []int)
func (*RequestCheckTx) GetTx ¶
func (m *RequestCheckTx) GetTx() []byte
func (*RequestCheckTx) GetType ¶
func (m *RequestCheckTx) GetType() CheckTxType
func (*RequestCheckTx) Marshal ¶
func (m *RequestCheckTx) Marshal() (dAtA []byte, err error)
func (*RequestCheckTx) MarshalToSizedBuffer ¶
func (m *RequestCheckTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RequestCheckTx) ProtoMessage ¶
func (*RequestCheckTx) ProtoMessage()
func (*RequestCheckTx) Reset ¶
func (m *RequestCheckTx) Reset()
func (*RequestCheckTx) Size ¶
func (m *RequestCheckTx) Size() (n int)
func (*RequestCheckTx) String ¶
func (m *RequestCheckTx) String() string
func (*RequestCheckTx) Unmarshal ¶
func (m *RequestCheckTx) Unmarshal(dAtA []byte) error
func (*RequestCheckTx) XXX_DiscardUnknown ¶
func (m *RequestCheckTx) XXX_DiscardUnknown()
func (*RequestCheckTx) XXX_Marshal ¶
func (m *RequestCheckTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestCheckTx) XXX_Merge ¶
func (m *RequestCheckTx) XXX_Merge(src proto.Message)
func (*RequestCheckTx) XXX_Size ¶
func (m *RequestCheckTx) XXX_Size() int
func (*RequestCheckTx) XXX_Unmarshal ¶
func (m *RequestCheckTx) XXX_Unmarshal(b []byte) error
type RequestCommit ¶
type RequestCommit struct { }
func (*RequestCommit) Descriptor ¶
func (*RequestCommit) Descriptor() ([]byte, []int)
func (*RequestCommit) Marshal ¶
func (m *RequestCommit) Marshal() (dAtA []byte, err error)
func (*RequestCommit) MarshalToSizedBuffer ¶
func (m *RequestCommit) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RequestCommit) ProtoMessage ¶
func (*RequestCommit) ProtoMessage()
func (*RequestCommit) Reset ¶
func (m *RequestCommit) Reset()
func (*RequestCommit) Size ¶
func (m *RequestCommit) Size() (n int)
func (*RequestCommit) String ¶
func (m *RequestCommit) String() string
func (*RequestCommit) Unmarshal ¶
func (m *RequestCommit) Unmarshal(dAtA []byte) error
func (*RequestCommit) XXX_DiscardUnknown ¶
func (m *RequestCommit) XXX_DiscardUnknown()
func (*RequestCommit) XXX_Marshal ¶
func (m *RequestCommit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestCommit) XXX_Merge ¶
func (m *RequestCommit) XXX_Merge(src proto.Message)
func (*RequestCommit) XXX_Size ¶
func (m *RequestCommit) XXX_Size() int
func (*RequestCommit) XXX_Unmarshal ¶
func (m *RequestCommit) XXX_Unmarshal(b []byte) error
type RequestEcho ¶
type RequestEcho struct {
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
}
func (*RequestEcho) Descriptor ¶
func (*RequestEcho) Descriptor() ([]byte, []int)
func (*RequestEcho) GetMessage ¶
func (m *RequestEcho) GetMessage() string
func (*RequestEcho) Marshal ¶
func (m *RequestEcho) Marshal() (dAtA []byte, err error)
func (*RequestEcho) MarshalToSizedBuffer ¶
func (m *RequestEcho) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RequestEcho) ProtoMessage ¶
func (*RequestEcho) ProtoMessage()
func (*RequestEcho) Reset ¶
func (m *RequestEcho) Reset()
func (*RequestEcho) Size ¶
func (m *RequestEcho) Size() (n int)
func (*RequestEcho) String ¶
func (m *RequestEcho) String() string
func (*RequestEcho) Unmarshal ¶
func (m *RequestEcho) Unmarshal(dAtA []byte) error
func (*RequestEcho) XXX_DiscardUnknown ¶
func (m *RequestEcho) XXX_DiscardUnknown()
func (*RequestEcho) XXX_Marshal ¶
func (m *RequestEcho) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestEcho) XXX_Merge ¶
func (m *RequestEcho) XXX_Merge(src proto.Message)
func (*RequestEcho) XXX_Size ¶
func (m *RequestEcho) XXX_Size() int
func (*RequestEcho) XXX_Unmarshal ¶
func (m *RequestEcho) XXX_Unmarshal(b []byte) error
type RequestExtendVote ¶ added in v0.38.0
type RequestExtendVote struct { // the hash of the block that this vote may be referring to Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // the height of the extended vote Height int64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` // info of the block that this vote may be referring to Time time.Time `protobuf:"bytes,3,opt,name=time,proto3,stdtime" json:"time"` Txs [][]byte `protobuf:"bytes,4,rep,name=txs,proto3" json:"txs,omitempty"` ProposedLastCommit CommitInfo `protobuf:"bytes,5,opt,name=proposed_last_commit,json=proposedLastCommit,proto3" json:"proposed_last_commit"` Misbehavior []Misbehavior `protobuf:"bytes,6,rep,name=misbehavior,proto3" json:"misbehavior"` NextValidatorsHash []byte `protobuf:"bytes,7,opt,name=next_validators_hash,json=nextValidatorsHash,proto3" json:"next_validators_hash,omitempty"` // address of the public key of the original proposer of the block. ProposerAddress []byte `protobuf:"bytes,8,opt,name=proposer_address,json=proposerAddress,proto3" json:"proposer_address,omitempty"` }
Extends a vote with application-injected data
func (*RequestExtendVote) Descriptor ¶ added in v0.38.0
func (*RequestExtendVote) Descriptor() ([]byte, []int)
func (*RequestExtendVote) GetHash ¶ added in v0.38.0
func (m *RequestExtendVote) GetHash() []byte
func (*RequestExtendVote) GetHeight ¶ added in v0.38.0
func (m *RequestExtendVote) GetHeight() int64
func (*RequestExtendVote) GetMisbehavior ¶ added in v0.38.0
func (m *RequestExtendVote) GetMisbehavior() []Misbehavior
func (*RequestExtendVote) GetNextValidatorsHash ¶ added in v0.38.0
func (m *RequestExtendVote) GetNextValidatorsHash() []byte
func (*RequestExtendVote) GetProposedLastCommit ¶ added in v0.38.0
func (m *RequestExtendVote) GetProposedLastCommit() CommitInfo
func (*RequestExtendVote) GetProposerAddress ¶ added in v0.38.0
func (m *RequestExtendVote) GetProposerAddress() []byte
func (*RequestExtendVote) GetTime ¶ added in v0.38.0
func (m *RequestExtendVote) GetTime() time.Time
func (*RequestExtendVote) GetTxs ¶ added in v0.38.0
func (m *RequestExtendVote) GetTxs() [][]byte
func (*RequestExtendVote) Marshal ¶ added in v0.38.0
func (m *RequestExtendVote) Marshal() (dAtA []byte, err error)
func (*RequestExtendVote) MarshalTo ¶ added in v0.38.0
func (m *RequestExtendVote) MarshalTo(dAtA []byte) (int, error)
func (*RequestExtendVote) MarshalToSizedBuffer ¶ added in v0.38.0
func (m *RequestExtendVote) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RequestExtendVote) ProtoMessage ¶ added in v0.38.0
func (*RequestExtendVote) ProtoMessage()
func (*RequestExtendVote) Reset ¶ added in v0.38.0
func (m *RequestExtendVote) Reset()
func (*RequestExtendVote) Size ¶ added in v0.38.0
func (m *RequestExtendVote) Size() (n int)
func (*RequestExtendVote) String ¶ added in v0.38.0
func (m *RequestExtendVote) String() string
func (*RequestExtendVote) Unmarshal ¶ added in v0.38.0
func (m *RequestExtendVote) Unmarshal(dAtA []byte) error
func (*RequestExtendVote) XXX_DiscardUnknown ¶ added in v0.38.0
func (m *RequestExtendVote) XXX_DiscardUnknown()
func (*RequestExtendVote) XXX_Marshal ¶ added in v0.38.0
func (m *RequestExtendVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestExtendVote) XXX_Merge ¶ added in v0.38.0
func (m *RequestExtendVote) XXX_Merge(src proto.Message)
func (*RequestExtendVote) XXX_Size ¶ added in v0.38.0
func (m *RequestExtendVote) XXX_Size() int
func (*RequestExtendVote) XXX_Unmarshal ¶ added in v0.38.0
func (m *RequestExtendVote) XXX_Unmarshal(b []byte) error
type RequestFinalizeBlock ¶ added in v0.38.0
type RequestFinalizeBlock struct { Txs [][]byte `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"` DecidedLastCommit CommitInfo `protobuf:"bytes,2,opt,name=decided_last_commit,json=decidedLastCommit,proto3" json:"decided_last_commit"` Misbehavior []Misbehavior `protobuf:"bytes,3,rep,name=misbehavior,proto3" json:"misbehavior"` // hash is the merkle root hash of the fields of the decided block. Hash []byte `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"` Height int64 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"` Time time.Time `protobuf:"bytes,6,opt,name=time,proto3,stdtime" json:"time"` NextValidatorsHash []byte `protobuf:"bytes,7,opt,name=next_validators_hash,json=nextValidatorsHash,proto3" json:"next_validators_hash,omitempty"` // proposer_address is the address of the public key of the original proposer of the block. ProposerAddress []byte `protobuf:"bytes,8,opt,name=proposer_address,json=proposerAddress,proto3" json:"proposer_address,omitempty"` }
func (*RequestFinalizeBlock) Descriptor ¶ added in v0.38.0
func (*RequestFinalizeBlock) Descriptor() ([]byte, []int)
func (*RequestFinalizeBlock) GetDecidedLastCommit ¶ added in v0.38.0
func (m *RequestFinalizeBlock) GetDecidedLastCommit() CommitInfo
func (*RequestFinalizeBlock) GetHash ¶ added in v0.38.0
func (m *RequestFinalizeBlock) GetHash() []byte
func (*RequestFinalizeBlock) GetHeight ¶ added in v0.38.0
func (m *RequestFinalizeBlock) GetHeight() int64
func (*RequestFinalizeBlock) GetMisbehavior ¶ added in v0.38.0
func (m *RequestFinalizeBlock) GetMisbehavior() []Misbehavior
func (*RequestFinalizeBlock) GetNextValidatorsHash ¶ added in v0.38.0
func (m *RequestFinalizeBlock) GetNextValidatorsHash() []byte
func (*RequestFinalizeBlock) GetProposerAddress ¶ added in v0.38.0
func (m *RequestFinalizeBlock) GetProposerAddress() []byte
func (*RequestFinalizeBlock) GetTime ¶ added in v0.38.0
func (m *RequestFinalizeBlock) GetTime() time.Time
func (*RequestFinalizeBlock) GetTxs ¶ added in v0.38.0
func (m *RequestFinalizeBlock) GetTxs() [][]byte
func (*RequestFinalizeBlock) Marshal ¶ added in v0.38.0
func (m *RequestFinalizeBlock) Marshal() (dAtA []byte, err error)
func (*RequestFinalizeBlock) MarshalTo ¶ added in v0.38.0
func (m *RequestFinalizeBlock) MarshalTo(dAtA []byte) (int, error)
func (*RequestFinalizeBlock) MarshalToSizedBuffer ¶ added in v0.38.0
func (m *RequestFinalizeBlock) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RequestFinalizeBlock) ProtoMessage ¶ added in v0.38.0
func (*RequestFinalizeBlock) ProtoMessage()
func (*RequestFinalizeBlock) Reset ¶ added in v0.38.0
func (m *RequestFinalizeBlock) Reset()
func (*RequestFinalizeBlock) Size ¶ added in v0.38.0
func (m *RequestFinalizeBlock) Size() (n int)
func (*RequestFinalizeBlock) String ¶ added in v0.38.0
func (m *RequestFinalizeBlock) String() string
func (*RequestFinalizeBlock) Unmarshal ¶ added in v0.38.0
func (m *RequestFinalizeBlock) Unmarshal(dAtA []byte) error
func (*RequestFinalizeBlock) XXX_DiscardUnknown ¶ added in v0.38.0
func (m *RequestFinalizeBlock) XXX_DiscardUnknown()
func (*RequestFinalizeBlock) XXX_Marshal ¶ added in v0.38.0
func (m *RequestFinalizeBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestFinalizeBlock) XXX_Merge ¶ added in v0.38.0
func (m *RequestFinalizeBlock) XXX_Merge(src proto.Message)
func (*RequestFinalizeBlock) XXX_Size ¶ added in v0.38.0
func (m *RequestFinalizeBlock) XXX_Size() int
func (*RequestFinalizeBlock) XXX_Unmarshal ¶ added in v0.38.0
func (m *RequestFinalizeBlock) XXX_Unmarshal(b []byte) error
type RequestFlush ¶
type RequestFlush struct { }
func (*RequestFlush) Descriptor ¶
func (*RequestFlush) Descriptor() ([]byte, []int)
func (*RequestFlush) Marshal ¶
func (m *RequestFlush) Marshal() (dAtA []byte, err error)
func (*RequestFlush) MarshalToSizedBuffer ¶
func (m *RequestFlush) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RequestFlush) ProtoMessage ¶
func (*RequestFlush) ProtoMessage()
func (*RequestFlush) Reset ¶
func (m *RequestFlush) Reset()
func (*RequestFlush) Size ¶
func (m *RequestFlush) Size() (n int)
func (*RequestFlush) String ¶
func (m *RequestFlush) String() string
func (*RequestFlush) Unmarshal ¶
func (m *RequestFlush) Unmarshal(dAtA []byte) error
func (*RequestFlush) XXX_DiscardUnknown ¶
func (m *RequestFlush) XXX_DiscardUnknown()
func (*RequestFlush) XXX_Marshal ¶
func (m *RequestFlush) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestFlush) XXX_Merge ¶
func (m *RequestFlush) XXX_Merge(src proto.Message)
func (*RequestFlush) XXX_Size ¶
func (m *RequestFlush) XXX_Size() int
func (*RequestFlush) XXX_Unmarshal ¶
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"` BlockVersion uint64 `protobuf:"varint,2,opt,name=block_version,json=blockVersion,proto3" json:"block_version,omitempty"` P2PVersion uint64 `protobuf:"varint,3,opt,name=p2p_version,json=p2pVersion,proto3" json:"p2p_version,omitempty"` AbciVersion string `protobuf:"bytes,4,opt,name=abci_version,json=abciVersion,proto3" json:"abci_version,omitempty"` }
func (*RequestInfo) Descriptor ¶
func (*RequestInfo) Descriptor() ([]byte, []int)
func (*RequestInfo) GetAbciVersion ¶
func (m *RequestInfo) GetAbciVersion() string
func (*RequestInfo) GetBlockVersion ¶
func (m *RequestInfo) GetBlockVersion() uint64
func (*RequestInfo) GetP2PVersion ¶
func (m *RequestInfo) GetP2PVersion() uint64
func (*RequestInfo) GetVersion ¶
func (m *RequestInfo) GetVersion() string
func (*RequestInfo) Marshal ¶
func (m *RequestInfo) Marshal() (dAtA []byte, err error)
func (*RequestInfo) MarshalToSizedBuffer ¶
func (m *RequestInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RequestInfo) ProtoMessage ¶
func (*RequestInfo) ProtoMessage()
func (*RequestInfo) Reset ¶
func (m *RequestInfo) Reset()
func (*RequestInfo) Size ¶
func (m *RequestInfo) Size() (n int)
func (*RequestInfo) String ¶
func (m *RequestInfo) String() string
func (*RequestInfo) Unmarshal ¶
func (m *RequestInfo) Unmarshal(dAtA []byte) error
func (*RequestInfo) XXX_DiscardUnknown ¶
func (m *RequestInfo) XXX_DiscardUnknown()
func (*RequestInfo) XXX_Marshal ¶
func (m *RequestInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestInfo) XXX_Merge ¶
func (m *RequestInfo) XXX_Merge(src proto.Message)
func (*RequestInfo) XXX_Size ¶
func (m *RequestInfo) XXX_Size() int
func (*RequestInfo) XXX_Unmarshal ¶
func (m *RequestInfo) XXX_Unmarshal(b []byte) error
type RequestInitChain ¶
type RequestInitChain struct { Time time.Time `protobuf:"bytes,1,opt,name=time,proto3,stdtime" json:"time"` ChainId string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` ConsensusParams *types1.ConsensusParams `protobuf:"bytes,3,opt,name=consensus_params,json=consensusParams,proto3" json:"consensus_params,omitempty"` Validators []ValidatorUpdate `protobuf:"bytes,4,rep,name=validators,proto3" json:"validators"` AppStateBytes []byte `protobuf:"bytes,5,opt,name=app_state_bytes,json=appStateBytes,proto3" json:"app_state_bytes,omitempty"` InitialHeight int64 `protobuf:"varint,6,opt,name=initial_height,json=initialHeight,proto3" json:"initial_height,omitempty"` }
func (*RequestInitChain) Descriptor ¶
func (*RequestInitChain) Descriptor() ([]byte, []int)
func (*RequestInitChain) GetAppStateBytes ¶
func (m *RequestInitChain) GetAppStateBytes() []byte
func (*RequestInitChain) GetChainId ¶
func (m *RequestInitChain) GetChainId() string
func (*RequestInitChain) GetConsensusParams ¶
func (m *RequestInitChain) GetConsensusParams() *types1.ConsensusParams
func (*RequestInitChain) GetInitialHeight ¶
func (m *RequestInitChain) GetInitialHeight() int64
func (*RequestInitChain) GetTime ¶
func (m *RequestInitChain) GetTime() time.Time
func (*RequestInitChain) GetValidators ¶
func (m *RequestInitChain) GetValidators() []ValidatorUpdate
func (*RequestInitChain) Marshal ¶
func (m *RequestInitChain) Marshal() (dAtA []byte, err error)
func (*RequestInitChain) MarshalToSizedBuffer ¶
func (m *RequestInitChain) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RequestInitChain) ProtoMessage ¶
func (*RequestInitChain) ProtoMessage()
func (*RequestInitChain) Reset ¶
func (m *RequestInitChain) Reset()
func (*RequestInitChain) Size ¶
func (m *RequestInitChain) Size() (n int)
func (*RequestInitChain) String ¶
func (m *RequestInitChain) String() string
func (*RequestInitChain) Unmarshal ¶
func (m *RequestInitChain) Unmarshal(dAtA []byte) error
func (*RequestInitChain) XXX_DiscardUnknown ¶
func (m *RequestInitChain) XXX_DiscardUnknown()
func (*RequestInitChain) XXX_Marshal ¶
func (m *RequestInitChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestInitChain) XXX_Merge ¶
func (m *RequestInitChain) XXX_Merge(src proto.Message)
func (*RequestInitChain) XXX_Size ¶
func (m *RequestInitChain) XXX_Size() int
func (*RequestInitChain) XXX_Unmarshal ¶
func (m *RequestInitChain) XXX_Unmarshal(b []byte) error
type RequestListSnapshots ¶
type RequestListSnapshots struct { }
lists available snapshots
func (*RequestListSnapshots) Descriptor ¶
func (*RequestListSnapshots) Descriptor() ([]byte, []int)
func (*RequestListSnapshots) Marshal ¶
func (m *RequestListSnapshots) Marshal() (dAtA []byte, err error)
func (*RequestListSnapshots) MarshalTo ¶
func (m *RequestListSnapshots) MarshalTo(dAtA []byte) (int, error)
func (*RequestListSnapshots) MarshalToSizedBuffer ¶
func (m *RequestListSnapshots) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RequestListSnapshots) ProtoMessage ¶
func (*RequestListSnapshots) ProtoMessage()
func (*RequestListSnapshots) Reset ¶
func (m *RequestListSnapshots) Reset()
func (*RequestListSnapshots) Size ¶
func (m *RequestListSnapshots) Size() (n int)
func (*RequestListSnapshots) String ¶
func (m *RequestListSnapshots) String() string
func (*RequestListSnapshots) Unmarshal ¶
func (m *RequestListSnapshots) Unmarshal(dAtA []byte) error
func (*RequestListSnapshots) XXX_DiscardUnknown ¶
func (m *RequestListSnapshots) XXX_DiscardUnknown()
func (*RequestListSnapshots) XXX_Marshal ¶
func (m *RequestListSnapshots) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestListSnapshots) XXX_Merge ¶
func (m *RequestListSnapshots) XXX_Merge(src proto.Message)
func (*RequestListSnapshots) XXX_Size ¶
func (m *RequestListSnapshots) XXX_Size() int
func (*RequestListSnapshots) XXX_Unmarshal ¶
func (m *RequestListSnapshots) XXX_Unmarshal(b []byte) error
type RequestLoadSnapshotChunk ¶
type RequestLoadSnapshotChunk struct { Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` Format uint32 `protobuf:"varint,2,opt,name=format,proto3" json:"format,omitempty"` Chunk uint32 `protobuf:"varint,3,opt,name=chunk,proto3" json:"chunk,omitempty"` }
loads a snapshot chunk
func (*RequestLoadSnapshotChunk) Descriptor ¶
func (*RequestLoadSnapshotChunk) Descriptor() ([]byte, []int)
func (*RequestLoadSnapshotChunk) GetChunk ¶
func (m *RequestLoadSnapshotChunk) GetChunk() uint32
func (*RequestLoadSnapshotChunk) GetFormat ¶
func (m *RequestLoadSnapshotChunk) GetFormat() uint32
func (*RequestLoadSnapshotChunk) GetHeight ¶
func (m *RequestLoadSnapshotChunk) GetHeight() uint64
func (*RequestLoadSnapshotChunk) Marshal ¶
func (m *RequestLoadSnapshotChunk) Marshal() (dAtA []byte, err error)
func (*RequestLoadSnapshotChunk) MarshalTo ¶
func (m *RequestLoadSnapshotChunk) MarshalTo(dAtA []byte) (int, error)
func (*RequestLoadSnapshotChunk) MarshalToSizedBuffer ¶
func (m *RequestLoadSnapshotChunk) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RequestLoadSnapshotChunk) ProtoMessage ¶
func (*RequestLoadSnapshotChunk) ProtoMessage()
func (*RequestLoadSnapshotChunk) Reset ¶
func (m *RequestLoadSnapshotChunk) Reset()
func (*RequestLoadSnapshotChunk) Size ¶
func (m *RequestLoadSnapshotChunk) Size() (n int)
func (*RequestLoadSnapshotChunk) String ¶
func (m *RequestLoadSnapshotChunk) String() string
func (*RequestLoadSnapshotChunk) Unmarshal ¶
func (m *RequestLoadSnapshotChunk) Unmarshal(dAtA []byte) error
func (*RequestLoadSnapshotChunk) XXX_DiscardUnknown ¶
func (m *RequestLoadSnapshotChunk) XXX_DiscardUnknown()
func (*RequestLoadSnapshotChunk) XXX_Marshal ¶
func (m *RequestLoadSnapshotChunk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestLoadSnapshotChunk) XXX_Merge ¶
func (m *RequestLoadSnapshotChunk) XXX_Merge(src proto.Message)
func (*RequestLoadSnapshotChunk) XXX_Size ¶
func (m *RequestLoadSnapshotChunk) XXX_Size() int
func (*RequestLoadSnapshotChunk) XXX_Unmarshal ¶
func (m *RequestLoadSnapshotChunk) XXX_Unmarshal(b []byte) error
type RequestOfferSnapshot ¶
type RequestOfferSnapshot struct { Snapshot *Snapshot `protobuf:"bytes,1,opt,name=snapshot,proto3" json:"snapshot,omitempty"` AppHash []byte `protobuf:"bytes,2,opt,name=app_hash,json=appHash,proto3" json:"app_hash,omitempty"` }
offers a snapshot to the application
func (*RequestOfferSnapshot) Descriptor ¶
func (*RequestOfferSnapshot) Descriptor() ([]byte, []int)
func (*RequestOfferSnapshot) GetAppHash ¶
func (m *RequestOfferSnapshot) GetAppHash() []byte
func (*RequestOfferSnapshot) GetSnapshot ¶
func (m *RequestOfferSnapshot) GetSnapshot() *Snapshot
func (*RequestOfferSnapshot) Marshal ¶
func (m *RequestOfferSnapshot) Marshal() (dAtA []byte, err error)
func (*RequestOfferSnapshot) MarshalTo ¶
func (m *RequestOfferSnapshot) MarshalTo(dAtA []byte) (int, error)
func (*RequestOfferSnapshot) MarshalToSizedBuffer ¶
func (m *RequestOfferSnapshot) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RequestOfferSnapshot) ProtoMessage ¶
func (*RequestOfferSnapshot) ProtoMessage()
func (*RequestOfferSnapshot) Reset ¶
func (m *RequestOfferSnapshot) Reset()
func (*RequestOfferSnapshot) Size ¶
func (m *RequestOfferSnapshot) Size() (n int)
func (*RequestOfferSnapshot) String ¶
func (m *RequestOfferSnapshot) String() string
func (*RequestOfferSnapshot) Unmarshal ¶
func (m *RequestOfferSnapshot) Unmarshal(dAtA []byte) error
func (*RequestOfferSnapshot) XXX_DiscardUnknown ¶
func (m *RequestOfferSnapshot) XXX_DiscardUnknown()
func (*RequestOfferSnapshot) XXX_Marshal ¶
func (m *RequestOfferSnapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestOfferSnapshot) XXX_Merge ¶
func (m *RequestOfferSnapshot) XXX_Merge(src proto.Message)
func (*RequestOfferSnapshot) XXX_Size ¶
func (m *RequestOfferSnapshot) XXX_Size() int
func (*RequestOfferSnapshot) XXX_Unmarshal ¶
func (m *RequestOfferSnapshot) XXX_Unmarshal(b []byte) error
type RequestPrepareProposal ¶
type RequestPrepareProposal struct { // the modified transactions cannot exceed this size. MaxTxBytes int64 `protobuf:"varint,1,opt,name=max_tx_bytes,json=maxTxBytes,proto3" json:"max_tx_bytes,omitempty"` // txs is an array of transactions that will be included in a block, // sent to the app for possible modifications. Txs [][]byte `protobuf:"bytes,2,rep,name=txs,proto3" json:"txs,omitempty"` LocalLastCommit ExtendedCommitInfo `protobuf:"bytes,3,opt,name=local_last_commit,json=localLastCommit,proto3" json:"local_last_commit"` Misbehavior []Misbehavior `protobuf:"bytes,4,rep,name=misbehavior,proto3" json:"misbehavior"` Height int64 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"` Time time.Time `protobuf:"bytes,6,opt,name=time,proto3,stdtime" json:"time"` NextValidatorsHash []byte `protobuf:"bytes,7,opt,name=next_validators_hash,json=nextValidatorsHash,proto3" json:"next_validators_hash,omitempty"` // address of the public key of the validator proposing the block. ProposerAddress []byte `protobuf:"bytes,8,opt,name=proposer_address,json=proposerAddress,proto3" json:"proposer_address,omitempty"` }
func (*RequestPrepareProposal) Descriptor ¶
func (*RequestPrepareProposal) Descriptor() ([]byte, []int)
func (*RequestPrepareProposal) GetHeight ¶
func (m *RequestPrepareProposal) GetHeight() int64
func (*RequestPrepareProposal) GetLocalLastCommit ¶
func (m *RequestPrepareProposal) GetLocalLastCommit() ExtendedCommitInfo
func (*RequestPrepareProposal) GetMaxTxBytes ¶
func (m *RequestPrepareProposal) GetMaxTxBytes() int64
func (*RequestPrepareProposal) GetMisbehavior ¶
func (m *RequestPrepareProposal) GetMisbehavior() []Misbehavior
func (*RequestPrepareProposal) GetNextValidatorsHash ¶
func (m *RequestPrepareProposal) GetNextValidatorsHash() []byte
func (*RequestPrepareProposal) GetProposerAddress ¶
func (m *RequestPrepareProposal) GetProposerAddress() []byte
func (*RequestPrepareProposal) GetTime ¶
func (m *RequestPrepareProposal) GetTime() time.Time
func (*RequestPrepareProposal) GetTxs ¶
func (m *RequestPrepareProposal) GetTxs() [][]byte
func (*RequestPrepareProposal) Marshal ¶
func (m *RequestPrepareProposal) Marshal() (dAtA []byte, err error)
func (*RequestPrepareProposal) MarshalTo ¶
func (m *RequestPrepareProposal) MarshalTo(dAtA []byte) (int, error)
func (*RequestPrepareProposal) MarshalToSizedBuffer ¶
func (m *RequestPrepareProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RequestPrepareProposal) ProtoMessage ¶
func (*RequestPrepareProposal) ProtoMessage()
func (*RequestPrepareProposal) Reset ¶
func (m *RequestPrepareProposal) Reset()
func (*RequestPrepareProposal) Size ¶
func (m *RequestPrepareProposal) Size() (n int)
func (*RequestPrepareProposal) String ¶
func (m *RequestPrepareProposal) String() string
func (*RequestPrepareProposal) Unmarshal ¶
func (m *RequestPrepareProposal) Unmarshal(dAtA []byte) error
func (*RequestPrepareProposal) XXX_DiscardUnknown ¶
func (m *RequestPrepareProposal) XXX_DiscardUnknown()
func (*RequestPrepareProposal) XXX_Marshal ¶
func (m *RequestPrepareProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestPrepareProposal) XXX_Merge ¶
func (m *RequestPrepareProposal) XXX_Merge(src proto.Message)
func (*RequestPrepareProposal) XXX_Size ¶
func (m *RequestPrepareProposal) XXX_Size() int
func (*RequestPrepareProposal) XXX_Unmarshal ¶
func (m *RequestPrepareProposal) XXX_Unmarshal(b []byte) error
type RequestProcessProposal ¶
type RequestProcessProposal struct { Txs [][]byte `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"` ProposedLastCommit CommitInfo `protobuf:"bytes,2,opt,name=proposed_last_commit,json=proposedLastCommit,proto3" json:"proposed_last_commit"` Misbehavior []Misbehavior `protobuf:"bytes,3,rep,name=misbehavior,proto3" json:"misbehavior"` // hash is the merkle root hash of the fields of the proposed block. Hash []byte `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"` Height int64 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"` Time time.Time `protobuf:"bytes,6,opt,name=time,proto3,stdtime" json:"time"` NextValidatorsHash []byte `protobuf:"bytes,7,opt,name=next_validators_hash,json=nextValidatorsHash,proto3" json:"next_validators_hash,omitempty"` // address of the public key of the original proposer of the block. ProposerAddress []byte `protobuf:"bytes,8,opt,name=proposer_address,json=proposerAddress,proto3" json:"proposer_address,omitempty"` }
func (*RequestProcessProposal) Descriptor ¶
func (*RequestProcessProposal) Descriptor() ([]byte, []int)
func (*RequestProcessProposal) GetHash ¶
func (m *RequestProcessProposal) GetHash() []byte
func (*RequestProcessProposal) GetHeight ¶
func (m *RequestProcessProposal) GetHeight() int64
func (*RequestProcessProposal) GetMisbehavior ¶
func (m *RequestProcessProposal) GetMisbehavior() []Misbehavior
func (*RequestProcessProposal) GetNextValidatorsHash ¶
func (m *RequestProcessProposal) GetNextValidatorsHash() []byte
func (*RequestProcessProposal) GetProposedLastCommit ¶
func (m *RequestProcessProposal) GetProposedLastCommit() CommitInfo
func (*RequestProcessProposal) GetProposerAddress ¶
func (m *RequestProcessProposal) GetProposerAddress() []byte
func (*RequestProcessProposal) GetTime ¶
func (m *RequestProcessProposal) GetTime() time.Time
func (*RequestProcessProposal) GetTxs ¶
func (m *RequestProcessProposal) GetTxs() [][]byte
func (*RequestProcessProposal) Marshal ¶
func (m *RequestProcessProposal) Marshal() (dAtA []byte, err error)
func (*RequestProcessProposal) MarshalTo ¶
func (m *RequestProcessProposal) MarshalTo(dAtA []byte) (int, error)
func (*RequestProcessProposal) MarshalToSizedBuffer ¶
func (m *RequestProcessProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RequestProcessProposal) ProtoMessage ¶
func (*RequestProcessProposal) ProtoMessage()
func (*RequestProcessProposal) Reset ¶
func (m *RequestProcessProposal) Reset()
func (*RequestProcessProposal) Size ¶
func (m *RequestProcessProposal) Size() (n int)
func (*RequestProcessProposal) String ¶
func (m *RequestProcessProposal) String() string
func (*RequestProcessProposal) Unmarshal ¶
func (m *RequestProcessProposal) Unmarshal(dAtA []byte) error
func (*RequestProcessProposal) XXX_DiscardUnknown ¶
func (m *RequestProcessProposal) XXX_DiscardUnknown()
func (*RequestProcessProposal) XXX_Marshal ¶
func (m *RequestProcessProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestProcessProposal) XXX_Merge ¶
func (m *RequestProcessProposal) XXX_Merge(src proto.Message)
func (*RequestProcessProposal) XXX_Size ¶
func (m *RequestProcessProposal) XXX_Size() int
func (*RequestProcessProposal) XXX_Unmarshal ¶
func (m *RequestProcessProposal) 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"` }
func (*RequestQuery) Descriptor ¶
func (*RequestQuery) Descriptor() ([]byte, []int)
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 ¶
func (m *RequestQuery) Marshal() (dAtA []byte, err error)
func (*RequestQuery) MarshalToSizedBuffer ¶
func (m *RequestQuery) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RequestQuery) ProtoMessage ¶
func (*RequestQuery) ProtoMessage()
func (*RequestQuery) Reset ¶
func (m *RequestQuery) Reset()
func (*RequestQuery) Size ¶
func (m *RequestQuery) Size() (n int)
func (*RequestQuery) String ¶
func (m *RequestQuery) String() string
func (*RequestQuery) Unmarshal ¶
func (m *RequestQuery) Unmarshal(dAtA []byte) error
func (*RequestQuery) XXX_DiscardUnknown ¶
func (m *RequestQuery) XXX_DiscardUnknown()
func (*RequestQuery) XXX_Marshal ¶
func (m *RequestQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestQuery) XXX_Merge ¶
func (m *RequestQuery) XXX_Merge(src proto.Message)
func (*RequestQuery) XXX_Size ¶
func (m *RequestQuery) XXX_Size() int
func (*RequestQuery) XXX_Unmarshal ¶
func (m *RequestQuery) XXX_Unmarshal(b []byte) error
type RequestVerifyVoteExtension ¶ added in v0.38.0
type RequestVerifyVoteExtension struct { // the hash of the block that this received vote corresponds to Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // the validator that signed the vote extension ValidatorAddress []byte `protobuf:"bytes,2,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"` Height int64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` VoteExtension []byte `protobuf:"bytes,4,opt,name=vote_extension,json=voteExtension,proto3" json:"vote_extension,omitempty"` }
Verify the vote extension
func (*RequestVerifyVoteExtension) Descriptor ¶ added in v0.38.0
func (*RequestVerifyVoteExtension) Descriptor() ([]byte, []int)
func (*RequestVerifyVoteExtension) GetHash ¶ added in v0.38.0
func (m *RequestVerifyVoteExtension) GetHash() []byte
func (*RequestVerifyVoteExtension) GetHeight ¶ added in v0.38.0
func (m *RequestVerifyVoteExtension) GetHeight() int64
func (*RequestVerifyVoteExtension) GetValidatorAddress ¶ added in v0.38.0
func (m *RequestVerifyVoteExtension) GetValidatorAddress() []byte
func (*RequestVerifyVoteExtension) GetVoteExtension ¶ added in v0.38.0
func (m *RequestVerifyVoteExtension) GetVoteExtension() []byte
func (*RequestVerifyVoteExtension) Marshal ¶ added in v0.38.0
func (m *RequestVerifyVoteExtension) Marshal() (dAtA []byte, err error)
func (*RequestVerifyVoteExtension) MarshalTo ¶ added in v0.38.0
func (m *RequestVerifyVoteExtension) MarshalTo(dAtA []byte) (int, error)
func (*RequestVerifyVoteExtension) MarshalToSizedBuffer ¶ added in v0.38.0
func (m *RequestVerifyVoteExtension) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RequestVerifyVoteExtension) ProtoMessage ¶ added in v0.38.0
func (*RequestVerifyVoteExtension) ProtoMessage()
func (*RequestVerifyVoteExtension) Reset ¶ added in v0.38.0
func (m *RequestVerifyVoteExtension) Reset()
func (*RequestVerifyVoteExtension) Size ¶ added in v0.38.0
func (m *RequestVerifyVoteExtension) Size() (n int)
func (*RequestVerifyVoteExtension) String ¶ added in v0.38.0
func (m *RequestVerifyVoteExtension) String() string
func (*RequestVerifyVoteExtension) Unmarshal ¶ added in v0.38.0
func (m *RequestVerifyVoteExtension) Unmarshal(dAtA []byte) error
func (*RequestVerifyVoteExtension) XXX_DiscardUnknown ¶ added in v0.38.0
func (m *RequestVerifyVoteExtension) XXX_DiscardUnknown()
func (*RequestVerifyVoteExtension) XXX_Marshal ¶ added in v0.38.0
func (m *RequestVerifyVoteExtension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestVerifyVoteExtension) XXX_Merge ¶ added in v0.38.0
func (m *RequestVerifyVoteExtension) XXX_Merge(src proto.Message)
func (*RequestVerifyVoteExtension) XXX_Size ¶ added in v0.38.0
func (m *RequestVerifyVoteExtension) XXX_Size() int
func (*RequestVerifyVoteExtension) XXX_Unmarshal ¶ added in v0.38.0
func (m *RequestVerifyVoteExtension) XXX_Unmarshal(b []byte) error
type Request_ApplySnapshotChunk ¶
type Request_ApplySnapshotChunk struct {
ApplySnapshotChunk *RequestApplySnapshotChunk `protobuf:"bytes,15,opt,name=apply_snapshot_chunk,json=applySnapshotChunk,proto3,oneof" json:"apply_snapshot_chunk,omitempty"`
}
func (*Request_ApplySnapshotChunk) MarshalTo ¶
func (m *Request_ApplySnapshotChunk) MarshalTo(dAtA []byte) (int, error)
func (*Request_ApplySnapshotChunk) MarshalToSizedBuffer ¶
func (m *Request_ApplySnapshotChunk) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Request_ApplySnapshotChunk) Size ¶
func (m *Request_ApplySnapshotChunk) Size() (n int)
type Request_CheckTx ¶
type Request_CheckTx struct {
CheckTx *RequestCheckTx `protobuf:"bytes,8,opt,name=check_tx,json=checkTx,proto3,oneof" json:"check_tx,omitempty"`
}
func (*Request_CheckTx) MarshalToSizedBuffer ¶
func (m *Request_CheckTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Request_CheckTx) Size ¶
func (m *Request_CheckTx) Size() (n int)
type Request_Commit ¶
type Request_Commit struct {
Commit *RequestCommit `protobuf:"bytes,11,opt,name=commit,proto3,oneof" json:"commit,omitempty"`
}
func (*Request_Commit) MarshalToSizedBuffer ¶
func (m *Request_Commit) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Request_Commit) Size ¶
func (m *Request_Commit) Size() (n int)
type Request_Echo ¶
type Request_Echo struct {
Echo *RequestEcho `protobuf:"bytes,1,opt,name=echo,proto3,oneof" json:"echo,omitempty"`
}
func (*Request_Echo) MarshalToSizedBuffer ¶
func (m *Request_Echo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Request_Echo) Size ¶
func (m *Request_Echo) Size() (n int)
type Request_ExtendVote ¶ added in v0.38.0
type Request_ExtendVote struct {
ExtendVote *RequestExtendVote `protobuf:"bytes,18,opt,name=extend_vote,json=extendVote,proto3,oneof" json:"extend_vote,omitempty"`
}
func (*Request_ExtendVote) MarshalTo ¶ added in v0.38.0
func (m *Request_ExtendVote) MarshalTo(dAtA []byte) (int, error)
func (*Request_ExtendVote) MarshalToSizedBuffer ¶ added in v0.38.0
func (m *Request_ExtendVote) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Request_ExtendVote) Size ¶ added in v0.38.0
func (m *Request_ExtendVote) Size() (n int)
type Request_FinalizeBlock ¶ added in v0.38.0
type Request_FinalizeBlock struct {
FinalizeBlock *RequestFinalizeBlock `protobuf:"bytes,20,opt,name=finalize_block,json=finalizeBlock,proto3,oneof" json:"finalize_block,omitempty"`
}
func (*Request_FinalizeBlock) MarshalTo ¶ added in v0.38.0
func (m *Request_FinalizeBlock) MarshalTo(dAtA []byte) (int, error)
func (*Request_FinalizeBlock) MarshalToSizedBuffer ¶ added in v0.38.0
func (m *Request_FinalizeBlock) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Request_FinalizeBlock) Size ¶ added in v0.38.0
func (m *Request_FinalizeBlock) Size() (n int)
type Request_Flush ¶
type Request_Flush struct {
Flush *RequestFlush `protobuf:"bytes,2,opt,name=flush,proto3,oneof" json:"flush,omitempty"`
}
func (*Request_Flush) MarshalToSizedBuffer ¶
func (m *Request_Flush) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Request_Flush) Size ¶
func (m *Request_Flush) Size() (n int)
type Request_Info ¶
type Request_Info struct {
Info *RequestInfo `protobuf:"bytes,3,opt,name=info,proto3,oneof" json:"info,omitempty"`
}
func (*Request_Info) MarshalToSizedBuffer ¶
func (m *Request_Info) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Request_Info) Size ¶
func (m *Request_Info) Size() (n int)
type Request_InitChain ¶
type Request_InitChain struct {
InitChain *RequestInitChain `protobuf:"bytes,5,opt,name=init_chain,json=initChain,proto3,oneof" json:"init_chain,omitempty"`
}
func (*Request_InitChain) MarshalTo ¶
func (m *Request_InitChain) MarshalTo(dAtA []byte) (int, error)
func (*Request_InitChain) MarshalToSizedBuffer ¶
func (m *Request_InitChain) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Request_InitChain) Size ¶
func (m *Request_InitChain) Size() (n int)
type Request_ListSnapshots ¶
type Request_ListSnapshots struct {
ListSnapshots *RequestListSnapshots `protobuf:"bytes,12,opt,name=list_snapshots,json=listSnapshots,proto3,oneof" json:"list_snapshots,omitempty"`
}
func (*Request_ListSnapshots) MarshalTo ¶
func (m *Request_ListSnapshots) MarshalTo(dAtA []byte) (int, error)
func (*Request_ListSnapshots) MarshalToSizedBuffer ¶
func (m *Request_ListSnapshots) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Request_ListSnapshots) Size ¶
func (m *Request_ListSnapshots) Size() (n int)
type Request_LoadSnapshotChunk ¶
type Request_LoadSnapshotChunk struct {
LoadSnapshotChunk *RequestLoadSnapshotChunk `protobuf:"bytes,14,opt,name=load_snapshot_chunk,json=loadSnapshotChunk,proto3,oneof" json:"load_snapshot_chunk,omitempty"`
}
func (*Request_LoadSnapshotChunk) MarshalTo ¶
func (m *Request_LoadSnapshotChunk) MarshalTo(dAtA []byte) (int, error)
func (*Request_LoadSnapshotChunk) MarshalToSizedBuffer ¶
func (m *Request_LoadSnapshotChunk) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Request_LoadSnapshotChunk) Size ¶
func (m *Request_LoadSnapshotChunk) Size() (n int)
type Request_OfferSnapshot ¶
type Request_OfferSnapshot struct {
OfferSnapshot *RequestOfferSnapshot `protobuf:"bytes,13,opt,name=offer_snapshot,json=offerSnapshot,proto3,oneof" json:"offer_snapshot,omitempty"`
}
func (*Request_OfferSnapshot) MarshalTo ¶
func (m *Request_OfferSnapshot) MarshalTo(dAtA []byte) (int, error)
func (*Request_OfferSnapshot) MarshalToSizedBuffer ¶
func (m *Request_OfferSnapshot) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Request_OfferSnapshot) Size ¶
func (m *Request_OfferSnapshot) Size() (n int)
type Request_PrepareProposal ¶
type Request_PrepareProposal struct {
PrepareProposal *RequestPrepareProposal `protobuf:"bytes,16,opt,name=prepare_proposal,json=prepareProposal,proto3,oneof" json:"prepare_proposal,omitempty"`
}
func (*Request_PrepareProposal) MarshalTo ¶
func (m *Request_PrepareProposal) MarshalTo(dAtA []byte) (int, error)
func (*Request_PrepareProposal) MarshalToSizedBuffer ¶
func (m *Request_PrepareProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Request_PrepareProposal) Size ¶
func (m *Request_PrepareProposal) Size() (n int)
type Request_ProcessProposal ¶
type Request_ProcessProposal struct {
ProcessProposal *RequestProcessProposal `protobuf:"bytes,17,opt,name=process_proposal,json=processProposal,proto3,oneof" json:"process_proposal,omitempty"`
}
func (*Request_ProcessProposal) MarshalTo ¶
func (m *Request_ProcessProposal) MarshalTo(dAtA []byte) (int, error)
func (*Request_ProcessProposal) MarshalToSizedBuffer ¶
func (m *Request_ProcessProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Request_ProcessProposal) Size ¶
func (m *Request_ProcessProposal) Size() (n int)
type Request_Query ¶
type Request_Query struct {
Query *RequestQuery `protobuf:"bytes,6,opt,name=query,proto3,oneof" json:"query,omitempty"`
}
func (*Request_Query) MarshalToSizedBuffer ¶
func (m *Request_Query) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Request_Query) Size ¶
func (m *Request_Query) Size() (n int)
type Request_VerifyVoteExtension ¶ added in v0.38.0
type Request_VerifyVoteExtension struct {
VerifyVoteExtension *RequestVerifyVoteExtension `` /* 127-byte string literal not displayed */
}
func (*Request_VerifyVoteExtension) MarshalTo ¶ added in v0.38.0
func (m *Request_VerifyVoteExtension) MarshalTo(dAtA []byte) (int, error)
func (*Request_VerifyVoteExtension) MarshalToSizedBuffer ¶ added in v0.38.0
func (m *Request_VerifyVoteExtension) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Request_VerifyVoteExtension) Size ¶ added in v0.38.0
func (m *Request_VerifyVoteExtension) 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_InitChain // *Response_Query // *Response_CheckTx // *Response_Commit // *Response_ListSnapshots // *Response_OfferSnapshot // *Response_LoadSnapshotChunk // *Response_ApplySnapshotChunk // *Response_PrepareProposal // *Response_ProcessProposal // *Response_ExtendVote // *Response_VerifyVoteExtension // *Response_FinalizeBlock Value isResponse_Value `protobuf_oneof:"value"` }
func ToResponseApplySnapshotChunk ¶
func ToResponseApplySnapshotChunk(res *ResponseApplySnapshotChunk) *Response
func ToResponseCheckTx ¶
func ToResponseCheckTx(res *ResponseCheckTx) *Response
func ToResponseCommit ¶
func ToResponseCommit(res *ResponseCommit) *Response
func ToResponseEcho ¶
func ToResponseException ¶
func ToResponseExtendVote ¶ added in v0.38.0
func ToResponseExtendVote(res *ResponseExtendVote) *Response
func ToResponseFinalizeBlock ¶ added in v0.38.0
func ToResponseFinalizeBlock(res *ResponseFinalizeBlock) *Response
func ToResponseFlush ¶
func ToResponseFlush() *Response
func ToResponseInfo ¶
func ToResponseInfo(res *ResponseInfo) *Response
func ToResponseInitChain ¶
func ToResponseInitChain(res *ResponseInitChain) *Response
func ToResponseListSnapshots ¶
func ToResponseListSnapshots(res *ResponseListSnapshots) *Response
func ToResponseLoadSnapshotChunk ¶
func ToResponseLoadSnapshotChunk(res *ResponseLoadSnapshotChunk) *Response
func ToResponseOfferSnapshot ¶
func ToResponseOfferSnapshot(res *ResponseOfferSnapshot) *Response
func ToResponsePrepareProposal ¶
func ToResponsePrepareProposal(res *ResponsePrepareProposal) *Response
func ToResponseProcessProposal ¶
func ToResponseProcessProposal(res *ResponseProcessProposal) *Response
func ToResponseQuery ¶
func ToResponseQuery(res *ResponseQuery) *Response
func ToResponseVerifyVoteExtension ¶ added in v0.38.0
func ToResponseVerifyVoteExtension(res *ResponseVerifyVoteExtension) *Response
func (*Response) Descriptor ¶
func (*Response) GetApplySnapshotChunk ¶
func (m *Response) GetApplySnapshotChunk() *ResponseApplySnapshotChunk
func (*Response) GetCheckTx ¶
func (m *Response) GetCheckTx() *ResponseCheckTx
func (*Response) GetCommit ¶
func (m *Response) GetCommit() *ResponseCommit
func (*Response) GetEcho ¶
func (m *Response) GetEcho() *ResponseEcho
func (*Response) GetException ¶
func (m *Response) GetException() *ResponseException
func (*Response) GetExtendVote ¶ added in v0.38.0
func (m *Response) GetExtendVote() *ResponseExtendVote
func (*Response) GetFinalizeBlock ¶ added in v0.38.0
func (m *Response) GetFinalizeBlock() *ResponseFinalizeBlock
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) GetListSnapshots ¶
func (m *Response) GetListSnapshots() *ResponseListSnapshots
func (*Response) GetLoadSnapshotChunk ¶
func (m *Response) GetLoadSnapshotChunk() *ResponseLoadSnapshotChunk
func (*Response) GetOfferSnapshot ¶
func (m *Response) GetOfferSnapshot() *ResponseOfferSnapshot
func (*Response) GetPrepareProposal ¶
func (m *Response) GetPrepareProposal() *ResponsePrepareProposal
func (*Response) GetProcessProposal ¶
func (m *Response) GetProcessProposal() *ResponseProcessProposal
func (*Response) GetQuery ¶
func (m *Response) GetQuery() *ResponseQuery
func (*Response) GetVerifyVoteExtension ¶ added in v0.38.0
func (m *Response) GetVerifyVoteExtension() *ResponseVerifyVoteExtension
func (*Response) MarshalToSizedBuffer ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) XXX_DiscardUnknown ¶
func (m *Response) XXX_DiscardUnknown()
func (*Response) XXX_Marshal ¶
func (*Response) XXX_OneofWrappers ¶
func (*Response) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Response) XXX_Unmarshal ¶
type ResponseApplySnapshotChunk ¶
type ResponseApplySnapshotChunk struct { Result ResponseApplySnapshotChunk_Result `protobuf:"varint,1,opt,name=result,proto3,enum=tendermint.abci.ResponseApplySnapshotChunk_Result" json:"result,omitempty"` RefetchChunks []uint32 `protobuf:"varint,2,rep,packed,name=refetch_chunks,json=refetchChunks,proto3" json:"refetch_chunks,omitempty"` RejectSenders []string `protobuf:"bytes,3,rep,name=reject_senders,json=rejectSenders,proto3" json:"reject_senders,omitempty"` }
func (*ResponseApplySnapshotChunk) Descriptor ¶
func (*ResponseApplySnapshotChunk) Descriptor() ([]byte, []int)
func (*ResponseApplySnapshotChunk) GetRefetchChunks ¶
func (m *ResponseApplySnapshotChunk) GetRefetchChunks() []uint32
func (*ResponseApplySnapshotChunk) GetRejectSenders ¶
func (m *ResponseApplySnapshotChunk) GetRejectSenders() []string
func (*ResponseApplySnapshotChunk) GetResult ¶
func (m *ResponseApplySnapshotChunk) GetResult() ResponseApplySnapshotChunk_Result
func (*ResponseApplySnapshotChunk) Marshal ¶
func (m *ResponseApplySnapshotChunk) Marshal() (dAtA []byte, err error)
func (*ResponseApplySnapshotChunk) MarshalTo ¶
func (m *ResponseApplySnapshotChunk) MarshalTo(dAtA []byte) (int, error)
func (*ResponseApplySnapshotChunk) MarshalToSizedBuffer ¶
func (m *ResponseApplySnapshotChunk) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ResponseApplySnapshotChunk) ProtoMessage ¶
func (*ResponseApplySnapshotChunk) ProtoMessage()
func (*ResponseApplySnapshotChunk) Reset ¶
func (m *ResponseApplySnapshotChunk) Reset()
func (*ResponseApplySnapshotChunk) Size ¶
func (m *ResponseApplySnapshotChunk) Size() (n int)
func (*ResponseApplySnapshotChunk) String ¶
func (m *ResponseApplySnapshotChunk) String() string
func (*ResponseApplySnapshotChunk) Unmarshal ¶
func (m *ResponseApplySnapshotChunk) Unmarshal(dAtA []byte) error
func (*ResponseApplySnapshotChunk) XXX_DiscardUnknown ¶
func (m *ResponseApplySnapshotChunk) XXX_DiscardUnknown()
func (*ResponseApplySnapshotChunk) XXX_Marshal ¶
func (m *ResponseApplySnapshotChunk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResponseApplySnapshotChunk) XXX_Merge ¶
func (m *ResponseApplySnapshotChunk) XXX_Merge(src proto.Message)
func (*ResponseApplySnapshotChunk) XXX_Size ¶
func (m *ResponseApplySnapshotChunk) XXX_Size() int
func (*ResponseApplySnapshotChunk) XXX_Unmarshal ¶
func (m *ResponseApplySnapshotChunk) XXX_Unmarshal(b []byte) error
type ResponseApplySnapshotChunk_Result ¶
type ResponseApplySnapshotChunk_Result int32
const ( ResponseApplySnapshotChunk_UNKNOWN ResponseApplySnapshotChunk_Result = 0 ResponseApplySnapshotChunk_ACCEPT ResponseApplySnapshotChunk_Result = 1 ResponseApplySnapshotChunk_ABORT ResponseApplySnapshotChunk_Result = 2 ResponseApplySnapshotChunk_RETRY ResponseApplySnapshotChunk_Result = 3 ResponseApplySnapshotChunk_RETRY_SNAPSHOT ResponseApplySnapshotChunk_Result = 4 ResponseApplySnapshotChunk_REJECT_SNAPSHOT ResponseApplySnapshotChunk_Result = 5 )