Documentation ¶
Overview ¶
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Index ¶
- Constants
- Variables
- func RegisterABCIServer(s grpc.ServiceRegistrar, srv ABCIServer)
- type ABCIClient
- type ABCIServer
- type CheckTxType
- func (CheckTxType) Descriptor() protoreflect.EnumDescriptor
- func (x CheckTxType) Enum() *CheckTxType
- func (CheckTxType) EnumDescriptor() ([]byte, []int)deprecated
- func (x CheckTxType) Number() protoreflect.EnumNumber
- func (x CheckTxType) String() string
- func (CheckTxType) Type() protoreflect.EnumType
- type CommitInfo
- type Event
- type EventAttribute
- func (*EventAttribute) Descriptor() ([]byte, []int)deprecated
- func (x *EventAttribute) GetIndex() bool
- func (x *EventAttribute) GetKey() string
- func (x *EventAttribute) GetValue() string
- func (*EventAttribute) ProtoMessage()
- func (x *EventAttribute) ProtoReflect() protoreflect.Message
- func (x *EventAttribute) Reset()
- func (x *EventAttribute) String() string
- type ExecTxResult
- func (*ExecTxResult) Descriptor() ([]byte, []int)deprecated
- func (x *ExecTxResult) GetCode() uint32
- func (x *ExecTxResult) GetCodespace() string
- func (x *ExecTxResult) GetData() []byte
- func (x *ExecTxResult) GetEvents() []*Event
- func (x *ExecTxResult) GetGasUsed() int64
- func (x *ExecTxResult) GetGasWanted() int64
- func (x *ExecTxResult) GetInfo() string
- func (x *ExecTxResult) GetLog() string
- func (*ExecTxResult) ProtoMessage()
- func (x *ExecTxResult) ProtoReflect() protoreflect.Message
- func (x *ExecTxResult) Reset()
- func (x *ExecTxResult) String() string
- type ExtendedCommitInfo
- func (*ExtendedCommitInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ExtendedCommitInfo) GetRound() int32
- func (x *ExtendedCommitInfo) GetVotes() []*ExtendedVoteInfo
- func (*ExtendedCommitInfo) ProtoMessage()
- func (x *ExtendedCommitInfo) ProtoReflect() protoreflect.Message
- func (x *ExtendedCommitInfo) Reset()
- func (x *ExtendedCommitInfo) String() string
- type ExtendedVoteInfo
- func (*ExtendedVoteInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ExtendedVoteInfo) GetBlockIdFlag() types.BlockIDFlag
- func (x *ExtendedVoteInfo) GetExtensionSignature() []byte
- func (x *ExtendedVoteInfo) GetValidator() *Validator
- func (x *ExtendedVoteInfo) GetVoteExtension() []byte
- func (*ExtendedVoteInfo) ProtoMessage()
- func (x *ExtendedVoteInfo) ProtoReflect() protoreflect.Message
- func (x *ExtendedVoteInfo) Reset()
- func (x *ExtendedVoteInfo) String() string
- type Misbehavior
- func (*Misbehavior) Descriptor() ([]byte, []int)deprecated
- func (x *Misbehavior) GetHeight() int64
- func (x *Misbehavior) GetTime() *timestamppb.Timestamp
- func (x *Misbehavior) GetTotalVotingPower() int64
- func (x *Misbehavior) GetType_() MisbehaviorType
- func (x *Misbehavior) GetValidator() *Validator
- func (*Misbehavior) ProtoMessage()
- func (x *Misbehavior) ProtoReflect() protoreflect.Message
- func (x *Misbehavior) Reset()
- func (x *Misbehavior) String() string
- type MisbehaviorType
- func (MisbehaviorType) Descriptor() protoreflect.EnumDescriptor
- func (x MisbehaviorType) Enum() *MisbehaviorType
- func (MisbehaviorType) EnumDescriptor() ([]byte, []int)deprecated
- func (x MisbehaviorType) Number() protoreflect.EnumNumber
- func (x MisbehaviorType) String() string
- func (MisbehaviorType) Type() protoreflect.EnumType
- type Request
- func (*Request) Descriptor() ([]byte, []int)deprecated
- func (x *Request) GetApplySnapshotChunk() *RequestApplySnapshotChunk
- func (x *Request) GetCheckTx() *RequestCheckTx
- func (x *Request) GetCommit() *RequestCommit
- func (x *Request) GetEcho() *RequestEcho
- func (x *Request) GetExtendVote() *RequestExtendVote
- func (x *Request) GetFinalizeBlock() *RequestFinalizeBlock
- func (x *Request) GetFlush() *RequestFlush
- func (x *Request) GetInfo() *RequestInfo
- func (x *Request) GetInitChain() *RequestInitChain
- func (x *Request) GetListSnapshots() *RequestListSnapshots
- func (x *Request) GetLoadSnapshotChunk() *RequestLoadSnapshotChunk
- func (x *Request) GetOfferSnapshot() *RequestOfferSnapshot
- func (x *Request) GetPrepareProposal() *RequestPrepareProposal
- func (x *Request) GetProcessProposal() *RequestProcessProposal
- func (x *Request) GetQuery() *RequestQuery
- func (x *Request) GetValue() isRequest_Value
- func (x *Request) GetVerifyVoteExtension() *RequestVerifyVoteExtension
- func (*Request) ProtoMessage()
- func (x *Request) ProtoReflect() protoreflect.Message
- func (x *Request) Reset()
- func (x *Request) String() string
- type RequestApplySnapshotChunk
- func (*RequestApplySnapshotChunk) Descriptor() ([]byte, []int)deprecated
- func (x *RequestApplySnapshotChunk) GetChunk() []byte
- func (x *RequestApplySnapshotChunk) GetIndex() uint32
- func (x *RequestApplySnapshotChunk) GetSender() string
- func (*RequestApplySnapshotChunk) ProtoMessage()
- func (x *RequestApplySnapshotChunk) ProtoReflect() protoreflect.Message
- func (x *RequestApplySnapshotChunk) Reset()
- func (x *RequestApplySnapshotChunk) String() string
- type RequestCheckTx
- func (*RequestCheckTx) Descriptor() ([]byte, []int)deprecated
- func (x *RequestCheckTx) GetTx() []byte
- func (x *RequestCheckTx) GetType_() CheckTxType
- func (*RequestCheckTx) ProtoMessage()
- func (x *RequestCheckTx) ProtoReflect() protoreflect.Message
- func (x *RequestCheckTx) Reset()
- func (x *RequestCheckTx) String() string
- type RequestCommit
- type RequestEcho
- type RequestExtendVote
- func (*RequestExtendVote) Descriptor() ([]byte, []int)deprecated
- func (x *RequestExtendVote) GetHash() []byte
- func (x *RequestExtendVote) GetHeight() int64
- func (x *RequestExtendVote) GetMisbehavior() []*Misbehavior
- func (x *RequestExtendVote) GetNextValidatorsHash() []byte
- func (x *RequestExtendVote) GetProposedLastCommit() *CommitInfo
- func (x *RequestExtendVote) GetProposerAddress() []byte
- func (x *RequestExtendVote) GetTime() *timestamppb.Timestamp
- func (x *RequestExtendVote) GetTxs() [][]byte
- func (*RequestExtendVote) ProtoMessage()
- func (x *RequestExtendVote) ProtoReflect() protoreflect.Message
- func (x *RequestExtendVote) Reset()
- func (x *RequestExtendVote) String() string
- type RequestFinalizeBlock
- func (*RequestFinalizeBlock) Descriptor() ([]byte, []int)deprecated
- func (x *RequestFinalizeBlock) GetDecidedLastCommit() *CommitInfo
- func (x *RequestFinalizeBlock) GetHash() []byte
- func (x *RequestFinalizeBlock) GetHeight() int64
- func (x *RequestFinalizeBlock) GetMisbehavior() []*Misbehavior
- func (x *RequestFinalizeBlock) GetNextValidatorsHash() []byte
- func (x *RequestFinalizeBlock) GetProposerAddress() []byte
- func (x *RequestFinalizeBlock) GetTime() *timestamppb.Timestamp
- func (x *RequestFinalizeBlock) GetTxs() [][]byte
- func (*RequestFinalizeBlock) ProtoMessage()
- func (x *RequestFinalizeBlock) ProtoReflect() protoreflect.Message
- func (x *RequestFinalizeBlock) Reset()
- func (x *RequestFinalizeBlock) String() string
- type RequestFlush
- type RequestInfo
- func (*RequestInfo) Descriptor() ([]byte, []int)deprecated
- func (x *RequestInfo) GetAbciVersion() string
- func (x *RequestInfo) GetBlockVersion() uint64
- func (x *RequestInfo) GetP2PVersion() uint64
- func (x *RequestInfo) GetVersion() string
- func (*RequestInfo) ProtoMessage()
- func (x *RequestInfo) ProtoReflect() protoreflect.Message
- func (x *RequestInfo) Reset()
- func (x *RequestInfo) String() string
- type RequestInitChain
- func (*RequestInitChain) Descriptor() ([]byte, []int)deprecated
- func (x *RequestInitChain) GetAppStateBytes() []byte
- func (x *RequestInitChain) GetChainId() string
- func (x *RequestInitChain) GetConsensusParams() *types.ConsensusParams
- func (x *RequestInitChain) GetInitialHeight() int64
- func (x *RequestInitChain) GetTime() *timestamppb.Timestamp
- func (x *RequestInitChain) GetValidators() []*ValidatorUpdate
- func (*RequestInitChain) ProtoMessage()
- func (x *RequestInitChain) ProtoReflect() protoreflect.Message
- func (x *RequestInitChain) Reset()
- func (x *RequestInitChain) String() string
- type RequestListSnapshots
- type RequestLoadSnapshotChunk
- func (*RequestLoadSnapshotChunk) Descriptor() ([]byte, []int)deprecated
- func (x *RequestLoadSnapshotChunk) GetChunk() uint32
- func (x *RequestLoadSnapshotChunk) GetFormat() uint32
- func (x *RequestLoadSnapshotChunk) GetHeight() uint64
- func (*RequestLoadSnapshotChunk) ProtoMessage()
- func (x *RequestLoadSnapshotChunk) ProtoReflect() protoreflect.Message
- func (x *RequestLoadSnapshotChunk) Reset()
- func (x *RequestLoadSnapshotChunk) String() string
- type RequestOfferSnapshot
- func (*RequestOfferSnapshot) Descriptor() ([]byte, []int)deprecated
- func (x *RequestOfferSnapshot) GetAppHash() []byte
- func (x *RequestOfferSnapshot) GetSnapshot() *Snapshot
- func (*RequestOfferSnapshot) ProtoMessage()
- func (x *RequestOfferSnapshot) ProtoReflect() protoreflect.Message
- func (x *RequestOfferSnapshot) Reset()
- func (x *RequestOfferSnapshot) String() string
- type RequestPrepareProposal
- func (*RequestPrepareProposal) Descriptor() ([]byte, []int)deprecated
- func (x *RequestPrepareProposal) GetHeight() int64
- func (x *RequestPrepareProposal) GetLocalLastCommit() *ExtendedCommitInfo
- func (x *RequestPrepareProposal) GetMaxTxBytes() int64
- func (x *RequestPrepareProposal) GetMisbehavior() []*Misbehavior
- func (x *RequestPrepareProposal) GetNextValidatorsHash() []byte
- func (x *RequestPrepareProposal) GetProposerAddress() []byte
- func (x *RequestPrepareProposal) GetTime() *timestamppb.Timestamp
- func (x *RequestPrepareProposal) GetTxs() [][]byte
- func (*RequestPrepareProposal) ProtoMessage()
- func (x *RequestPrepareProposal) ProtoReflect() protoreflect.Message
- func (x *RequestPrepareProposal) Reset()
- func (x *RequestPrepareProposal) String() string
- type RequestProcessProposal
- func (*RequestProcessProposal) Descriptor() ([]byte, []int)deprecated
- func (x *RequestProcessProposal) GetHash() []byte
- func (x *RequestProcessProposal) GetHeight() int64
- func (x *RequestProcessProposal) GetMisbehavior() []*Misbehavior
- func (x *RequestProcessProposal) GetNextValidatorsHash() []byte
- func (x *RequestProcessProposal) GetProposedLastCommit() *CommitInfo
- func (x *RequestProcessProposal) GetProposerAddress() []byte
- func (x *RequestProcessProposal) GetTime() *timestamppb.Timestamp
- func (x *RequestProcessProposal) GetTxs() [][]byte
- func (*RequestProcessProposal) ProtoMessage()
- func (x *RequestProcessProposal) ProtoReflect() protoreflect.Message
- func (x *RequestProcessProposal) Reset()
- func (x *RequestProcessProposal) String() string
- type RequestQuery
- func (*RequestQuery) Descriptor() ([]byte, []int)deprecated
- func (x *RequestQuery) GetData() []byte
- func (x *RequestQuery) GetHeight() int64
- func (x *RequestQuery) GetPath() string
- func (x *RequestQuery) GetProve() bool
- func (*RequestQuery) ProtoMessage()
- func (x *RequestQuery) ProtoReflect() protoreflect.Message
- func (x *RequestQuery) Reset()
- func (x *RequestQuery) String() string
- type RequestVerifyVoteExtension
- func (*RequestVerifyVoteExtension) Descriptor() ([]byte, []int)deprecated
- func (x *RequestVerifyVoteExtension) GetHash() []byte
- func (x *RequestVerifyVoteExtension) GetHeight() int64
- func (x *RequestVerifyVoteExtension) GetValidatorAddress() []byte
- func (x *RequestVerifyVoteExtension) GetVoteExtension() []byte
- func (*RequestVerifyVoteExtension) ProtoMessage()
- func (x *RequestVerifyVoteExtension) ProtoReflect() protoreflect.Message
- func (x *RequestVerifyVoteExtension) Reset()
- func (x *RequestVerifyVoteExtension) String() string
- 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 (*Response) Descriptor() ([]byte, []int)deprecated
- func (x *Response) GetApplySnapshotChunk() *ResponseApplySnapshotChunk
- func (x *Response) GetCheckTx() *ResponseCheckTx
- func (x *Response) GetCommit() *ResponseCommit
- func (x *Response) GetEcho() *ResponseEcho
- func (x *Response) GetException() *ResponseException
- func (x *Response) GetExtendVote() *ResponseExtendVote
- func (x *Response) GetFinalizeBlock() *ResponseFinalizeBlock
- func (x *Response) GetFlush() *ResponseFlush
- func (x *Response) GetInfo() *ResponseInfo
- func (x *Response) GetInitChain() *ResponseInitChain
- func (x *Response) GetListSnapshots() *ResponseListSnapshots
- func (x *Response) GetLoadSnapshotChunk() *ResponseLoadSnapshotChunk
- func (x *Response) GetOfferSnapshot() *ResponseOfferSnapshot
- func (x *Response) GetPrepareProposal() *ResponsePrepareProposal
- func (x *Response) GetProcessProposal() *ResponseProcessProposal
- func (x *Response) GetQuery() *ResponseQuery
- func (x *Response) GetValue() isResponse_Value
- func (x *Response) GetVerifyVoteExtension() *ResponseVerifyVoteExtension
- func (*Response) ProtoMessage()
- func (x *Response) ProtoReflect() protoreflect.Message
- func (x *Response) Reset()
- func (x *Response) String() string
- type ResponseApplySnapshotChunk
- func (*ResponseApplySnapshotChunk) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseApplySnapshotChunk) GetRefetchChunks() []uint32
- func (x *ResponseApplySnapshotChunk) GetRejectSenders() []string
- func (x *ResponseApplySnapshotChunk) GetResult() ResponseApplySnapshotChunk_Result
- func (*ResponseApplySnapshotChunk) ProtoMessage()
- func (x *ResponseApplySnapshotChunk) ProtoReflect() protoreflect.Message
- func (x *ResponseApplySnapshotChunk) Reset()
- func (x *ResponseApplySnapshotChunk) String() string
- type ResponseApplySnapshotChunk_Result
- func (ResponseApplySnapshotChunk_Result) Descriptor() protoreflect.EnumDescriptor
- func (x ResponseApplySnapshotChunk_Result) Enum() *ResponseApplySnapshotChunk_Result
- func (ResponseApplySnapshotChunk_Result) EnumDescriptor() ([]byte, []int)deprecated
- func (x ResponseApplySnapshotChunk_Result) Number() protoreflect.EnumNumber
- func (x ResponseApplySnapshotChunk_Result) String() string
- func (ResponseApplySnapshotChunk_Result) Type() protoreflect.EnumType
- type ResponseCheckTx
- func (*ResponseCheckTx) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseCheckTx) GetCode() uint32
- func (x *ResponseCheckTx) GetCodespace() string
- func (x *ResponseCheckTx) GetData() []byte
- func (x *ResponseCheckTx) GetEvents() []*Event
- func (x *ResponseCheckTx) GetGasUsed() int64
- func (x *ResponseCheckTx) GetGasWanted() int64
- func (x *ResponseCheckTx) GetInfo() string
- func (x *ResponseCheckTx) GetLog() string
- func (*ResponseCheckTx) ProtoMessage()
- func (x *ResponseCheckTx) ProtoReflect() protoreflect.Message
- func (x *ResponseCheckTx) Reset()
- func (x *ResponseCheckTx) String() string
- type ResponseCommit
- type ResponseEcho
- type ResponseException
- type ResponseExtendVote
- func (*ResponseExtendVote) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseExtendVote) GetVoteExtension() []byte
- func (*ResponseExtendVote) ProtoMessage()
- func (x *ResponseExtendVote) ProtoReflect() protoreflect.Message
- func (x *ResponseExtendVote) Reset()
- func (x *ResponseExtendVote) String() string
- type ResponseFinalizeBlock
- func (*ResponseFinalizeBlock) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseFinalizeBlock) GetAppHash() []byte
- func (x *ResponseFinalizeBlock) GetConsensusParamUpdates() *types.ConsensusParams
- func (x *ResponseFinalizeBlock) GetEvents() []*Event
- func (x *ResponseFinalizeBlock) GetTxResults() []*ExecTxResult
- func (x *ResponseFinalizeBlock) GetValidatorUpdates() []*ValidatorUpdate
- func (*ResponseFinalizeBlock) ProtoMessage()
- func (x *ResponseFinalizeBlock) ProtoReflect() protoreflect.Message
- func (x *ResponseFinalizeBlock) Reset()
- func (x *ResponseFinalizeBlock) String() string
- type ResponseFlush
- type ResponseInfo
- func (*ResponseInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseInfo) GetAppVersion() uint64
- func (x *ResponseInfo) GetData() string
- func (x *ResponseInfo) GetLastBlockAppHash() []byte
- func (x *ResponseInfo) GetLastBlockHeight() int64
- func (x *ResponseInfo) GetVersion() string
- func (*ResponseInfo) ProtoMessage()
- func (x *ResponseInfo) ProtoReflect() protoreflect.Message
- func (x *ResponseInfo) Reset()
- func (x *ResponseInfo) String() string
- type ResponseInitChain
- func (*ResponseInitChain) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseInitChain) GetAppHash() []byte
- func (x *ResponseInitChain) GetConsensusParams() *types.ConsensusParams
- func (x *ResponseInitChain) GetValidators() []*ValidatorUpdate
- func (*ResponseInitChain) ProtoMessage()
- func (x *ResponseInitChain) ProtoReflect() protoreflect.Message
- func (x *ResponseInitChain) Reset()
- func (x *ResponseInitChain) String() string
- type ResponseListSnapshots
- func (*ResponseListSnapshots) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseListSnapshots) GetSnapshots() []*Snapshot
- func (*ResponseListSnapshots) ProtoMessage()
- func (x *ResponseListSnapshots) ProtoReflect() protoreflect.Message
- func (x *ResponseListSnapshots) Reset()
- func (x *ResponseListSnapshots) String() string
- type ResponseLoadSnapshotChunk
- func (*ResponseLoadSnapshotChunk) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseLoadSnapshotChunk) GetChunk() []byte
- func (*ResponseLoadSnapshotChunk) ProtoMessage()
- func (x *ResponseLoadSnapshotChunk) ProtoReflect() protoreflect.Message
- func (x *ResponseLoadSnapshotChunk) Reset()
- func (x *ResponseLoadSnapshotChunk) String() string
- type ResponseOfferSnapshot
- func (*ResponseOfferSnapshot) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseOfferSnapshot) GetResult() ResponseOfferSnapshot_Result
- func (*ResponseOfferSnapshot) ProtoMessage()
- func (x *ResponseOfferSnapshot) ProtoReflect() protoreflect.Message
- func (x *ResponseOfferSnapshot) Reset()
- func (x *ResponseOfferSnapshot) String() string
- type ResponseOfferSnapshot_Result
- func (ResponseOfferSnapshot_Result) Descriptor() protoreflect.EnumDescriptor
- func (x ResponseOfferSnapshot_Result) Enum() *ResponseOfferSnapshot_Result
- func (ResponseOfferSnapshot_Result) EnumDescriptor() ([]byte, []int)deprecated
- func (x ResponseOfferSnapshot_Result) Number() protoreflect.EnumNumber
- func (x ResponseOfferSnapshot_Result) String() string
- func (ResponseOfferSnapshot_Result) Type() protoreflect.EnumType
- type ResponsePrepareProposal
- func (*ResponsePrepareProposal) Descriptor() ([]byte, []int)deprecated
- func (x *ResponsePrepareProposal) GetTxs() [][]byte
- func (*ResponsePrepareProposal) ProtoMessage()
- func (x *ResponsePrepareProposal) ProtoReflect() protoreflect.Message
- func (x *ResponsePrepareProposal) Reset()
- func (x *ResponsePrepareProposal) String() string
- type ResponseProcessProposal
- func (*ResponseProcessProposal) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseProcessProposal) GetStatus() ResponseProcessProposal_ProposalStatus
- func (*ResponseProcessProposal) ProtoMessage()
- func (x *ResponseProcessProposal) ProtoReflect() protoreflect.Message
- func (x *ResponseProcessProposal) Reset()
- func (x *ResponseProcessProposal) String() string
- type ResponseProcessProposal_ProposalStatus
- func (ResponseProcessProposal_ProposalStatus) Descriptor() protoreflect.EnumDescriptor
- func (x ResponseProcessProposal_ProposalStatus) Enum() *ResponseProcessProposal_ProposalStatus
- func (ResponseProcessProposal_ProposalStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x ResponseProcessProposal_ProposalStatus) Number() protoreflect.EnumNumber
- func (x ResponseProcessProposal_ProposalStatus) String() string
- func (ResponseProcessProposal_ProposalStatus) Type() protoreflect.EnumType
- type ResponseQuery
- func (*ResponseQuery) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseQuery) GetCode() uint32
- func (x *ResponseQuery) GetCodespace() string
- func (x *ResponseQuery) GetHeight() int64
- func (x *ResponseQuery) GetIndex() int64
- func (x *ResponseQuery) GetInfo() string
- func (x *ResponseQuery) GetKey() []byte
- func (x *ResponseQuery) GetLog() string
- func (x *ResponseQuery) GetProofOps() *crypto.ProofOps
- func (x *ResponseQuery) GetValue() []byte
- func (*ResponseQuery) ProtoMessage()
- func (x *ResponseQuery) ProtoReflect() protoreflect.Message
- func (x *ResponseQuery) Reset()
- func (x *ResponseQuery) String() string
- type ResponseVerifyVoteExtension
- func (*ResponseVerifyVoteExtension) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseVerifyVoteExtension) GetStatus() ResponseVerifyVoteExtension_VerifyStatus
- func (*ResponseVerifyVoteExtension) ProtoMessage()
- func (x *ResponseVerifyVoteExtension) ProtoReflect() protoreflect.Message
- func (x *ResponseVerifyVoteExtension) Reset()
- func (x *ResponseVerifyVoteExtension) String() string
- type ResponseVerifyVoteExtension_VerifyStatus
- func (ResponseVerifyVoteExtension_VerifyStatus) Descriptor() protoreflect.EnumDescriptor
- func (x ResponseVerifyVoteExtension_VerifyStatus) Enum() *ResponseVerifyVoteExtension_VerifyStatus
- func (ResponseVerifyVoteExtension_VerifyStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x ResponseVerifyVoteExtension_VerifyStatus) Number() protoreflect.EnumNumber
- func (x ResponseVerifyVoteExtension_VerifyStatus) String() string
- func (ResponseVerifyVoteExtension_VerifyStatus) Type() protoreflect.EnumType
- 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)deprecated
- func (x *Snapshot) GetChunks() uint32
- func (x *Snapshot) GetFormat() uint32
- func (x *Snapshot) GetHash() []byte
- func (x *Snapshot) GetHeight() uint64
- func (x *Snapshot) GetMetadata() []byte
- func (*Snapshot) ProtoMessage()
- func (x *Snapshot) ProtoReflect() protoreflect.Message
- func (x *Snapshot) Reset()
- func (x *Snapshot) String() string
- type TxResult
- func (*TxResult) Descriptor() ([]byte, []int)deprecated
- func (x *TxResult) GetHeight() int64
- func (x *TxResult) GetIndex() uint32
- func (x *TxResult) GetResult() *ExecTxResult
- func (x *TxResult) GetTx() []byte
- func (*TxResult) ProtoMessage()
- func (x *TxResult) ProtoReflect() protoreflect.Message
- func (x *TxResult) Reset()
- func (x *TxResult) String() string
- type UnimplementedABCIServer
- func (UnimplementedABCIServer) ApplySnapshotChunk(context.Context, *RequestApplySnapshotChunk) (*ResponseApplySnapshotChunk, error)
- func (UnimplementedABCIServer) CheckTx(context.Context, *RequestCheckTx) (*ResponseCheckTx, error)
- func (UnimplementedABCIServer) Commit(context.Context, *RequestCommit) (*ResponseCommit, error)
- func (UnimplementedABCIServer) Echo(context.Context, *RequestEcho) (*ResponseEcho, error)
- func (UnimplementedABCIServer) ExtendVote(context.Context, *RequestExtendVote) (*ResponseExtendVote, error)
- func (UnimplementedABCIServer) FinalizeBlock(context.Context, *RequestFinalizeBlock) (*ResponseFinalizeBlock, error)
- func (UnimplementedABCIServer) Flush(context.Context, *RequestFlush) (*ResponseFlush, error)
- func (UnimplementedABCIServer) Info(context.Context, *RequestInfo) (*ResponseInfo, error)
- func (UnimplementedABCIServer) InitChain(context.Context, *RequestInitChain) (*ResponseInitChain, error)
- func (UnimplementedABCIServer) ListSnapshots(context.Context, *RequestListSnapshots) (*ResponseListSnapshots, error)
- func (UnimplementedABCIServer) LoadSnapshotChunk(context.Context, *RequestLoadSnapshotChunk) (*ResponseLoadSnapshotChunk, error)
- func (UnimplementedABCIServer) OfferSnapshot(context.Context, *RequestOfferSnapshot) (*ResponseOfferSnapshot, error)
- func (UnimplementedABCIServer) PrepareProposal(context.Context, *RequestPrepareProposal) (*ResponsePrepareProposal, error)
- func (UnimplementedABCIServer) ProcessProposal(context.Context, *RequestProcessProposal) (*ResponseProcessProposal, error)
- func (UnimplementedABCIServer) Query(context.Context, *RequestQuery) (*ResponseQuery, error)
- func (UnimplementedABCIServer) VerifyVoteExtension(context.Context, *RequestVerifyVoteExtension) (*ResponseVerifyVoteExtension, error)
- type UnsafeABCIServer
- type Validator
- type ValidatorUpdate
- func (*ValidatorUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *ValidatorUpdate) GetPower() int64
- func (x *ValidatorUpdate) GetPubKey() *crypto.PublicKey
- func (*ValidatorUpdate) ProtoMessage()
- func (x *ValidatorUpdate) ProtoReflect() protoreflect.Message
- func (x *ValidatorUpdate) Reset()
- func (x *ValidatorUpdate) String() string
- type VoteInfo
- func (*VoteInfo) Descriptor() ([]byte, []int)deprecated
- func (x *VoteInfo) GetBlockIdFlag() types.BlockIDFlag
- func (x *VoteInfo) GetValidator() *Validator
- func (*VoteInfo) ProtoMessage()
- func (x *VoteInfo) ProtoReflect() protoreflect.Message
- func (x *VoteInfo) Reset()
- func (x *VoteInfo) String() string
Constants ¶
const ( ABCI_Echo_FullMethodName = "/tendermint.abci.ABCI/Echo" ABCI_Flush_FullMethodName = "/tendermint.abci.ABCI/Flush" ABCI_Info_FullMethodName = "/tendermint.abci.ABCI/Info" ABCI_CheckTx_FullMethodName = "/tendermint.abci.ABCI/CheckTx" ABCI_Query_FullMethodName = "/tendermint.abci.ABCI/Query" ABCI_Commit_FullMethodName = "/tendermint.abci.ABCI/Commit" ABCI_InitChain_FullMethodName = "/tendermint.abci.ABCI/InitChain" ABCI_ListSnapshots_FullMethodName = "/tendermint.abci.ABCI/ListSnapshots" ABCI_OfferSnapshot_FullMethodName = "/tendermint.abci.ABCI/OfferSnapshot" ABCI_LoadSnapshotChunk_FullMethodName = "/tendermint.abci.ABCI/LoadSnapshotChunk" ABCI_ApplySnapshotChunk_FullMethodName = "/tendermint.abci.ABCI/ApplySnapshotChunk" ABCI_PrepareProposal_FullMethodName = "/tendermint.abci.ABCI/PrepareProposal" ABCI_ProcessProposal_FullMethodName = "/tendermint.abci.ABCI/ProcessProposal" ABCI_ExtendVote_FullMethodName = "/tendermint.abci.ABCI/ExtendVote" ABCI_VerifyVoteExtension_FullMethodName = "/tendermint.abci.ABCI/VerifyVoteExtension" ABCI_FinalizeBlock_FullMethodName = "/tendermint.abci.ABCI/FinalizeBlock" )
Variables ¶
var ( CheckTxType_name = map[int32]string{ 0: "NEW", 1: "RECHECK", } CheckTxType_value = map[string]int32{ "NEW": 0, "RECHECK": 1, } )
Enum value maps for CheckTxType.
var ( MisbehaviorType_name = map[int32]string{ 0: "UNKNOWN", 1: "DUPLICATE_VOTE", 2: "LIGHT_CLIENT_ATTACK", } MisbehaviorType_value = map[string]int32{ "UNKNOWN": 0, "DUPLICATE_VOTE": 1, "LIGHT_CLIENT_ATTACK": 2, } )
Enum value maps for MisbehaviorType.
var ( ResponseOfferSnapshot_Result_name = map[int32]string{ 0: "UNKNOWN", 1: "ACCEPT", 2: "ABORT", 3: "REJECT", 4: "REJECT_FORMAT", 5: "REJECT_SENDER", } ResponseOfferSnapshot_Result_value = map[string]int32{ "UNKNOWN": 0, "ACCEPT": 1, "ABORT": 2, "REJECT": 3, "REJECT_FORMAT": 4, "REJECT_SENDER": 5, } )
Enum value maps for ResponseOfferSnapshot_Result.
var ( ResponseApplySnapshotChunk_Result_name = map[int32]string{ 0: "UNKNOWN", 1: "ACCEPT", 2: "ABORT", 3: "RETRY", 4: "RETRY_SNAPSHOT", 5: "REJECT_SNAPSHOT", } ResponseApplySnapshotChunk_Result_value = map[string]int32{ "UNKNOWN": 0, "ACCEPT": 1, "ABORT": 2, "RETRY": 3, "RETRY_SNAPSHOT": 4, "REJECT_SNAPSHOT": 5, } )
Enum value maps for ResponseApplySnapshotChunk_Result.
var ( ResponseProcessProposal_ProposalStatus_name = map[int32]string{ 0: "UNKNOWN", 1: "ACCEPT", 2: "REJECT", } ResponseProcessProposal_ProposalStatus_value = map[string]int32{ "UNKNOWN": 0, "ACCEPT": 1, "REJECT": 2, } )
Enum value maps for ResponseProcessProposal_ProposalStatus.
var ( ResponseVerifyVoteExtension_VerifyStatus_name = map[int32]string{ 0: "UNKNOWN", 1: "ACCEPT", 2: "REJECT", } ResponseVerifyVoteExtension_VerifyStatus_value = map[string]int32{ "UNKNOWN": 0, "ACCEPT": 1, "REJECT": 2, } )
Enum value maps for ResponseVerifyVoteExtension_VerifyStatus.
var ABCI_ServiceDesc = grpc.ServiceDesc{ ServiceName: "tendermint.abci.ABCI", HandlerType: (*ABCIServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Echo", Handler: _ABCI_Echo_Handler, }, { MethodName: "Flush", Handler: _ABCI_Flush_Handler, }, { MethodName: "Info", Handler: _ABCI_Info_Handler, }, { MethodName: "CheckTx", Handler: _ABCI_CheckTx_Handler, }, { MethodName: "Query", Handler: _ABCI_Query_Handler, }, { MethodName: "Commit", Handler: _ABCI_Commit_Handler, }, { MethodName: "InitChain", Handler: _ABCI_InitChain_Handler, }, { MethodName: "ListSnapshots", Handler: _ABCI_ListSnapshots_Handler, }, { MethodName: "OfferSnapshot", Handler: _ABCI_OfferSnapshot_Handler, }, { MethodName: "LoadSnapshotChunk", Handler: _ABCI_LoadSnapshotChunk_Handler, }, { MethodName: "ApplySnapshotChunk", Handler: _ABCI_ApplySnapshotChunk_Handler, }, { MethodName: "PrepareProposal", Handler: _ABCI_PrepareProposal_Handler, }, { MethodName: "ProcessProposal", Handler: _ABCI_ProcessProposal_Handler, }, { MethodName: "ExtendVote", Handler: _ABCI_ExtendVote_Handler, }, { MethodName: "VerifyVoteExtension", Handler: _ABCI_VerifyVoteExtension_Handler, }, { MethodName: "FinalizeBlock", Handler: _ABCI_FinalizeBlock_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "tendermint/abci/types.proto", }
ABCI_ServiceDesc is the grpc.ServiceDesc for ABCI service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_tendermint_abci_types_proto protoreflect.FileDescriptor
Functions ¶
func RegisterABCIServer ¶ added in v0.4.2
func RegisterABCIServer(s grpc.ServiceRegistrar, srv ABCIServer)
Types ¶
type ABCIClient ¶ added in v0.4.2
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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewABCIClient ¶ added in v0.4.2
func NewABCIClient(cc grpc.ClientConnInterface) ABCIClient
type ABCIServer ¶ added in v0.4.2
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) // contains filtered or unexported methods }
ABCIServer is the server API for ABCI service. All implementations must embed UnimplementedABCIServer for forward compatibility
type CheckTxType ¶
type CheckTxType int32
const ( CheckTxType_NEW CheckTxType = 0 CheckTxType_RECHECK CheckTxType = 1 )
func (CheckTxType) Descriptor ¶
func (CheckTxType) Descriptor() protoreflect.EnumDescriptor
func (CheckTxType) Enum ¶
func (x CheckTxType) Enum() *CheckTxType
func (CheckTxType) EnumDescriptor
deprecated
func (CheckTxType) EnumDescriptor() ([]byte, []int)
Deprecated: Use CheckTxType.Descriptor instead.
func (CheckTxType) Number ¶
func (x CheckTxType) Number() protoreflect.EnumNumber
func (CheckTxType) String ¶
func (x CheckTxType) String() string
func (CheckTxType) Type ¶
func (CheckTxType) Type() protoreflect.EnumType
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,omitempty"` // contains filtered or unexported fields }
func (*CommitInfo) Descriptor
deprecated
func (*CommitInfo) Descriptor() ([]byte, []int)
Deprecated: Use CommitInfo.ProtoReflect.Descriptor instead.
func (*CommitInfo) GetRound ¶
func (x *CommitInfo) GetRound() int32
func (*CommitInfo) GetVotes ¶
func (x *CommitInfo) GetVotes() []*VoteInfo
func (*CommitInfo) ProtoMessage ¶
func (*CommitInfo) ProtoMessage()
func (*CommitInfo) ProtoReflect ¶
func (x *CommitInfo) ProtoReflect() protoreflect.Message
func (*CommitInfo) Reset ¶
func (x *CommitInfo) Reset()
func (*CommitInfo) String ¶
func (x *CommitInfo) String() string
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"` // contains filtered or unexported fields }
Event allows application developers to attach additional information to ResponseFinalizeBlock and ResponseCheckTx. Later, transactions may be queried using these events.
func (*Event) GetAttributes ¶
func (x *Event) GetAttributes() []*EventAttribute
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
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"` // nondeterministic // contains filtered or unexported fields }
EventAttribute is a single key-value pair, associated with an event.
func (*EventAttribute) Descriptor
deprecated
func (*EventAttribute) Descriptor() ([]byte, []int)
Deprecated: Use EventAttribute.ProtoReflect.Descriptor instead.
func (*EventAttribute) GetIndex ¶
func (x *EventAttribute) GetIndex() bool
func (*EventAttribute) GetKey ¶
func (x *EventAttribute) GetKey() string
func (*EventAttribute) GetValue ¶
func (x *EventAttribute) GetValue() string
func (*EventAttribute) ProtoMessage ¶
func (*EventAttribute) ProtoMessage()
func (*EventAttribute) ProtoReflect ¶
func (x *EventAttribute) ProtoReflect() protoreflect.Message
func (*EventAttribute) Reset ¶
func (x *EventAttribute) Reset()
func (*EventAttribute) String ¶
func (x *EventAttribute) String() string
type ExecTxResult ¶ added in v0.4.2
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"` // nondeterministic Info string `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty"` // nondeterministic 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"` // nondeterministic Codespace string `protobuf:"bytes,8,opt,name=codespace,proto3" json:"codespace,omitempty"` // contains filtered or unexported fields }
ExecTxResult contains results of executing one individual transaction.
* Its structure is equivalent to #ResponseDeliverTx which will be deprecated/deleted
func (*ExecTxResult) Descriptor
deprecated
added in
v0.4.2
func (*ExecTxResult) Descriptor() ([]byte, []int)
Deprecated: Use ExecTxResult.ProtoReflect.Descriptor instead.
func (*ExecTxResult) GetCode ¶ added in v0.4.2
func (x *ExecTxResult) GetCode() uint32
func (*ExecTxResult) GetCodespace ¶ added in v0.4.2
func (x *ExecTxResult) GetCodespace() string
func (*ExecTxResult) GetData ¶ added in v0.4.2
func (x *ExecTxResult) GetData() []byte
func (*ExecTxResult) GetEvents ¶ added in v0.4.2
func (x *ExecTxResult) GetEvents() []*Event
func (*ExecTxResult) GetGasUsed ¶ added in v0.4.2
func (x *ExecTxResult) GetGasUsed() int64
func (*ExecTxResult) GetGasWanted ¶ added in v0.4.2
func (x *ExecTxResult) GetGasWanted() int64
func (*ExecTxResult) GetInfo ¶ added in v0.4.2
func (x *ExecTxResult) GetInfo() string
func (*ExecTxResult) GetLog ¶ added in v0.4.2
func (x *ExecTxResult) GetLog() string
func (*ExecTxResult) ProtoMessage ¶ added in v0.4.2
func (*ExecTxResult) ProtoMessage()
func (*ExecTxResult) ProtoReflect ¶ added in v0.4.2
func (x *ExecTxResult) ProtoReflect() protoreflect.Message
func (*ExecTxResult) Reset ¶ added in v0.4.2
func (x *ExecTxResult) Reset()
func (*ExecTxResult) String ¶ added in v0.4.2
func (x *ExecTxResult) String() string
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,omitempty"` // contains filtered or unexported fields }
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
deprecated
func (*ExtendedCommitInfo) Descriptor() ([]byte, []int)
Deprecated: Use ExtendedCommitInfo.ProtoReflect.Descriptor instead.
func (*ExtendedCommitInfo) GetRound ¶
func (x *ExtendedCommitInfo) GetRound() int32
func (*ExtendedCommitInfo) GetVotes ¶
func (x *ExtendedCommitInfo) GetVotes() []*ExtendedVoteInfo
func (*ExtendedCommitInfo) ProtoMessage ¶
func (*ExtendedCommitInfo) ProtoMessage()
func (*ExtendedCommitInfo) ProtoReflect ¶
func (x *ExtendedCommitInfo) ProtoReflect() protoreflect.Message
func (*ExtendedCommitInfo) Reset ¶
func (x *ExtendedCommitInfo) Reset()
func (*ExtendedCommitInfo) String ¶
func (x *ExtendedCommitInfo) String() string
type ExtendedVoteInfo ¶
type ExtendedVoteInfo struct { // The validator that sent the vote. Validator *Validator `protobuf:"bytes,1,opt,name=validator,proto3" json:"validator,omitempty"` // 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 types.BlockIDFlag `` /* 131-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ExtendedVoteInfo) Descriptor
deprecated
func (*ExtendedVoteInfo) Descriptor() ([]byte, []int)
Deprecated: Use ExtendedVoteInfo.ProtoReflect.Descriptor instead.
func (*ExtendedVoteInfo) GetBlockIdFlag ¶ added in v0.4.2
func (x *ExtendedVoteInfo) GetBlockIdFlag() types.BlockIDFlag
func (*ExtendedVoteInfo) GetExtensionSignature ¶ added in v0.4.2
func (x *ExtendedVoteInfo) GetExtensionSignature() []byte
func (*ExtendedVoteInfo) GetValidator ¶
func (x *ExtendedVoteInfo) GetValidator() *Validator
func (*ExtendedVoteInfo) GetVoteExtension ¶
func (x *ExtendedVoteInfo) GetVoteExtension() []byte
func (*ExtendedVoteInfo) ProtoMessage ¶
func (*ExtendedVoteInfo) ProtoMessage()
func (*ExtendedVoteInfo) ProtoReflect ¶
func (x *ExtendedVoteInfo) ProtoReflect() protoreflect.Message
func (*ExtendedVoteInfo) Reset ¶
func (x *ExtendedVoteInfo) Reset()
func (*ExtendedVoteInfo) String ¶
func (x *ExtendedVoteInfo) String() string
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,omitempty"` // 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 *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=time,proto3" json:"time,omitempty"` // 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"` // contains filtered or unexported fields }
func (*Misbehavior) Descriptor
deprecated
func (*Misbehavior) Descriptor() ([]byte, []int)
Deprecated: Use Misbehavior.ProtoReflect.Descriptor instead.
func (*Misbehavior) GetHeight ¶
func (x *Misbehavior) GetHeight() int64
func (*Misbehavior) GetTime ¶
func (x *Misbehavior) GetTime() *timestamppb.Timestamp
func (*Misbehavior) GetTotalVotingPower ¶
func (x *Misbehavior) GetTotalVotingPower() int64
func (*Misbehavior) GetType_ ¶
func (x *Misbehavior) GetType_() MisbehaviorType
func (*Misbehavior) GetValidator ¶
func (x *Misbehavior) GetValidator() *Validator
func (*Misbehavior) ProtoMessage ¶
func (*Misbehavior) ProtoMessage()
func (*Misbehavior) ProtoReflect ¶
func (x *Misbehavior) ProtoReflect() protoreflect.Message
func (*Misbehavior) Reset ¶
func (x *Misbehavior) Reset()
func (*Misbehavior) String ¶
func (x *Misbehavior) String() string
type MisbehaviorType ¶
type MisbehaviorType int32
const ( MisbehaviorType_UNKNOWN MisbehaviorType = 0 MisbehaviorType_DUPLICATE_VOTE MisbehaviorType = 1 MisbehaviorType_LIGHT_CLIENT_ATTACK MisbehaviorType = 2 )
func (MisbehaviorType) Descriptor ¶
func (MisbehaviorType) Descriptor() protoreflect.EnumDescriptor
func (MisbehaviorType) Enum ¶
func (x MisbehaviorType) Enum() *MisbehaviorType
func (MisbehaviorType) EnumDescriptor
deprecated
func (MisbehaviorType) EnumDescriptor() ([]byte, []int)
Deprecated: Use MisbehaviorType.Descriptor instead.
func (MisbehaviorType) Number ¶
func (x MisbehaviorType) Number() protoreflect.EnumNumber
func (MisbehaviorType) String ¶
func (x MisbehaviorType) String() string
func (MisbehaviorType) Type ¶
func (MisbehaviorType) Type() protoreflect.EnumType
type Request ¶
type Request struct { // Types that are assignable 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"` // contains filtered or unexported fields }
func (*Request) GetApplySnapshotChunk ¶
func (x *Request) GetApplySnapshotChunk() *RequestApplySnapshotChunk
func (*Request) GetCheckTx ¶
func (x *Request) GetCheckTx() *RequestCheckTx
func (*Request) GetCommit ¶
func (x *Request) GetCommit() *RequestCommit
func (*Request) GetEcho ¶
func (x *Request) GetEcho() *RequestEcho
func (*Request) GetExtendVote ¶ added in v0.4.2
func (x *Request) GetExtendVote() *RequestExtendVote
func (*Request) GetFinalizeBlock ¶ added in v0.4.2
func (x *Request) GetFinalizeBlock() *RequestFinalizeBlock
func (*Request) GetFlush ¶
func (x *Request) GetFlush() *RequestFlush
func (*Request) GetInfo ¶
func (x *Request) GetInfo() *RequestInfo
func (*Request) GetInitChain ¶
func (x *Request) GetInitChain() *RequestInitChain
func (*Request) GetListSnapshots ¶
func (x *Request) GetListSnapshots() *RequestListSnapshots
func (*Request) GetLoadSnapshotChunk ¶
func (x *Request) GetLoadSnapshotChunk() *RequestLoadSnapshotChunk
func (*Request) GetOfferSnapshot ¶
func (x *Request) GetOfferSnapshot() *RequestOfferSnapshot
func (*Request) GetPrepareProposal ¶
func (x *Request) GetPrepareProposal() *RequestPrepareProposal
func (*Request) GetProcessProposal ¶
func (x *Request) GetProcessProposal() *RequestProcessProposal
func (*Request) GetQuery ¶
func (x *Request) GetQuery() *RequestQuery
func (*Request) GetVerifyVoteExtension ¶ added in v0.4.2
func (x *Request) GetVerifyVoteExtension() *RequestVerifyVoteExtension
func (*Request) ProtoReflect ¶
func (x *Request) ProtoReflect() protoreflect.Message
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"` // contains filtered or unexported fields }
Applies a snapshot chunk
func (*RequestApplySnapshotChunk) Descriptor
deprecated
func (*RequestApplySnapshotChunk) Descriptor() ([]byte, []int)
Deprecated: Use RequestApplySnapshotChunk.ProtoReflect.Descriptor instead.
func (*RequestApplySnapshotChunk) GetChunk ¶
func (x *RequestApplySnapshotChunk) GetChunk() []byte
func (*RequestApplySnapshotChunk) GetIndex ¶
func (x *RequestApplySnapshotChunk) GetIndex() uint32
func (*RequestApplySnapshotChunk) GetSender ¶
func (x *RequestApplySnapshotChunk) GetSender() string
func (*RequestApplySnapshotChunk) ProtoMessage ¶
func (*RequestApplySnapshotChunk) ProtoMessage()
func (*RequestApplySnapshotChunk) ProtoReflect ¶
func (x *RequestApplySnapshotChunk) ProtoReflect() protoreflect.Message
func (*RequestApplySnapshotChunk) Reset ¶
func (x *RequestApplySnapshotChunk) Reset()
func (*RequestApplySnapshotChunk) String ¶
func (x *RequestApplySnapshotChunk) String() string
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"` // contains filtered or unexported fields }
func (*RequestCheckTx) Descriptor
deprecated
func (*RequestCheckTx) Descriptor() ([]byte, []int)
Deprecated: Use RequestCheckTx.ProtoReflect.Descriptor instead.
func (*RequestCheckTx) GetTx ¶
func (x *RequestCheckTx) GetTx() []byte
func (*RequestCheckTx) GetType_ ¶
func (x *RequestCheckTx) GetType_() CheckTxType
func (*RequestCheckTx) ProtoMessage ¶
func (*RequestCheckTx) ProtoMessage()
func (*RequestCheckTx) ProtoReflect ¶
func (x *RequestCheckTx) ProtoReflect() protoreflect.Message
func (*RequestCheckTx) Reset ¶
func (x *RequestCheckTx) Reset()
func (*RequestCheckTx) String ¶
func (x *RequestCheckTx) String() string
type RequestCommit ¶
type RequestCommit struct {
// contains filtered or unexported fields
}
func (*RequestCommit) Descriptor
deprecated
func (*RequestCommit) Descriptor() ([]byte, []int)
Deprecated: Use RequestCommit.ProtoReflect.Descriptor instead.
func (*RequestCommit) ProtoMessage ¶
func (*RequestCommit) ProtoMessage()
func (*RequestCommit) ProtoReflect ¶
func (x *RequestCommit) ProtoReflect() protoreflect.Message
func (*RequestCommit) Reset ¶
func (x *RequestCommit) Reset()
func (*RequestCommit) String ¶
func (x *RequestCommit) String() string
type RequestEcho ¶
type RequestEcho struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*RequestEcho) Descriptor
deprecated
func (*RequestEcho) Descriptor() ([]byte, []int)
Deprecated: Use RequestEcho.ProtoReflect.Descriptor instead.
func (*RequestEcho) GetMessage ¶
func (x *RequestEcho) GetMessage() string
func (*RequestEcho) ProtoMessage ¶
func (*RequestEcho) ProtoMessage()
func (*RequestEcho) ProtoReflect ¶
func (x *RequestEcho) ProtoReflect() protoreflect.Message
func (*RequestEcho) Reset ¶
func (x *RequestEcho) Reset()
func (*RequestEcho) String ¶
func (x *RequestEcho) String() string
type RequestExtendVote ¶ added in v0.4.2
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 *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"` 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,omitempty"` Misbehavior []*Misbehavior `protobuf:"bytes,6,rep,name=misbehavior,proto3" json:"misbehavior,omitempty"` 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"` // contains filtered or unexported fields }
Extends a vote with application-injected data
func (*RequestExtendVote) Descriptor
deprecated
added in
v0.4.2
func (*RequestExtendVote) Descriptor() ([]byte, []int)
Deprecated: Use RequestExtendVote.ProtoReflect.Descriptor instead.
func (*RequestExtendVote) GetHash ¶ added in v0.4.2
func (x *RequestExtendVote) GetHash() []byte
func (*RequestExtendVote) GetHeight ¶ added in v0.4.2
func (x *RequestExtendVote) GetHeight() int64
func (*RequestExtendVote) GetMisbehavior ¶ added in v0.7.2
func (x *RequestExtendVote) GetMisbehavior() []*Misbehavior
func (*RequestExtendVote) GetNextValidatorsHash ¶ added in v0.7.2
func (x *RequestExtendVote) GetNextValidatorsHash() []byte
func (*RequestExtendVote) GetProposedLastCommit ¶ added in v0.7.2
func (x *RequestExtendVote) GetProposedLastCommit() *CommitInfo
func (*RequestExtendVote) GetProposerAddress ¶ added in v0.7.2
func (x *RequestExtendVote) GetProposerAddress() []byte
func (*RequestExtendVote) GetTime ¶ added in v0.7.2
func (x *RequestExtendVote) GetTime() *timestamppb.Timestamp
func (*RequestExtendVote) GetTxs ¶ added in v0.7.2
func (x *RequestExtendVote) GetTxs() [][]byte
func (*RequestExtendVote) ProtoMessage ¶ added in v0.4.2
func (*RequestExtendVote) ProtoMessage()
func (*RequestExtendVote) ProtoReflect ¶ added in v0.4.2
func (x *RequestExtendVote) ProtoReflect() protoreflect.Message
func (*RequestExtendVote) Reset ¶ added in v0.4.2
func (x *RequestExtendVote) Reset()
func (*RequestExtendVote) String ¶ added in v0.4.2
func (x *RequestExtendVote) String() string
type RequestFinalizeBlock ¶ added in v0.4.2
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,omitempty"` Misbehavior []*Misbehavior `protobuf:"bytes,3,rep,name=misbehavior,proto3" json:"misbehavior,omitempty"` // 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 *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=time,proto3" json:"time,omitempty"` 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"` // contains filtered or unexported fields }
func (*RequestFinalizeBlock) Descriptor
deprecated
added in
v0.4.2
func (*RequestFinalizeBlock) Descriptor() ([]byte, []int)
Deprecated: Use RequestFinalizeBlock.ProtoReflect.Descriptor instead.
func (*RequestFinalizeBlock) GetDecidedLastCommit ¶ added in v0.4.2
func (x *RequestFinalizeBlock) GetDecidedLastCommit() *CommitInfo
func (*RequestFinalizeBlock) GetHash ¶ added in v0.4.2
func (x *RequestFinalizeBlock) GetHash() []byte
func (*RequestFinalizeBlock) GetHeight ¶ added in v0.4.2
func (x *RequestFinalizeBlock) GetHeight() int64
func (*RequestFinalizeBlock) GetMisbehavior ¶ added in v0.4.2
func (x *RequestFinalizeBlock) GetMisbehavior() []*Misbehavior
func (*RequestFinalizeBlock) GetNextValidatorsHash ¶ added in v0.4.2
func (x *RequestFinalizeBlock) GetNextValidatorsHash() []byte
func (*RequestFinalizeBlock) GetProposerAddress ¶ added in v0.4.2
func (x *RequestFinalizeBlock) GetProposerAddress() []byte
func (*RequestFinalizeBlock) GetTime ¶ added in v0.4.2
func (x *RequestFinalizeBlock) GetTime() *timestamppb.Timestamp
func (*RequestFinalizeBlock) GetTxs ¶ added in v0.4.2
func (x *RequestFinalizeBlock) GetTxs() [][]byte
func (*RequestFinalizeBlock) ProtoMessage ¶ added in v0.4.2
func (*RequestFinalizeBlock) ProtoMessage()
func (*RequestFinalizeBlock) ProtoReflect ¶ added in v0.4.2
func (x *RequestFinalizeBlock) ProtoReflect() protoreflect.Message
func (*RequestFinalizeBlock) Reset ¶ added in v0.4.2
func (x *RequestFinalizeBlock) Reset()
func (*RequestFinalizeBlock) String ¶ added in v0.4.2
func (x *RequestFinalizeBlock) String() string
type RequestFlush ¶
type RequestFlush struct {
// contains filtered or unexported fields
}
func (*RequestFlush) Descriptor
deprecated
func (*RequestFlush) Descriptor() ([]byte, []int)
Deprecated: Use RequestFlush.ProtoReflect.Descriptor instead.
func (*RequestFlush) ProtoMessage ¶
func (*RequestFlush) ProtoMessage()
func (*RequestFlush) ProtoReflect ¶
func (x *RequestFlush) ProtoReflect() protoreflect.Message
func (*RequestFlush) Reset ¶
func (x *RequestFlush) Reset()
func (*RequestFlush) String ¶
func (x *RequestFlush) String() string
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"` // contains filtered or unexported fields }
func (*RequestInfo) Descriptor
deprecated
func (*RequestInfo) Descriptor() ([]byte, []int)
Deprecated: Use RequestInfo.ProtoReflect.Descriptor instead.
func (*RequestInfo) GetAbciVersion ¶
func (x *RequestInfo) GetAbciVersion() string
func (*RequestInfo) GetBlockVersion ¶
func (x *RequestInfo) GetBlockVersion() uint64
func (*RequestInfo) GetP2PVersion ¶
func (x *RequestInfo) GetP2PVersion() uint64
func (*RequestInfo) GetVersion ¶
func (x *RequestInfo) GetVersion() string
func (*RequestInfo) ProtoMessage ¶
func (*RequestInfo) ProtoMessage()
func (*RequestInfo) ProtoReflect ¶
func (x *RequestInfo) ProtoReflect() protoreflect.Message
func (*RequestInfo) Reset ¶
func (x *RequestInfo) Reset()
func (*RequestInfo) String ¶
func (x *RequestInfo) String() string
type RequestInitChain ¶
type RequestInitChain struct { Time *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"` ChainId string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` ConsensusParams *types.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,omitempty"` 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"` // contains filtered or unexported fields }
func (*RequestInitChain) Descriptor
deprecated
func (*RequestInitChain) Descriptor() ([]byte, []int)
Deprecated: Use RequestInitChain.ProtoReflect.Descriptor instead.
func (*RequestInitChain) GetAppStateBytes ¶
func (x *RequestInitChain) GetAppStateBytes() []byte
func (*RequestInitChain) GetChainId ¶
func (x *RequestInitChain) GetChainId() string
func (*RequestInitChain) GetConsensusParams ¶
func (x *RequestInitChain) GetConsensusParams() *types.ConsensusParams
func (*RequestInitChain) GetInitialHeight ¶
func (x *RequestInitChain) GetInitialHeight() int64
func (*RequestInitChain) GetTime ¶
func (x *RequestInitChain) GetTime() *timestamppb.Timestamp
func (*RequestInitChain) GetValidators ¶
func (x *RequestInitChain) GetValidators() []*ValidatorUpdate
func (*RequestInitChain) ProtoMessage ¶
func (*RequestInitChain) ProtoMessage()
func (*RequestInitChain) ProtoReflect ¶
func (x *RequestInitChain) ProtoReflect() protoreflect.Message
func (*RequestInitChain) Reset ¶
func (x *RequestInitChain) Reset()
func (*RequestInitChain) String ¶
func (x *RequestInitChain) String() string
type RequestListSnapshots ¶
type RequestListSnapshots struct {
// contains filtered or unexported fields
}
lists available snapshots
func (*RequestListSnapshots) Descriptor
deprecated
func (*RequestListSnapshots) Descriptor() ([]byte, []int)
Deprecated: Use RequestListSnapshots.ProtoReflect.Descriptor instead.
func (*RequestListSnapshots) ProtoMessage ¶
func (*RequestListSnapshots) ProtoMessage()
func (*RequestListSnapshots) ProtoReflect ¶
func (x *RequestListSnapshots) ProtoReflect() protoreflect.Message
func (*RequestListSnapshots) Reset ¶
func (x *RequestListSnapshots) Reset()
func (*RequestListSnapshots) String ¶
func (x *RequestListSnapshots) String() string
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"` // contains filtered or unexported fields }
loads a snapshot chunk
func (*RequestLoadSnapshotChunk) Descriptor
deprecated
func (*RequestLoadSnapshotChunk) Descriptor() ([]byte, []int)
Deprecated: Use RequestLoadSnapshotChunk.ProtoReflect.Descriptor instead.
func (*RequestLoadSnapshotChunk) GetChunk ¶
func (x *RequestLoadSnapshotChunk) GetChunk() uint32
func (*RequestLoadSnapshotChunk) GetFormat ¶
func (x *RequestLoadSnapshotChunk) GetFormat() uint32
func (*RequestLoadSnapshotChunk) GetHeight ¶
func (x *RequestLoadSnapshotChunk) GetHeight() uint64
func (*RequestLoadSnapshotChunk) ProtoMessage ¶
func (*RequestLoadSnapshotChunk) ProtoMessage()
func (*RequestLoadSnapshotChunk) ProtoReflect ¶
func (x *RequestLoadSnapshotChunk) ProtoReflect() protoreflect.Message
func (*RequestLoadSnapshotChunk) Reset ¶
func (x *RequestLoadSnapshotChunk) Reset()
func (*RequestLoadSnapshotChunk) String ¶
func (x *RequestLoadSnapshotChunk) String() string
type RequestOfferSnapshot ¶
type RequestOfferSnapshot struct { Snapshot *Snapshot `protobuf:"bytes,1,opt,name=snapshot,proto3" json:"snapshot,omitempty"` // snapshot offered by peers AppHash []byte `protobuf:"bytes,2,opt,name=app_hash,json=appHash,proto3" json:"app_hash,omitempty"` // light client-verified app hash for snapshot height // contains filtered or unexported fields }
offers a snapshot to the application
func (*RequestOfferSnapshot) Descriptor
deprecated
func (*RequestOfferSnapshot) Descriptor() ([]byte, []int)
Deprecated: Use RequestOfferSnapshot.ProtoReflect.Descriptor instead.
func (*RequestOfferSnapshot) GetAppHash ¶
func (x *RequestOfferSnapshot) GetAppHash() []byte
func (*RequestOfferSnapshot) GetSnapshot ¶
func (x *RequestOfferSnapshot) GetSnapshot() *Snapshot
func (*RequestOfferSnapshot) ProtoMessage ¶
func (*RequestOfferSnapshot) ProtoMessage()
func (*RequestOfferSnapshot) ProtoReflect ¶
func (x *RequestOfferSnapshot) ProtoReflect() protoreflect.Message
func (*RequestOfferSnapshot) Reset ¶
func (x *RequestOfferSnapshot) Reset()
func (*RequestOfferSnapshot) String ¶
func (x *RequestOfferSnapshot) String() string
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,omitempty"` Misbehavior []*Misbehavior `protobuf:"bytes,4,rep,name=misbehavior,proto3" json:"misbehavior,omitempty"` Height int64 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"` Time *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=time,proto3" json:"time,omitempty"` 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"` // contains filtered or unexported fields }
func (*RequestPrepareProposal) Descriptor
deprecated
func (*RequestPrepareProposal) Descriptor() ([]byte, []int)
Deprecated: Use RequestPrepareProposal.ProtoReflect.Descriptor instead.
func (*RequestPrepareProposal) GetHeight ¶
func (x *RequestPrepareProposal) GetHeight() int64
func (*RequestPrepareProposal) GetLocalLastCommit ¶
func (x *RequestPrepareProposal) GetLocalLastCommit() *ExtendedCommitInfo
func (*RequestPrepareProposal) GetMaxTxBytes ¶
func (x *RequestPrepareProposal) GetMaxTxBytes() int64
func (*RequestPrepareProposal) GetMisbehavior ¶
func (x *RequestPrepareProposal) GetMisbehavior() []*Misbehavior
func (*RequestPrepareProposal) GetNextValidatorsHash ¶
func (x *RequestPrepareProposal) GetNextValidatorsHash() []byte
func (*RequestPrepareProposal) GetProposerAddress ¶
func (x *RequestPrepareProposal) GetProposerAddress() []byte
func (*RequestPrepareProposal) GetTime ¶
func (x *RequestPrepareProposal) GetTime() *timestamppb.Timestamp
func (*RequestPrepareProposal) GetTxs ¶
func (x *RequestPrepareProposal) GetTxs() [][]byte
func (*RequestPrepareProposal) ProtoMessage ¶
func (*RequestPrepareProposal) ProtoMessage()
func (*RequestPrepareProposal) ProtoReflect ¶
func (x *RequestPrepareProposal) ProtoReflect() protoreflect.Message
func (*RequestPrepareProposal) Reset ¶
func (x *RequestPrepareProposal) Reset()
func (*RequestPrepareProposal) String ¶
func (x *RequestPrepareProposal) String() string
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,omitempty"` Misbehavior []*Misbehavior `protobuf:"bytes,3,rep,name=misbehavior,proto3" json:"misbehavior,omitempty"` // 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 *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=time,proto3" json:"time,omitempty"` 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"` // contains filtered or unexported fields }
func (*RequestProcessProposal) Descriptor
deprecated
func (*RequestProcessProposal) Descriptor() ([]byte, []int)
Deprecated: Use RequestProcessProposal.ProtoReflect.Descriptor instead.
func (*RequestProcessProposal) GetHash ¶
func (x *RequestProcessProposal) GetHash() []byte
func (*RequestProcessProposal) GetHeight ¶
func (x *RequestProcessProposal) GetHeight() int64
func (*RequestProcessProposal) GetMisbehavior ¶
func (x *RequestProcessProposal) GetMisbehavior() []*Misbehavior
func (*RequestProcessProposal) GetNextValidatorsHash ¶
func (x *RequestProcessProposal) GetNextValidatorsHash() []byte
func (*RequestProcessProposal) GetProposedLastCommit ¶
func (x *RequestProcessProposal) GetProposedLastCommit() *CommitInfo
func (*RequestProcessProposal) GetProposerAddress ¶
func (x *RequestProcessProposal) GetProposerAddress() []byte
func (*RequestProcessProposal) GetTime ¶
func (x *RequestProcessProposal) GetTime() *timestamppb.Timestamp
func (*RequestProcessProposal) GetTxs ¶
func (x *RequestProcessProposal) GetTxs() [][]byte
func (*RequestProcessProposal) ProtoMessage ¶
func (*RequestProcessProposal) ProtoMessage()
func (*RequestProcessProposal) ProtoReflect ¶
func (x *RequestProcessProposal) ProtoReflect() protoreflect.Message
func (*RequestProcessProposal) Reset ¶
func (x *RequestProcessProposal) Reset()
func (*RequestProcessProposal) String ¶
func (x *RequestProcessProposal) String() string
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"` // contains filtered or unexported fields }
func (*RequestQuery) Descriptor
deprecated
func (*RequestQuery) Descriptor() ([]byte, []int)
Deprecated: Use RequestQuery.ProtoReflect.Descriptor instead.
func (*RequestQuery) GetData ¶
func (x *RequestQuery) GetData() []byte
func (*RequestQuery) GetHeight ¶
func (x *RequestQuery) GetHeight() int64
func (*RequestQuery) GetPath ¶
func (x *RequestQuery) GetPath() string
func (*RequestQuery) GetProve ¶
func (x *RequestQuery) GetProve() bool
func (*RequestQuery) ProtoMessage ¶
func (*RequestQuery) ProtoMessage()
func (*RequestQuery) ProtoReflect ¶
func (x *RequestQuery) ProtoReflect() protoreflect.Message
func (*RequestQuery) Reset ¶
func (x *RequestQuery) Reset()
func (*RequestQuery) String ¶
func (x *RequestQuery) String() string
type RequestVerifyVoteExtension ¶ added in v0.4.2
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"` // contains filtered or unexported fields }
Verify the vote extension
func (*RequestVerifyVoteExtension) Descriptor
deprecated
added in
v0.4.2
func (*RequestVerifyVoteExtension) Descriptor() ([]byte, []int)
Deprecated: Use RequestVerifyVoteExtension.ProtoReflect.Descriptor instead.
func (*RequestVerifyVoteExtension) GetHash ¶ added in v0.4.2
func (x *RequestVerifyVoteExtension) GetHash() []byte
func (*RequestVerifyVoteExtension) GetHeight ¶ added in v0.4.2
func (x *RequestVerifyVoteExtension) GetHeight() int64
func (*RequestVerifyVoteExtension) GetValidatorAddress ¶ added in v0.4.2
func (x *RequestVerifyVoteExtension) GetValidatorAddress() []byte
func (*RequestVerifyVoteExtension) GetVoteExtension ¶ added in v0.4.2
func (x *RequestVerifyVoteExtension) GetVoteExtension() []byte
func (*RequestVerifyVoteExtension) ProtoMessage ¶ added in v0.4.2
func (*RequestVerifyVoteExtension) ProtoMessage()
func (*RequestVerifyVoteExtension) ProtoReflect ¶ added in v0.4.2
func (x *RequestVerifyVoteExtension) ProtoReflect() protoreflect.Message
func (*RequestVerifyVoteExtension) Reset ¶ added in v0.4.2
func (x *RequestVerifyVoteExtension) Reset()
func (*RequestVerifyVoteExtension) String ¶ added in v0.4.2
func (x *RequestVerifyVoteExtension) String() string
type Request_ApplySnapshotChunk ¶
type Request_ApplySnapshotChunk struct {
ApplySnapshotChunk *RequestApplySnapshotChunk `protobuf:"bytes,15,opt,name=apply_snapshot_chunk,json=applySnapshotChunk,proto3,oneof"`
}
type Request_CheckTx ¶
type Request_CheckTx struct {
CheckTx *RequestCheckTx `protobuf:"bytes,8,opt,name=check_tx,json=checkTx,proto3,oneof"`
}
type Request_Commit ¶
type Request_Commit struct {
Commit *RequestCommit `protobuf:"bytes,11,opt,name=commit,proto3,oneof"`
}
type Request_Echo ¶
type Request_Echo struct {
Echo *RequestEcho `protobuf:"bytes,1,opt,name=echo,proto3,oneof"`
}
type Request_ExtendVote ¶ added in v0.4.2
type Request_ExtendVote struct {
ExtendVote *RequestExtendVote `protobuf:"bytes,18,opt,name=extend_vote,json=extendVote,proto3,oneof"`
}
type Request_FinalizeBlock ¶ added in v0.4.2
type Request_FinalizeBlock struct {
FinalizeBlock *RequestFinalizeBlock `protobuf:"bytes,20,opt,name=finalize_block,json=finalizeBlock,proto3,oneof"`
}
type Request_Flush ¶
type Request_Flush struct {
Flush *RequestFlush `protobuf:"bytes,2,opt,name=flush,proto3,oneof"`
}
type Request_Info ¶
type Request_Info struct {
Info *RequestInfo `protobuf:"bytes,3,opt,name=info,proto3,oneof"`
}
type Request_InitChain ¶
type Request_InitChain struct {
InitChain *RequestInitChain `protobuf:"bytes,5,opt,name=init_chain,json=initChain,proto3,oneof"`
}
type Request_ListSnapshots ¶
type Request_ListSnapshots struct {
ListSnapshots *RequestListSnapshots `protobuf:"bytes,12,opt,name=list_snapshots,json=listSnapshots,proto3,oneof"`
}
type Request_LoadSnapshotChunk ¶
type Request_LoadSnapshotChunk struct {
LoadSnapshotChunk *RequestLoadSnapshotChunk `protobuf:"bytes,14,opt,name=load_snapshot_chunk,json=loadSnapshotChunk,proto3,oneof"`
}
type Request_OfferSnapshot ¶
type Request_OfferSnapshot struct {
OfferSnapshot *RequestOfferSnapshot `protobuf:"bytes,13,opt,name=offer_snapshot,json=offerSnapshot,proto3,oneof"`
}
type Request_PrepareProposal ¶
type Request_PrepareProposal struct {
PrepareProposal *RequestPrepareProposal `protobuf:"bytes,16,opt,name=prepare_proposal,json=prepareProposal,proto3,oneof"`
}
type Request_ProcessProposal ¶
type Request_ProcessProposal struct {
ProcessProposal *RequestProcessProposal `protobuf:"bytes,17,opt,name=process_proposal,json=processProposal,proto3,oneof"`
}
type Request_Query ¶
type Request_Query struct {
Query *RequestQuery `protobuf:"bytes,6,opt,name=query,proto3,oneof"`
}
type Request_VerifyVoteExtension ¶ added in v0.4.2
type Request_VerifyVoteExtension struct {
VerifyVoteExtension *RequestVerifyVoteExtension `protobuf:"bytes,19,opt,name=verify_vote_extension,json=verifyVoteExtension,proto3,oneof"`
}
type Response ¶
type Response struct { // Types that are assignable 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"` // contains filtered or unexported fields }
func (*Response) GetApplySnapshotChunk ¶
func (x *Response) GetApplySnapshotChunk() *ResponseApplySnapshotChunk
func (*Response) GetCheckTx ¶
func (x *Response) GetCheckTx() *ResponseCheckTx
func (*Response) GetCommit ¶
func (x *Response) GetCommit() *ResponseCommit
func (*Response) GetEcho ¶
func (x *Response) GetEcho() *ResponseEcho
func (*Response) GetException ¶
func (x *Response) GetException() *ResponseException
func (*Response) GetExtendVote ¶ added in v0.4.2
func (x *Response) GetExtendVote() *ResponseExtendVote
func (*Response) GetFinalizeBlock ¶ added in v0.4.2
func (x *Response) GetFinalizeBlock() *ResponseFinalizeBlock
func (*Response) GetFlush ¶
func (x *Response) GetFlush() *ResponseFlush
func (*Response) GetInfo ¶
func (x *Response) GetInfo() *ResponseInfo
func (*Response) GetInitChain ¶
func (x *Response) GetInitChain() *ResponseInitChain
func (*Response) GetListSnapshots ¶
func (x *Response) GetListSnapshots() *ResponseListSnapshots
func (*Response) GetLoadSnapshotChunk ¶
func (x *Response) GetLoadSnapshotChunk() *ResponseLoadSnapshotChunk
func (*Response) GetOfferSnapshot ¶
func (x *Response) GetOfferSnapshot() *ResponseOfferSnapshot
func (*Response) GetPrepareProposal ¶
func (x *Response) GetPrepareProposal() *ResponsePrepareProposal
func (*Response) GetProcessProposal ¶
func (x *Response) GetProcessProposal() *ResponseProcessProposal
func (*Response) GetQuery ¶
func (x *Response) GetQuery() *ResponseQuery
func (*Response) GetVerifyVoteExtension ¶ added in v0.4.2
func (x *Response) GetVerifyVoteExtension() *ResponseVerifyVoteExtension
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
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"` // Chunks to refetch and reapply RejectSenders []string `protobuf:"bytes,3,rep,name=reject_senders,json=rejectSenders,proto3" json:"reject_senders,omitempty"` // Chunk senders to reject and ban // contains filtered or unexported fields }
func (*ResponseApplySnapshotChunk) Descriptor
deprecated
func (*ResponseApplySnapshotChunk) Descriptor() ([]byte, []int)
Deprecated: Use ResponseApplySnapshotChunk.ProtoReflect.Descriptor instead.
func (*ResponseApplySnapshotChunk) GetRefetchChunks ¶
func (x *ResponseApplySnapshotChunk) GetRefetchChunks() []uint32
func (*ResponseApplySnapshotChunk) GetRejectSenders ¶
func (x *ResponseApplySnapshotChunk) GetRejectSenders() []string
func (*ResponseApplySnapshotChunk) GetResult ¶
func (x *ResponseApplySnapshotChunk) GetResult() ResponseApplySnapshotChunk_Result
func (*ResponseApplySnapshotChunk) ProtoMessage ¶
func (*ResponseApplySnapshotChunk) ProtoMessage()
func (*ResponseApplySnapshotChunk) ProtoReflect ¶
func (x *ResponseApplySnapshotChunk) ProtoReflect() protoreflect.Message
func (*ResponseApplySnapshotChunk) Reset ¶
func (x *ResponseApplySnapshotChunk) Reset()
func (*ResponseApplySnapshotChunk) String ¶
func (x *ResponseApplySnapshotChunk) String() string
type ResponseApplySnapshotChunk_Result ¶
type ResponseApplySnapshotChunk_Result int32
const ( ResponseApplySnapshotChunk_UNKNOWN ResponseApplySnapshotChunk_Result = 0 // Unknown result, abort all snapshot restoration ResponseApplySnapshotChunk_ACCEPT ResponseApplySnapshotChunk_Result = 1 // Chunk successfully accepted ResponseApplySnapshotChunk_ABORT ResponseApplySnapshotChunk_Result = 2 // Abort all snapshot restoration ResponseApplySnapshotChunk_RETRY ResponseApplySnapshotChunk_Result = 3 // Retry chunk (combine with refetch and reject) ResponseApplySnapshotChunk_RETRY_SNAPSHOT ResponseApplySnapshotChunk_Result = 4 // Retry snapshot (combine with refetch and reject) ResponseApplySnapshotChunk_REJECT_SNAPSHOT ResponseApplySnapshotChunk_Result = 5 // Reject this snapshot, try others )
func (ResponseApplySnapshotChunk_Result) Descriptor ¶
func (ResponseApplySnapshotChunk_Result) Descriptor() protoreflect.EnumDescriptor
func (ResponseApplySnapshotChunk_Result) Enum ¶
func (x ResponseApplySnapshotChunk_Result) Enum() *ResponseApplySnapshotChunk_Result
func (ResponseApplySnapshotChunk_Result) EnumDescriptor
deprecated
func (ResponseApplySnapshotChunk_Result) EnumDescriptor() ([]byte, []int)
Deprecated: Use ResponseApplySnapshotChunk_Result.Descriptor instead.
func (ResponseApplySnapshotChunk_Result) Number ¶
func (x ResponseApplySnapshotChunk_Result) Number() protoreflect.EnumNumber
func (ResponseApplySnapshotChunk_Result) String ¶
func (x ResponseApplySnapshotChunk_Result) String() string
func (ResponseApplySnapshotChunk_Result) Type ¶
func (ResponseApplySnapshotChunk_Result) Type() protoreflect.EnumType
type ResponseCheckTx ¶
type ResponseCheckTx struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` Log string `protobuf:"bytes,3,opt,name=log,proto3" json:"log,omitempty"` // nondeterministic Info string `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty"` // nondeterministic 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"` // contains filtered or unexported fields }
func (*ResponseCheckTx) Descriptor
deprecated
func (*ResponseCheckTx) Descriptor() ([]byte, []int)
Deprecated: Use ResponseCheckTx.ProtoReflect.Descriptor instead.
func (*ResponseCheckTx) GetCode ¶
func (x *ResponseCheckTx) GetCode() uint32
func (*ResponseCheckTx) GetCodespace ¶
func (x *ResponseCheckTx) GetCodespace() string
func (*ResponseCheckTx) GetData ¶
func (x *ResponseCheckTx) GetData() []byte
func (*ResponseCheckTx) GetEvents ¶
func (x *ResponseCheckTx) GetEvents() []*Event
func (*ResponseCheckTx) GetGasUsed ¶
func (x *ResponseCheckTx) GetGasUsed() int64
func (*ResponseCheckTx) GetGasWanted ¶
func (x *ResponseCheckTx) GetGasWanted() int64
func (*ResponseCheckTx) GetInfo ¶
func (x *ResponseCheckTx) GetInfo() string
func (*ResponseCheckTx) GetLog ¶
func (x *ResponseCheckTx) GetLog() string
func (*ResponseCheckTx) ProtoMessage ¶
func (*ResponseCheckTx) ProtoMessage()
func (*ResponseCheckTx) ProtoReflect ¶
func (x *ResponseCheckTx) ProtoReflect() protoreflect.Message
func (*ResponseCheckTx) Reset ¶
func (x *ResponseCheckTx) Reset()
func (*ResponseCheckTx) String ¶
func (x *ResponseCheckTx) String() string
type ResponseCommit ¶
type ResponseCommit struct { RetainHeight int64 `protobuf:"varint,3,opt,name=retain_height,json=retainHeight,proto3" json:"retain_height,omitempty"` // contains filtered or unexported fields }
func (*ResponseCommit) Descriptor
deprecated
func (*ResponseCommit) Descriptor() ([]byte, []int)
Deprecated: Use ResponseCommit.ProtoReflect.Descriptor instead.
func (*ResponseCommit) GetRetainHeight ¶
func (x *ResponseCommit) GetRetainHeight() int64
func (*ResponseCommit) ProtoMessage ¶
func (*ResponseCommit) ProtoMessage()
func (*ResponseCommit) ProtoReflect ¶
func (x *ResponseCommit) ProtoReflect() protoreflect.Message
func (*ResponseCommit) Reset ¶
func (x *ResponseCommit) Reset()
func (*ResponseCommit) String ¶
func (x *ResponseCommit) String() string
type ResponseEcho ¶
type ResponseEcho struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*ResponseEcho) Descriptor
deprecated
func (*ResponseEcho) Descriptor() ([]byte, []int)
Deprecated: Use ResponseEcho.ProtoReflect.Descriptor instead.
func (*ResponseEcho) GetMessage ¶
func (x *ResponseEcho) GetMessage() string
func (*ResponseEcho) ProtoMessage ¶
func (*ResponseEcho) ProtoMessage()
func (*ResponseEcho) ProtoReflect ¶
func (x *ResponseEcho) ProtoReflect() protoreflect.Message
func (*ResponseEcho) Reset ¶
func (x *ResponseEcho) Reset()
func (*ResponseEcho) String ¶
func (x *ResponseEcho) String() string
type ResponseException ¶
type ResponseException struct { Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
nondeterministic
func (*ResponseException) Descriptor
deprecated
func (*ResponseException) Descriptor() ([]byte, []int)
Deprecated: Use ResponseException.ProtoReflect.Descriptor instead.
func (*ResponseException) GetError ¶
func (x *ResponseException) GetError() string
func (*ResponseException) ProtoMessage ¶
func (*ResponseException) ProtoMessage()
func (*ResponseException) ProtoReflect ¶
func (x *ResponseException) ProtoReflect() protoreflect.Message
func (*ResponseException) Reset ¶
func (x *ResponseException) Reset()
func (*ResponseException) String ¶
func (x *ResponseException) String() string
type ResponseExtendVote ¶ added in v0.4.2
type ResponseExtendVote struct { VoteExtension []byte `protobuf:"bytes,1,opt,name=vote_extension,json=voteExtension,proto3" json:"vote_extension,omitempty"` // contains filtered or unexported fields }
func (*ResponseExtendVote) Descriptor
deprecated
added in
v0.4.2
func (*ResponseExtendVote) Descriptor() ([]byte, []int)
Deprecated: Use ResponseExtendVote.ProtoReflect.Descriptor instead.
func (*ResponseExtendVote) GetVoteExtension ¶ added in v0.4.2
func (x *ResponseExtendVote) GetVoteExtension() []byte
func (*ResponseExtendVote) ProtoMessage ¶ added in v0.4.2
func (*ResponseExtendVote) ProtoMessage()
func (*ResponseExtendVote) ProtoReflect ¶ added in v0.4.2
func (x *ResponseExtendVote) ProtoReflect() protoreflect.Message
func (*ResponseExtendVote) Reset ¶ added in v0.4.2
func (x *ResponseExtendVote) Reset()
func (*ResponseExtendVote) String ¶ added in v0.4.2
func (x *ResponseExtendVote) String() string
type ResponseFinalizeBlock ¶ added in v0.4.2
type ResponseFinalizeBlock struct { // set of block events emmitted as part of executing the block Events []*Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` // the result of executing each transaction including the events // the particular transction emitted. This should match the order // of the transactions delivered in the block itself TxResults []*ExecTxResult `protobuf:"bytes,2,rep,name=tx_results,json=txResults,proto3" json:"tx_results,omitempty"` // a list of updates to the validator set. These will reflect the validator set at current height + 2. ValidatorUpdates []*ValidatorUpdate `protobuf:"bytes,3,rep,name=validator_updates,json=validatorUpdates,proto3" json:"validator_updates,omitempty"` // updates to the consensus params, if any. ConsensusParamUpdates *types.ConsensusParams `` /* 126-byte string literal not displayed */ // app_hash is the hash of the applications' state which is used to confirm that execution of the transactions was // deterministic. It is up to the application to decide which algorithm to use. AppHash []byte `protobuf:"bytes,5,opt,name=app_hash,json=appHash,proto3" json:"app_hash,omitempty"` // contains filtered or unexported fields }
func (*ResponseFinalizeBlock) Descriptor
deprecated
added in
v0.4.2
func (*ResponseFinalizeBlock) Descriptor() ([]byte, []int)
Deprecated: Use ResponseFinalizeBlock.ProtoReflect.Descriptor instead.
func (*ResponseFinalizeBlock) GetAppHash ¶ added in v0.4.2
func (x *ResponseFinalizeBlock) GetAppHash() []byte
func (*ResponseFinalizeBlock) GetConsensusParamUpdates ¶ added in v0.4.2
func (x *ResponseFinalizeBlock) GetConsensusParamUpdates() *types.ConsensusParams
func (*ResponseFinalizeBlock) GetEvents ¶ added in v0.4.2
func (x *ResponseFinalizeBlock) GetEvents() []*Event
func (*ResponseFinalizeBlock) GetTxResults ¶ added in v0.4.2
func (x *ResponseFinalizeBlock) GetTxResults() []*ExecTxResult
func (*ResponseFinalizeBlock) GetValidatorUpdates ¶ added in v0.4.2
func (x *ResponseFinalizeBlock) GetValidatorUpdates() []*ValidatorUpdate
func (*ResponseFinalizeBlock) ProtoMessage ¶ added in v0.4.2
func (*ResponseFinalizeBlock) ProtoMessage()
func (*ResponseFinalizeBlock) ProtoReflect ¶ added in v0.4.2
func (x *ResponseFinalizeBlock) ProtoReflect() protoreflect.Message
func (*ResponseFinalizeBlock) Reset ¶ added in v0.4.2
func (x *ResponseFinalizeBlock) Reset()
func (*ResponseFinalizeBlock) String ¶ added in v0.4.2
func (x *ResponseFinalizeBlock) String() string
type ResponseFlush ¶
type ResponseFlush struct {
// contains filtered or unexported fields
}
func (*ResponseFlush) Descriptor
deprecated
func (*ResponseFlush) Descriptor() ([]byte, []int)
Deprecated: Use ResponseFlush.ProtoReflect.Descriptor instead.
func (*ResponseFlush) ProtoMessage ¶
func (*ResponseFlush) ProtoMessage()
func (*ResponseFlush) ProtoReflect ¶
func (x *ResponseFlush) ProtoReflect() protoreflect.Message
func (*ResponseFlush) Reset ¶
func (x *ResponseFlush) Reset()
func (*ResponseFlush) String ¶
func (x *ResponseFlush) String() string
type ResponseInfo ¶
type ResponseInfo struct { Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` AppVersion uint64 `protobuf:"varint,3,opt,name=app_version,json=appVersion,proto3" json:"app_version,omitempty"` LastBlockHeight int64 `protobuf:"varint,4,opt,name=last_block_height,json=lastBlockHeight,proto3" json:"last_block_height,omitempty"` LastBlockAppHash []byte `protobuf:"bytes,5,opt,name=last_block_app_hash,json=lastBlockAppHash,proto3" json:"last_block_app_hash,omitempty"` // contains filtered or unexported fields }
func (*ResponseInfo) Descriptor
deprecated
func (*ResponseInfo) Descriptor() ([]byte, []int)
Deprecated: Use ResponseInfo.ProtoReflect.Descriptor instead.
func (*ResponseInfo) GetAppVersion ¶
func (x *ResponseInfo) GetAppVersion() uint64
func (*ResponseInfo) GetData ¶
func (x *ResponseInfo) GetData() string
func (*ResponseInfo) GetLastBlockAppHash ¶
func (x *ResponseInfo) GetLastBlockAppHash() []byte
func (*ResponseInfo) GetLastBlockHeight ¶
func (x *ResponseInfo) GetLastBlockHeight() int64
func (*ResponseInfo) GetVersion ¶
func (x *ResponseInfo) GetVersion() string
func (*ResponseInfo) ProtoMessage ¶
func (*ResponseInfo) ProtoMessage()
func (*ResponseInfo) ProtoReflect ¶
func (x *ResponseInfo) ProtoReflect() protoreflect.Message
func (*ResponseInfo) Reset ¶
func (x *ResponseInfo) Reset()
func (*ResponseInfo) String ¶
func (x *ResponseInfo) String() string
type ResponseInitChain ¶
type ResponseInitChain struct { ConsensusParams *types.ConsensusParams `protobuf:"bytes,1,opt,name=consensus_params,json=consensusParams,proto3" json:"consensus_params,omitempty"` Validators []*ValidatorUpdate `protobuf:"bytes,2,rep,name=validators,proto3" json:"validators,omitempty"` AppHash []byte `protobuf:"bytes,3,opt,name=app_hash,json=appHash,proto3" json:"app_hash,omitempty"` // contains filtered or unexported fields }
func (*ResponseInitChain) Descriptor
deprecated
func (*ResponseInitChain) Descriptor() ([]byte, []int)
Deprecated: Use ResponseInitChain.ProtoReflect.Descriptor instead.
func (*ResponseInitChain) GetAppHash ¶
func (x *ResponseInitChain) GetAppHash() []byte
func (*ResponseInitChain) GetConsensusParams ¶
func (x *ResponseInitChain) GetConsensusParams() *types.ConsensusParams
func (*ResponseInitChain) GetValidators ¶
func (x *ResponseInitChain) GetValidators() []*ValidatorUpdate
func (*ResponseInitChain) ProtoMessage ¶
func (*ResponseInitChain) ProtoMessage()
func (*ResponseInitChain) ProtoReflect ¶
func (x *ResponseInitChain) ProtoReflect() protoreflect.Message
func (*ResponseInitChain) Reset ¶
func (x *ResponseInitChain) Reset()
func (*ResponseInitChain) String ¶
func (x *ResponseInitChain) String() string
type ResponseListSnapshots ¶
type ResponseListSnapshots struct { Snapshots []*Snapshot `protobuf:"bytes,1,rep,name=snapshots,proto3" json:"snapshots,omitempty"` // contains filtered or unexported fields }
func (*ResponseListSnapshots) Descriptor
deprecated
func (*ResponseListSnapshots) Descriptor() ([]byte, []int)
Deprecated: Use ResponseListSnapshots.ProtoReflect.Descriptor instead.
func (*ResponseListSnapshots) GetSnapshots ¶
func (x *ResponseListSnapshots) GetSnapshots() []*Snapshot
func (*ResponseListSnapshots) ProtoMessage ¶
func (*ResponseListSnapshots) ProtoMessage()
func (*ResponseListSnapshots) ProtoReflect ¶
func (x *ResponseListSnapshots) ProtoReflect() protoreflect.Message
func (*ResponseListSnapshots) Reset ¶
func (x *ResponseListSnapshots) Reset()
func (*ResponseListSnapshots) String ¶
func (x *ResponseListSnapshots) String() string
type ResponseLoadSnapshotChunk ¶
type ResponseLoadSnapshotChunk struct { Chunk []byte `protobuf:"bytes,1,opt,name=chunk,proto3" json:"chunk,omitempty"` // contains filtered or unexported fields }
func (*ResponseLoadSnapshotChunk) Descriptor
deprecated
func (*ResponseLoadSnapshotChunk) Descriptor() ([]byte, []int)
Deprecated: Use ResponseLoadSnapshotChunk.ProtoReflect.Descriptor instead.
func (*ResponseLoadSnapshotChunk) GetChunk ¶
func (x *ResponseLoadSnapshotChunk) GetChunk() []byte
func (*ResponseLoadSnapshotChunk) ProtoMessage ¶
func (*ResponseLoadSnapshotChunk) ProtoMessage()
func (*ResponseLoadSnapshotChunk) ProtoReflect ¶
func (x *ResponseLoadSnapshotChunk) ProtoReflect() protoreflect.Message
func (*ResponseLoadSnapshotChunk) Reset ¶
func (x *ResponseLoadSnapshotChunk) Reset()
func (*ResponseLoadSnapshotChunk) String ¶
func (x *ResponseLoadSnapshotChunk) String() string
type ResponseOfferSnapshot ¶
type ResponseOfferSnapshot struct { Result ResponseOfferSnapshot_Result `protobuf:"varint,1,opt,name=result,proto3,enum=tendermint.abci.ResponseOfferSnapshot_Result" json:"result,omitempty"` // contains filtered or unexported fields }
func (*ResponseOfferSnapshot) Descriptor
deprecated
func (*ResponseOfferSnapshot) Descriptor() ([]byte, []int)
Deprecated: Use ResponseOfferSnapshot.ProtoReflect.Descriptor instead.
func (*ResponseOfferSnapshot) GetResult ¶
func (x *ResponseOfferSnapshot) GetResult() ResponseOfferSnapshot_Result
func (*ResponseOfferSnapshot) ProtoMessage ¶
func (*ResponseOfferSnapshot) ProtoMessage()
func (*ResponseOfferSnapshot) ProtoReflect ¶
func (x *ResponseOfferSnapshot) ProtoReflect() protoreflect.Message
func (*ResponseOfferSnapshot) Reset ¶
func (x *ResponseOfferSnapshot) Reset()
func (*ResponseOfferSnapshot) String ¶
func (x *ResponseOfferSnapshot) String() string
type ResponseOfferSnapshot_Result ¶
type ResponseOfferSnapshot_Result int32
const ( ResponseOfferSnapshot_UNKNOWN ResponseOfferSnapshot_Result = 0 // Unknown result, abort all snapshot restoration ResponseOfferSnapshot_ACCEPT ResponseOfferSnapshot_Result = 1 // Snapshot accepted, apply chunks ResponseOfferSnapshot_ABORT ResponseOfferSnapshot_Result = 2 // Abort all snapshot restoration ResponseOfferSnapshot_REJECT ResponseOfferSnapshot_Result = 3 // Reject this specific snapshot, try others ResponseOfferSnapshot_REJECT_FORMAT ResponseOfferSnapshot_Result = 4 // Reject all snapshots of this format, try others ResponseOfferSnapshot_REJECT_SENDER ResponseOfferSnapshot_Result = 5 // Reject all snapshots from the sender(s), try others )
func (ResponseOfferSnapshot_Result) Descriptor ¶
func (ResponseOfferSnapshot_Result) Descriptor() protoreflect.EnumDescriptor
func (ResponseOfferSnapshot_Result) Enum ¶
func (x ResponseOfferSnapshot_Result) Enum() *ResponseOfferSnapshot_Result
func (ResponseOfferSnapshot_Result) EnumDescriptor
deprecated
func (ResponseOfferSnapshot_Result) EnumDescriptor() ([]byte, []int)
Deprecated: Use ResponseOfferSnapshot_Result.Descriptor instead.
func (ResponseOfferSnapshot_Result) Number ¶
func (x ResponseOfferSnapshot_Result) Number() protoreflect.EnumNumber
func (ResponseOfferSnapshot_Result) String ¶
func (x ResponseOfferSnapshot_Result) String() string
func (ResponseOfferSnapshot_Result) Type ¶
func (ResponseOfferSnapshot_Result) Type() protoreflect.EnumType
type ResponsePrepareProposal ¶
type ResponsePrepareProposal struct { Txs [][]byte `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"` // contains filtered or unexported fields }
func (*ResponsePrepareProposal) Descriptor
deprecated
func (*ResponsePrepareProposal) Descriptor() ([]byte, []int)
Deprecated: Use ResponsePrepareProposal.ProtoReflect.Descriptor instead.
func (*ResponsePrepareProposal) GetTxs ¶
func (x *ResponsePrepareProposal) GetTxs() [][]byte
func (*ResponsePrepareProposal) ProtoMessage ¶
func (*ResponsePrepareProposal) ProtoMessage()
func (*ResponsePrepareProposal) ProtoReflect ¶
func (x *ResponsePrepareProposal) ProtoReflect() protoreflect.Message
func (*ResponsePrepareProposal) Reset ¶
func (x *ResponsePrepareProposal) Reset()
func (*ResponsePrepareProposal) String ¶
func (x *ResponsePrepareProposal) String() string
type ResponseProcessProposal ¶
type ResponseProcessProposal struct { Status ResponseProcessProposal_ProposalStatus `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ResponseProcessProposal) Descriptor
deprecated
func (*ResponseProcessProposal) Descriptor() ([]byte, []int)
Deprecated: Use ResponseProcessProposal.ProtoReflect.Descriptor instead.
func (*ResponseProcessProposal) GetStatus ¶
func (x *ResponseProcessProposal) GetStatus() ResponseProcessProposal_ProposalStatus
func (*ResponseProcessProposal) ProtoMessage ¶
func (*ResponseProcessProposal) ProtoMessage()
func (*ResponseProcessProposal) ProtoReflect ¶
func (x *ResponseProcessProposal) ProtoReflect() protoreflect.Message
func (*ResponseProcessProposal) Reset ¶
func (x *ResponseProcessProposal) Reset()
func (*ResponseProcessProposal) String ¶
func (x *ResponseProcessProposal) String() string
type ResponseProcessProposal_ProposalStatus ¶
type ResponseProcessProposal_ProposalStatus int32
const ( ResponseProcessProposal_UNKNOWN ResponseProcessProposal_ProposalStatus = 0 ResponseProcessProposal_ACCEPT ResponseProcessProposal_ProposalStatus = 1 ResponseProcessProposal_REJECT ResponseProcessProposal_ProposalStatus = 2 )
func (ResponseProcessProposal_ProposalStatus) Descriptor ¶
func (ResponseProcessProposal_ProposalStatus) Descriptor() protoreflect.EnumDescriptor
func (ResponseProcessProposal_ProposalStatus) Enum ¶
func (ResponseProcessProposal_ProposalStatus) EnumDescriptor
deprecated
func (ResponseProcessProposal_ProposalStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use ResponseProcessProposal_ProposalStatus.Descriptor instead.
func (ResponseProcessProposal_ProposalStatus) Number ¶
func (x ResponseProcessProposal_ProposalStatus) Number() protoreflect.EnumNumber
func (ResponseProcessProposal_ProposalStatus) String ¶
func (x ResponseProcessProposal_ProposalStatus) String() string
func (ResponseProcessProposal_ProposalStatus) Type ¶
func (ResponseProcessProposal_ProposalStatus) Type() protoreflect.EnumType
type ResponseQuery ¶
type ResponseQuery struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // bytes data = 2; // use "value" instead. Log string `protobuf:"bytes,3,opt,name=log,proto3" json:"log,omitempty"` // nondeterministic Info string `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty"` // nondeterministic Index int64 `protobuf:"varint,5,opt,name=index,proto3" json:"index,omitempty"` Key []byte `protobuf:"bytes,6,opt,name=key,proto3" json:"key,omitempty"` Value []byte `protobuf:"bytes,7,opt,name=value,proto3" json:"value,omitempty"` ProofOps *crypto.ProofOps `protobuf:"bytes,8,opt,name=proof_ops,json=proofOps,proto3" json:"proof_ops,omitempty"` Height int64 `protobuf:"varint,9,opt,name=height,proto3" json:"height,omitempty"` Codespace string `protobuf:"bytes,10,opt,name=codespace,proto3" json:"codespace,omitempty"` // contains filtered or unexported fields }
func (*ResponseQuery) Descriptor
deprecated
func (*ResponseQuery) Descriptor() ([]byte, []int)
Deprecated: Use ResponseQuery.ProtoReflect.Descriptor instead.
func (*ResponseQuery) GetCode ¶
func (x *ResponseQuery) GetCode() uint32
func (*ResponseQuery) GetCodespace ¶
func (x *ResponseQuery) GetCodespace() string
func (*ResponseQuery) GetHeight ¶
func (x *ResponseQuery) GetHeight() int64
func (*ResponseQuery) GetIndex ¶
func (x *ResponseQuery) GetIndex() int64
func (*ResponseQuery) GetInfo ¶
func (x *ResponseQuery) GetInfo() string
func (*ResponseQuery) GetKey ¶
func (x *ResponseQuery) GetKey() []byte
func (*ResponseQuery) GetLog ¶
func (x *ResponseQuery) GetLog() string
func (*ResponseQuery) GetProofOps ¶
func (x *ResponseQuery) GetProofOps() *crypto.ProofOps
func (*ResponseQuery) GetValue ¶
func (x *ResponseQuery) GetValue() []byte
func (*ResponseQuery) ProtoMessage ¶
func (*ResponseQuery) ProtoMessage()
func (*ResponseQuery) ProtoReflect ¶
func (x *ResponseQuery) ProtoReflect() protoreflect.Message
func (*ResponseQuery) Reset ¶
func (x *ResponseQuery) Reset()
func (*ResponseQuery) String ¶
func (x *ResponseQuery) String() string
type ResponseVerifyVoteExtension ¶ added in v0.4.2
type ResponseVerifyVoteExtension struct { Status ResponseVerifyVoteExtension_VerifyStatus `` /* 128-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ResponseVerifyVoteExtension) Descriptor
deprecated
added in
v0.4.2
func (*ResponseVerifyVoteExtension) Descriptor() ([]byte, []int)
Deprecated: Use ResponseVerifyVoteExtension.ProtoReflect.Descriptor instead.
func (*ResponseVerifyVoteExtension) GetStatus ¶ added in v0.4.2
func (x *ResponseVerifyVoteExtension) GetStatus() ResponseVerifyVoteExtension_VerifyStatus
func (*ResponseVerifyVoteExtension) ProtoMessage ¶ added in v0.4.2
func (*ResponseVerifyVoteExtension) ProtoMessage()
func (*ResponseVerifyVoteExtension) ProtoReflect ¶ added in v0.4.2
func (x *ResponseVerifyVoteExtension) ProtoReflect() protoreflect.Message
func (*ResponseVerifyVoteExtension) Reset ¶ added in v0.4.2
func (x *ResponseVerifyVoteExtension) Reset()
func (*ResponseVerifyVoteExtension) String ¶ added in v0.4.2
func (x *ResponseVerifyVoteExtension) String() string
type ResponseVerifyVoteExtension_VerifyStatus ¶ added in v0.4.2
type ResponseVerifyVoteExtension_VerifyStatus int32
const ( ResponseVerifyVoteExtension_UNKNOWN ResponseVerifyVoteExtension_VerifyStatus = 0 ResponseVerifyVoteExtension_ACCEPT ResponseVerifyVoteExtension_VerifyStatus = 1 // Rejecting the vote extension will reject the entire precommit by the sender. // Incorrectly implementing this thus has liveness implications as it may affect // CometBFT's ability to receive 2/3+ valid votes to finalize the block. // Honest nodes should never be rejected. ResponseVerifyVoteExtension_REJECT ResponseVerifyVoteExtension_VerifyStatus = 2 )
func (ResponseVerifyVoteExtension_VerifyStatus) Descriptor ¶ added in v0.4.2
func (ResponseVerifyVoteExtension_VerifyStatus) Descriptor() protoreflect.EnumDescriptor
func (ResponseVerifyVoteExtension_VerifyStatus) Enum ¶ added in v0.4.2
func (ResponseVerifyVoteExtension_VerifyStatus) EnumDescriptor
deprecated
added in
v0.4.2
func (ResponseVerifyVoteExtension_VerifyStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use ResponseVerifyVoteExtension_VerifyStatus.Descriptor instead.
func (ResponseVerifyVoteExtension_VerifyStatus) Number ¶ added in v0.4.2
func (x ResponseVerifyVoteExtension_VerifyStatus) Number() protoreflect.EnumNumber
func (ResponseVerifyVoteExtension_VerifyStatus) String ¶ added in v0.4.2
func (x ResponseVerifyVoteExtension_VerifyStatus) String() string
func (ResponseVerifyVoteExtension_VerifyStatus) Type ¶ added in v0.4.2
func (ResponseVerifyVoteExtension_VerifyStatus) Type() protoreflect.EnumType
type Response_ApplySnapshotChunk ¶
type Response_ApplySnapshotChunk struct {
ApplySnapshotChunk *ResponseApplySnapshotChunk `protobuf:"bytes,16,opt,name=apply_snapshot_chunk,json=applySnapshotChunk,proto3,oneof"`
}
type Response_CheckTx ¶
type Response_CheckTx struct {
CheckTx *ResponseCheckTx `protobuf:"bytes,9,opt,name=check_tx,json=checkTx,proto3,oneof"`
}
type Response_Commit ¶
type Response_Commit struct {
Commit *ResponseCommit `protobuf:"bytes,12,opt,name=commit,proto3,oneof"`
}
type Response_Echo ¶
type Response_Echo struct {
Echo *ResponseEcho `protobuf:"bytes,2,opt,name=echo,proto3,oneof"`
}
type Response_Exception ¶
type Response_Exception struct {
Exception *ResponseException `protobuf:"bytes,1,opt,name=exception,proto3,oneof"`
}
type Response_ExtendVote ¶ added in v0.4.2
type Response_ExtendVote struct {
ExtendVote *ResponseExtendVote `protobuf:"bytes,19,opt,name=extend_vote,json=extendVote,proto3,oneof"`
}
type Response_FinalizeBlock ¶ added in v0.4.2
type Response_FinalizeBlock struct {
FinalizeBlock *ResponseFinalizeBlock `protobuf:"bytes,21,opt,name=finalize_block,json=finalizeBlock,proto3,oneof"`
}
type Response_Flush ¶
type Response_Flush struct {
Flush *ResponseFlush `protobuf:"bytes,3,opt,name=flush,proto3,oneof"`
}
type Response_Info ¶
type Response_Info struct {
Info *ResponseInfo `protobuf:"bytes,4,opt,name=info,proto3,oneof"`
}
type Response_InitChain ¶
type Response_InitChain struct {
InitChain *ResponseInitChain `protobuf:"bytes,6,opt,name=init_chain,json=initChain,proto3,oneof"`
}
type Response_ListSnapshots ¶
type Response_ListSnapshots struct {
ListSnapshots *ResponseListSnapshots `protobuf:"bytes,13,opt,name=list_snapshots,json=listSnapshots,proto3,oneof"`
}
type Response_LoadSnapshotChunk ¶
type Response_LoadSnapshotChunk struct {
LoadSnapshotChunk *ResponseLoadSnapshotChunk `protobuf:"bytes,15,opt,name=load_snapshot_chunk,json=loadSnapshotChunk,proto3,oneof"`
}
type Response_OfferSnapshot ¶
type Response_OfferSnapshot struct {
OfferSnapshot *ResponseOfferSnapshot `protobuf:"bytes,14,opt,name=offer_snapshot,json=offerSnapshot,proto3,oneof"`
}
type Response_PrepareProposal ¶
type Response_PrepareProposal struct {
PrepareProposal *ResponsePrepareProposal `protobuf:"bytes,17,opt,name=prepare_proposal,json=prepareProposal,proto3,oneof"`
}
type Response_ProcessProposal ¶
type Response_ProcessProposal struct {
ProcessProposal *ResponseProcessProposal `protobuf:"bytes,18,opt,name=process_proposal,json=processProposal,proto3,oneof"`
}
type Response_Query ¶
type Response_Query struct {
Query *ResponseQuery `protobuf:"bytes,7,opt,name=query,proto3,oneof"`
}
type Response_VerifyVoteExtension ¶ added in v0.4.2
type Response_VerifyVoteExtension struct {
VerifyVoteExtension *ResponseVerifyVoteExtension `protobuf:"bytes,20,opt,name=verify_vote_extension,json=verifyVoteExtension,proto3,oneof"`
}
type Snapshot ¶
type Snapshot struct { Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` // The height at which the snapshot was taken Format uint32 `protobuf:"varint,2,opt,name=format,proto3" json:"format,omitempty"` // The application-specific snapshot format Chunks uint32 `protobuf:"varint,3,opt,name=chunks,proto3" json:"chunks,omitempty"` // Number of chunks in the snapshot Hash []byte `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"` // Arbitrary snapshot hash, equal only if identical Metadata []byte `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"` // Arbitrary application metadata // contains filtered or unexported fields }
func (*Snapshot) ProtoReflect ¶
func (x *Snapshot) ProtoReflect() protoreflect.Message
type TxResult ¶
type TxResult struct { Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` Index uint32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` Tx []byte `protobuf:"bytes,3,opt,name=tx,proto3" json:"tx,omitempty"` Result *ExecTxResult `protobuf:"bytes,4,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
TxResult contains results of executing the transaction.
One usage is indexing transaction results.
func (*TxResult) GetResult ¶
func (x *TxResult) GetResult() *ExecTxResult
func (*TxResult) ProtoReflect ¶
func (x *TxResult) ProtoReflect() protoreflect.Message
type UnimplementedABCIServer ¶ added in v0.4.2
type UnimplementedABCIServer struct { }
UnimplementedABCIServer must be embedded to have forward compatible implementations.
func (UnimplementedABCIServer) ApplySnapshotChunk ¶ added in v0.4.2
func (UnimplementedABCIServer) ApplySnapshotChunk(context.Context, *RequestApplySnapshotChunk) (*ResponseApplySnapshotChunk, error)
func (UnimplementedABCIServer) CheckTx ¶ added in v0.4.2
func (UnimplementedABCIServer) CheckTx(context.Context, *RequestCheckTx) (*ResponseCheckTx, error)
func (UnimplementedABCIServer) Commit ¶ added in v0.4.2
func (UnimplementedABCIServer) Commit(context.Context, *RequestCommit) (*ResponseCommit, error)
func (UnimplementedABCIServer) Echo ¶ added in v0.4.2
func (UnimplementedABCIServer) Echo(context.Context, *RequestEcho) (*ResponseEcho, error)
func (UnimplementedABCIServer) ExtendVote ¶ added in v0.4.2
func (UnimplementedABCIServer) ExtendVote(context.Context, *RequestExtendVote) (*ResponseExtendVote, error)
func (UnimplementedABCIServer) FinalizeBlock ¶ added in v0.4.2
func (UnimplementedABCIServer) FinalizeBlock(context.Context, *RequestFinalizeBlock) (*ResponseFinalizeBlock, error)
func (UnimplementedABCIServer) Flush ¶ added in v0.4.2
func (UnimplementedABCIServer) Flush(context.Context, *RequestFlush) (*ResponseFlush, error)
func (UnimplementedABCIServer) Info ¶ added in v0.4.2
func (UnimplementedABCIServer) Info(context.Context, *RequestInfo) (*ResponseInfo, error)
func (UnimplementedABCIServer) InitChain ¶ added in v0.4.2
func (UnimplementedABCIServer) InitChain(context.Context, *RequestInitChain) (*ResponseInitChain, error)
func (UnimplementedABCIServer) ListSnapshots ¶ added in v0.4.2
func (UnimplementedABCIServer) ListSnapshots(context.Context, *RequestListSnapshots) (*ResponseListSnapshots, error)
func (UnimplementedABCIServer) LoadSnapshotChunk ¶ added in v0.4.2
func (UnimplementedABCIServer) LoadSnapshotChunk(context.Context, *RequestLoadSnapshotChunk) (*ResponseLoadSnapshotChunk, error)
func (UnimplementedABCIServer) OfferSnapshot ¶ added in v0.4.2
func (UnimplementedABCIServer) OfferSnapshot(context.Context, *RequestOfferSnapshot) (*ResponseOfferSnapshot, error)
func (UnimplementedABCIServer) PrepareProposal ¶ added in v0.4.2
func (UnimplementedABCIServer) PrepareProposal(context.Context, *RequestPrepareProposal) (*ResponsePrepareProposal, error)
func (UnimplementedABCIServer) ProcessProposal ¶ added in v0.4.2
func (UnimplementedABCIServer) ProcessProposal(context.Context, *RequestProcessProposal) (*ResponseProcessProposal, error)
func (UnimplementedABCIServer) Query ¶ added in v0.4.2
func (UnimplementedABCIServer) Query(context.Context, *RequestQuery) (*ResponseQuery, error)
func (UnimplementedABCIServer) VerifyVoteExtension ¶ added in v0.4.2
func (UnimplementedABCIServer) VerifyVoteExtension(context.Context, *RequestVerifyVoteExtension) (*ResponseVerifyVoteExtension, error)
type UnsafeABCIServer ¶ added in v0.4.2
type UnsafeABCIServer interface {
// contains filtered or unexported methods
}
UnsafeABCIServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ABCIServer will result in compilation errors.
type Validator ¶
type Validator struct { Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // The first 20 bytes of SHA256(public key) // PubKey pub_key = 2 [(gogoproto.nullable)=false]; Power int64 `protobuf:"varint,3,opt,name=power,proto3" json:"power,omitempty"` // The voting power // contains filtered or unexported fields }
func (*Validator) ProtoReflect ¶
func (x *Validator) ProtoReflect() protoreflect.Message
type ValidatorUpdate ¶
type ValidatorUpdate struct { PubKey *crypto.PublicKey `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"` Power int64 `protobuf:"varint,2,opt,name=power,proto3" json:"power,omitempty"` // contains filtered or unexported fields }
func (*ValidatorUpdate) Descriptor
deprecated
func (*ValidatorUpdate) Descriptor() ([]byte, []int)
Deprecated: Use ValidatorUpdate.ProtoReflect.Descriptor instead.
func (*ValidatorUpdate) GetPower ¶
func (x *ValidatorUpdate) GetPower() int64
func (*ValidatorUpdate) GetPubKey ¶
func (x *ValidatorUpdate) GetPubKey() *crypto.PublicKey
func (*ValidatorUpdate) ProtoMessage ¶
func (*ValidatorUpdate) ProtoMessage()
func (*ValidatorUpdate) ProtoReflect ¶
func (x *ValidatorUpdate) ProtoReflect() protoreflect.Message
func (*ValidatorUpdate) Reset ¶
func (x *ValidatorUpdate) Reset()
func (*ValidatorUpdate) String ¶
func (x *ValidatorUpdate) String() string
type VoteInfo ¶
type VoteInfo struct { Validator *Validator `protobuf:"bytes,1,opt,name=validator,proto3" json:"validator,omitempty"` BlockIdFlag types.BlockIDFlag `` /* 131-byte string literal not displayed */ // contains filtered or unexported fields }
func (*VoteInfo) GetBlockIdFlag ¶ added in v0.4.2
func (x *VoteInfo) GetBlockIdFlag() types.BlockIDFlag
func (*VoteInfo) ProtoReflect ¶
func (x *VoteInfo) ProtoReflect() protoreflect.Message