v1beta3

package
v1.0.0-alpha.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CodeTypeOK uint32 = 0
)

Variables

View Source
var (
	ErrInvalidLengthTypes        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypes          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group")
)
View Source
var ResponseVerifyVoteExtension_VerifyStatus_name = map[int32]string{
	0: "UNKNOWN",
	1: "ACCEPT",
	2: "REJECT",
}
View Source
var ResponseVerifyVoteExtension_VerifyStatus_value = map[string]int32{
	"UNKNOWN": 0,
	"ACCEPT":  1,
	"REJECT":  2,
}

Functions

func RegisterABCIServer

func RegisterABCIServer(s grpc1.Server, srv ABCIServer)

Types

type ABCIClient

type ABCIClient interface {
	// Echo returns back the same message it is sent.
	Echo(ctx context.Context, in *v1beta1.RequestEcho, opts ...grpc.CallOption) (*v1beta1.ResponseEcho, error)
	// Flush flushes the write buffer.
	Flush(ctx context.Context, in *v1beta1.RequestFlush, opts ...grpc.CallOption) (*v1beta1.ResponseFlush, error)
	// Info returns information about the application state.
	Info(ctx context.Context, in *v1beta2.RequestInfo, opts ...grpc.CallOption) (*v1beta1.ResponseInfo, error)
	// CheckTx validates a transaction.
	CheckTx(ctx context.Context, in *v1beta1.RequestCheckTx, opts ...grpc.CallOption) (*ResponseCheckTx, error)
	// Query queries the application state.
	Query(ctx context.Context, in *v1beta1.RequestQuery, opts ...grpc.CallOption) (*v1beta1.ResponseQuery, error)
	// Commit commits a block of transactions.
	Commit(ctx context.Context, in *v1beta1.RequestCommit, opts ...grpc.CallOption) (*ResponseCommit, error)
	// InitChain initializes the blockchain.
	InitChain(ctx context.Context, in *RequestInitChain, opts ...grpc.CallOption) (*ResponseInitChain, error)
	// ListSnapshots lists all the available snapshots.
	ListSnapshots(ctx context.Context, in *v1beta1.RequestListSnapshots, opts ...grpc.CallOption) (*v1beta1.ResponseListSnapshots, error)
	// OfferSnapshot sends a snapshot offer.
	OfferSnapshot(ctx context.Context, in *v1beta1.RequestOfferSnapshot, opts ...grpc.CallOption) (*v1beta1.ResponseOfferSnapshot, error)
	// LoadSnapshotChunk returns a chunk of snapshot.
	LoadSnapshotChunk(ctx context.Context, in *v1beta1.RequestLoadSnapshotChunk, opts ...grpc.CallOption) (*v1beta1.ResponseLoadSnapshotChunk, error)
	// ApplySnapshotChunk applies a chunk of snapshot.
	ApplySnapshotChunk(ctx context.Context, in *v1beta1.RequestApplySnapshotChunk, opts ...grpc.CallOption) (*v1beta1.ResponseApplySnapshotChunk, error)
	// PrepareProposal returns a proposal for the next block.
	PrepareProposal(ctx context.Context, in *RequestPrepareProposal, opts ...grpc.CallOption) (*v1beta2.ResponsePrepareProposal, error)
	// ProcessProposal validates a proposal.
	ProcessProposal(ctx context.Context, in *RequestProcessProposal, opts ...grpc.CallOption) (*v1beta2.ResponseProcessProposal, error)
	// ExtendVote extends a vote with application-injected data (vote extensions).
	ExtendVote(ctx context.Context, in *RequestExtendVote, opts ...grpc.CallOption) (*ResponseExtendVote, error)
	// VerifyVoteExtension verifies a vote extension.
	VerifyVoteExtension(ctx context.Context, in *RequestVerifyVoteExtension, opts ...grpc.CallOption) (*ResponseVerifyVoteExtension, error)
	// FinalizeBlock finalizes a block.
	FinalizeBlock(ctx context.Context, in *RequestFinalizeBlock, opts ...grpc.CallOption) (*ResponseFinalizeBlock, error)
}

ABCIClient is the client API for ABCI service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewABCIClient

func NewABCIClient(cc grpc1.ClientConn) ABCIClient

type ABCIServer

type ABCIServer interface {
	// Echo returns back the same message it is sent.
	Echo(context.Context, *v1beta1.RequestEcho) (*v1beta1.ResponseEcho, error)
	// Flush flushes the write buffer.
	Flush(context.Context, *v1beta1.RequestFlush) (*v1beta1.ResponseFlush, error)
	// Info returns information about the application state.
	Info(context.Context, *v1beta2.RequestInfo) (*v1beta1.ResponseInfo, error)
	// CheckTx validates a transaction.
	CheckTx(context.Context, *v1beta1.RequestCheckTx) (*ResponseCheckTx, error)
	// Query queries the application state.
	Query(context.Context, *v1beta1.RequestQuery) (*v1beta1.ResponseQuery, error)
	// Commit commits a block of transactions.
	Commit(context.Context, *v1beta1.RequestCommit) (*ResponseCommit, error)
	// InitChain initializes the blockchain.
	InitChain(context.Context, *RequestInitChain) (*ResponseInitChain, error)
	// ListSnapshots lists all the available snapshots.
	ListSnapshots(context.Context, *v1beta1.RequestListSnapshots) (*v1beta1.ResponseListSnapshots, error)
	// OfferSnapshot sends a snapshot offer.
	OfferSnapshot(context.Context, *v1beta1.RequestOfferSnapshot) (*v1beta1.ResponseOfferSnapshot, error)
	// LoadSnapshotChunk returns a chunk of snapshot.
	LoadSnapshotChunk(context.Context, *v1beta1.RequestLoadSnapshotChunk) (*v1beta1.ResponseLoadSnapshotChunk, error)
	// ApplySnapshotChunk applies a chunk of snapshot.
	ApplySnapshotChunk(context.Context, *v1beta1.RequestApplySnapshotChunk) (*v1beta1.ResponseApplySnapshotChunk, error)
	// PrepareProposal returns a proposal for the next block.
	PrepareProposal(context.Context, *RequestPrepareProposal) (*v1beta2.ResponsePrepareProposal, error)
	// ProcessProposal validates a proposal.
	ProcessProposal(context.Context, *RequestProcessProposal) (*v1beta2.ResponseProcessProposal, error)
	// ExtendVote extends a vote with application-injected data (vote extensions).
	ExtendVote(context.Context, *RequestExtendVote) (*ResponseExtendVote, error)
	// VerifyVoteExtension verifies a vote extension.
	VerifyVoteExtension(context.Context, *RequestVerifyVoteExtension) (*ResponseVerifyVoteExtension, error)
	// FinalizeBlock finalizes a block.
	FinalizeBlock(context.Context, *RequestFinalizeBlock) (*ResponseFinalizeBlock, error)
}

ABCIServer is the server API for ABCI service.

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"`
}

CommitInfo contains votes for the particular round.

func (*CommitInfo) Descriptor

func (*CommitInfo) Descriptor() ([]byte, []int)

func (*CommitInfo) GetRound

func (m *CommitInfo) GetRound() int32

func (*CommitInfo) GetVotes

func (m *CommitInfo) GetVotes() []VoteInfo

func (*CommitInfo) Marshal

func (m *CommitInfo) Marshal() (dAtA []byte, err error)

func (*CommitInfo) MarshalTo

func (m *CommitInfo) MarshalTo(dAtA []byte) (int, error)

func (*CommitInfo) MarshalToSizedBuffer

func (m *CommitInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CommitInfo) ProtoMessage

func (*CommitInfo) ProtoMessage()

func (*CommitInfo) Reset

func (m *CommitInfo) Reset()

func (*CommitInfo) Size

func (m *CommitInfo) Size() (n int)

func (*CommitInfo) String

func (m *CommitInfo) String() string

func (*CommitInfo) Unmarshal

func (m *CommitInfo) Unmarshal(dAtA []byte) error

func (*CommitInfo) XXX_DiscardUnknown

func (m *CommitInfo) XXX_DiscardUnknown()

func (*CommitInfo) XXX_Marshal

func (m *CommitInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CommitInfo) XXX_Merge

func (m *CommitInfo) XXX_Merge(src proto.Message)

func (*CommitInfo) XXX_Size

func (m *CommitInfo) XXX_Size() int

func (*CommitInfo) XXX_Unmarshal

func (m *CommitInfo) XXX_Unmarshal(b []byte) error

type ExecTxResult

type ExecTxResult struct {
	Code      uint32          `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Data      []byte          `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	Log       string          `protobuf:"bytes,3,opt,name=log,proto3" json:"log,omitempty"`
	Info      string          `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty"`
	GasWanted int64           `protobuf:"varint,5,opt,name=gas_wanted,proto3" json:"gas_wanted,omitempty"`
	GasUsed   int64           `protobuf:"varint,6,opt,name=gas_used,proto3" json:"gas_used,omitempty"`
	Events    []v1beta2.Event `protobuf:"bytes,7,rep,name=events,proto3" json:"events,omitempty"`
	Codespace string          `protobuf:"bytes,8,opt,name=codespace,proto3" json:"codespace,omitempty"`
}

ExecTxResult contains results of executing one individual transaction.

* Its structure is equivalent to #ResponseDeliverTx which will be deprecated/deleted

func (*ExecTxResult) Descriptor

func (*ExecTxResult) Descriptor() ([]byte, []int)

func (*ExecTxResult) GetCode

func (m *ExecTxResult) GetCode() uint32

func (*ExecTxResult) GetCodespace

func (m *ExecTxResult) GetCodespace() string

func (*ExecTxResult) GetData

func (m *ExecTxResult) GetData() []byte

func (*ExecTxResult) GetEvents

func (m *ExecTxResult) GetEvents() []v1beta2.Event

func (*ExecTxResult) GetGasUsed

func (m *ExecTxResult) GetGasUsed() int64

func (*ExecTxResult) GetGasWanted

func (m *ExecTxResult) GetGasWanted() int64

func (*ExecTxResult) GetInfo

func (m *ExecTxResult) GetInfo() string

func (*ExecTxResult) GetLog

func (m *ExecTxResult) GetLog() string

func (ExecTxResult) IsErr

func (r ExecTxResult) IsErr() bool

IsErr returns true if Code is something other than OK.

func (ExecTxResult) IsOK

func (r ExecTxResult) IsOK() bool

IsOK returns true if Code is OK.

func (*ExecTxResult) Marshal

func (m *ExecTxResult) Marshal() (dAtA []byte, err error)

func (*ExecTxResult) MarshalJSON

func (r *ExecTxResult) MarshalJSON() ([]byte, error)

func (*ExecTxResult) MarshalTo

func (m *ExecTxResult) MarshalTo(dAtA []byte) (int, error)

func (*ExecTxResult) MarshalToSizedBuffer

func (m *ExecTxResult) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ExecTxResult) ProtoMessage

func (*ExecTxResult) ProtoMessage()

func (*ExecTxResult) Reset

func (m *ExecTxResult) Reset()

func (*ExecTxResult) Size

func (m *ExecTxResult) Size() (n int)

func (*ExecTxResult) String

func (m *ExecTxResult) String() string

func (*ExecTxResult) Unmarshal

func (m *ExecTxResult) Unmarshal(dAtA []byte) error

func (*ExecTxResult) UnmarshalJSON

func (r *ExecTxResult) UnmarshalJSON(b []byte) error

func (*ExecTxResult) XXX_DiscardUnknown

func (m *ExecTxResult) XXX_DiscardUnknown()

func (*ExecTxResult) XXX_Marshal

func (m *ExecTxResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExecTxResult) XXX_Merge

func (m *ExecTxResult) XXX_Merge(src proto.Message)

func (*ExecTxResult) XXX_Size

func (m *ExecTxResult) XXX_Size() int

func (*ExecTxResult) XXX_Unmarshal

func (m *ExecTxResult) XXX_Unmarshal(b []byte) error

type ExtendedCommitInfo

type ExtendedCommitInfo struct {
	// The round at which the block proposer decided in the previous height.
	Round int32 `protobuf:"varint,1,opt,name=round,proto3" json:"round,omitempty"`
	// List of validators' addresses in the last validator set with their voting
	// information, including vote extensions.
	Votes []ExtendedVoteInfo `protobuf:"bytes,2,rep,name=votes,proto3" json:"votes"`
}

ExtendedCommitInfo is similar to CommitInfo except that it is only used in the PrepareProposal request such that Tendermint can provide vote extensions to the application.

func (*ExtendedCommitInfo) Descriptor

func (*ExtendedCommitInfo) Descriptor() ([]byte, []int)

func (*ExtendedCommitInfo) GetRound

func (m *ExtendedCommitInfo) GetRound() int32

func (*ExtendedCommitInfo) GetVotes

func (m *ExtendedCommitInfo) GetVotes() []ExtendedVoteInfo

func (*ExtendedCommitInfo) Marshal

func (m *ExtendedCommitInfo) Marshal() (dAtA []byte, err error)

func (*ExtendedCommitInfo) MarshalTo

func (m *ExtendedCommitInfo) MarshalTo(dAtA []byte) (int, error)

func (*ExtendedCommitInfo) MarshalToSizedBuffer

func (m *ExtendedCommitInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ExtendedCommitInfo) ProtoMessage

func (*ExtendedCommitInfo) ProtoMessage()

func (*ExtendedCommitInfo) Reset

func (m *ExtendedCommitInfo) Reset()

func (*ExtendedCommitInfo) Size

func (m *ExtendedCommitInfo) Size() (n int)

func (*ExtendedCommitInfo) String

func (m *ExtendedCommitInfo) String() string

func (*ExtendedCommitInfo) Unmarshal

func (m *ExtendedCommitInfo) Unmarshal(dAtA []byte) error

func (*ExtendedCommitInfo) XXX_DiscardUnknown

func (m *ExtendedCommitInfo) XXX_DiscardUnknown()

func (*ExtendedCommitInfo) XXX_Marshal

func (m *ExtendedCommitInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExtendedCommitInfo) XXX_Merge

func (m *ExtendedCommitInfo) XXX_Merge(src proto.Message)

func (*ExtendedCommitInfo) XXX_Size

func (m *ExtendedCommitInfo) XXX_Size() int

func (*ExtendedCommitInfo) XXX_Unmarshal

func (m *ExtendedCommitInfo) XXX_Unmarshal(b []byte) error

type ExtendedVoteInfo

type ExtendedVoteInfo struct {
	// The validator that sent the vote.
	Validator v1beta1.Validator `protobuf:"bytes,1,opt,name=validator,proto3" json:"validator"`
	// Non-deterministic extension provided by the sending validator's application.
	VoteExtension []byte `protobuf:"bytes,3,opt,name=vote_extension,json=voteExtension,proto3" json:"vote_extension,omitempty"`
	// Vote extension signature created by CometBFT
	ExtensionSignature []byte `protobuf:"bytes,4,opt,name=extension_signature,json=extensionSignature,proto3" json:"extension_signature,omitempty"`
	// block_id_flag indicates whether the validator voted for a block, nil, or did not vote at all
	BlockIdFlag v1beta11.BlockIDFlag `` /* 137-byte string literal not displayed */
}

ExtendedVoteInfo extends VoteInfo with the vote extensions (non-deterministic).

func (*ExtendedVoteInfo) Descriptor

func (*ExtendedVoteInfo) Descriptor() ([]byte, []int)

func (*ExtendedVoteInfo) GetBlockIdFlag

func (m *ExtendedVoteInfo) GetBlockIdFlag() v1beta11.BlockIDFlag

func (*ExtendedVoteInfo) GetExtensionSignature

func (m *ExtendedVoteInfo) GetExtensionSignature() []byte

func (*ExtendedVoteInfo) GetValidator

func (m *ExtendedVoteInfo) GetValidator() v1beta1.Validator

func (*ExtendedVoteInfo) GetVoteExtension

func (m *ExtendedVoteInfo) GetVoteExtension() []byte

func (*ExtendedVoteInfo) Marshal

func (m *ExtendedVoteInfo) Marshal() (dAtA []byte, err error)

func (*ExtendedVoteInfo) MarshalTo

func (m *ExtendedVoteInfo) MarshalTo(dAtA []byte) (int, error)

func (*ExtendedVoteInfo) MarshalToSizedBuffer

func (m *ExtendedVoteInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ExtendedVoteInfo) ProtoMessage

func (*ExtendedVoteInfo) ProtoMessage()

func (*ExtendedVoteInfo) Reset

func (m *ExtendedVoteInfo) Reset()

func (*ExtendedVoteInfo) Size

func (m *ExtendedVoteInfo) Size() (n int)

func (*ExtendedVoteInfo) String

func (m *ExtendedVoteInfo) String() string

func (*ExtendedVoteInfo) Unmarshal

func (m *ExtendedVoteInfo) Unmarshal(dAtA []byte) error

func (*ExtendedVoteInfo) XXX_DiscardUnknown

func (m *ExtendedVoteInfo) XXX_DiscardUnknown()

func (*ExtendedVoteInfo) XXX_Marshal

func (m *ExtendedVoteInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExtendedVoteInfo) XXX_Merge

func (m *ExtendedVoteInfo) XXX_Merge(src proto.Message)

func (*ExtendedVoteInfo) XXX_Size

func (m *ExtendedVoteInfo) XXX_Size() int

func (*ExtendedVoteInfo) XXX_Unmarshal

func (m *ExtendedVoteInfo) XXX_Unmarshal(b []byte) error

type Request

type Request struct {
	// Sum of all possible messages.
	//
	// Types that are valid to be assigned to Value:
	//	*Request_Echo
	//	*Request_Flush
	//	*Request_Info
	//	*Request_InitChain
	//	*Request_Query
	//	*Request_CheckTx
	//	*Request_Commit
	//	*Request_ListSnapshots
	//	*Request_OfferSnapshot
	//	*Request_LoadSnapshotChunk
	//	*Request_ApplySnapshotChunk
	//	*Request_PrepareProposal
	//	*Request_ProcessProposal
	//	*Request_ExtendVote
	//	*Request_VerifyVoteExtension
	//	*Request_FinalizeBlock
	Value isRequest_Value `protobuf_oneof:"value"`
}

Request represents a request to the ABCI application.

func (*Request) Descriptor

func (*Request) Descriptor() ([]byte, []int)

func (*Request) GetApplySnapshotChunk

func (m *Request) GetApplySnapshotChunk() *v1beta1.RequestApplySnapshotChunk

func (*Request) GetCheckTx

func (m *Request) GetCheckTx() *v1beta1.RequestCheckTx

func (*Request) GetCommit

func (m *Request) GetCommit() *v1beta1.RequestCommit

func (*Request) GetEcho

func (m *Request) GetEcho() *v1beta1.RequestEcho

func (*Request) GetExtendVote

func (m *Request) GetExtendVote() *RequestExtendVote

func (*Request) GetFinalizeBlock

func (m *Request) GetFinalizeBlock() *RequestFinalizeBlock

func (*Request) GetFlush

func (m *Request) GetFlush() *v1beta1.RequestFlush

func (*Request) GetInfo

func (m *Request) GetInfo() *v1beta2.RequestInfo

func (*Request) GetInitChain

func (m *Request) GetInitChain() *RequestInitChain

func (*Request) GetListSnapshots

func (m *Request) GetListSnapshots() *v1beta1.RequestListSnapshots

func (*Request) GetLoadSnapshotChunk

func (m *Request) GetLoadSnapshotChunk() *v1beta1.RequestLoadSnapshotChunk

func (*Request) GetOfferSnapshot

func (m *Request) GetOfferSnapshot() *v1beta1.RequestOfferSnapshot

func (*Request) GetPrepareProposal

func (m *Request) GetPrepareProposal() *RequestPrepareProposal

func (*Request) GetProcessProposal

func (m *Request) GetProcessProposal() *RequestProcessProposal

func (*Request) GetQuery

func (m *Request) GetQuery() *v1beta1.RequestQuery

func (*Request) GetValue

func (m *Request) GetValue() isRequest_Value

func (*Request) GetVerifyVoteExtension

func (m *Request) GetVerifyVoteExtension() *RequestVerifyVoteExtension

func (*Request) Marshal

func (m *Request) Marshal() (dAtA []byte, err error)

func (*Request) MarshalTo

func (m *Request) MarshalTo(dAtA []byte) (int, error)

func (*Request) MarshalToSizedBuffer

func (m *Request) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) Reset

func (m *Request) Reset()

func (*Request) Size

func (m *Request) Size() (n int)

func (*Request) String

func (m *Request) String() string

func (*Request) Unmarshal

func (m *Request) Unmarshal(dAtA []byte) error

func (*Request) XXX_DiscardUnknown

func (m *Request) XXX_DiscardUnknown()

func (*Request) XXX_Marshal

func (m *Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Request) XXX_Merge

func (m *Request) XXX_Merge(src proto.Message)

func (*Request) XXX_OneofWrappers

func (*Request) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Request) XXX_Size

func (m *Request) XXX_Size() int

func (*Request) XXX_Unmarshal

func (m *Request) XXX_Unmarshal(b []byte) error

type RequestExtendVote

type RequestExtendVote struct {
	// the hash of the block that this vote may be referring to
	Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	// the height of the extended vote
	Height int64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	// info of the block that this vote may be referring to
	Time               time.Time             `protobuf:"bytes,3,opt,name=time,proto3,stdtime" json:"time"`
	Txs                [][]byte              `protobuf:"bytes,4,rep,name=txs,proto3" json:"txs,omitempty"`
	ProposedLastCommit CommitInfo            `protobuf:"bytes,5,opt,name=proposed_last_commit,json=proposedLastCommit,proto3" json:"proposed_last_commit"`
	Misbehavior        []v1beta2.Misbehavior `protobuf:"bytes,6,rep,name=misbehavior,proto3" json:"misbehavior"`
	NextValidatorsHash []byte                `protobuf:"bytes,7,opt,name=next_validators_hash,json=nextValidatorsHash,proto3" json:"next_validators_hash,omitempty"`
	// address of the public key of the original proposer of the block.
	ProposerAddress []byte `protobuf:"bytes,8,opt,name=proposer_address,json=proposerAddress,proto3" json:"proposer_address,omitempty"`
}

Extends a vote with application-injected data

func (*RequestExtendVote) Descriptor

func (*RequestExtendVote) Descriptor() ([]byte, []int)

func (*RequestExtendVote) GetHash

func (m *RequestExtendVote) GetHash() []byte

func (*RequestExtendVote) GetHeight

func (m *RequestExtendVote) GetHeight() int64

func (*RequestExtendVote) GetMisbehavior

func (m *RequestExtendVote) GetMisbehavior() []v1beta2.Misbehavior

func (*RequestExtendVote) GetNextValidatorsHash

func (m *RequestExtendVote) GetNextValidatorsHash() []byte

func (*RequestExtendVote) GetProposedLastCommit

func (m *RequestExtendVote) GetProposedLastCommit() CommitInfo

func (*RequestExtendVote) GetProposerAddress

func (m *RequestExtendVote) GetProposerAddress() []byte

func (*RequestExtendVote) GetTime

func (m *RequestExtendVote) GetTime() time.Time

func (*RequestExtendVote) GetTxs

func (m *RequestExtendVote) GetTxs() [][]byte

func (*RequestExtendVote) Marshal

func (m *RequestExtendVote) Marshal() (dAtA []byte, err error)

func (*RequestExtendVote) MarshalTo

func (m *RequestExtendVote) MarshalTo(dAtA []byte) (int, error)

func (*RequestExtendVote) MarshalToSizedBuffer

func (m *RequestExtendVote) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RequestExtendVote) ProtoMessage

func (*RequestExtendVote) ProtoMessage()

func (*RequestExtendVote) Reset

func (m *RequestExtendVote) Reset()

func (*RequestExtendVote) Size

func (m *RequestExtendVote) Size() (n int)

func (*RequestExtendVote) String

func (m *RequestExtendVote) String() string

func (*RequestExtendVote) Unmarshal

func (m *RequestExtendVote) Unmarshal(dAtA []byte) error

func (*RequestExtendVote) XXX_DiscardUnknown

func (m *RequestExtendVote) XXX_DiscardUnknown()

func (*RequestExtendVote) XXX_Marshal

func (m *RequestExtendVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RequestExtendVote) XXX_Merge

func (m *RequestExtendVote) XXX_Merge(src proto.Message)

func (*RequestExtendVote) XXX_Size

func (m *RequestExtendVote) XXX_Size() int

func (*RequestExtendVote) XXX_Unmarshal

func (m *RequestExtendVote) XXX_Unmarshal(b []byte) error

type RequestFinalizeBlock

type RequestFinalizeBlock struct {
	Txs               [][]byte              `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"`
	DecidedLastCommit CommitInfo            `protobuf:"bytes,2,opt,name=decided_last_commit,json=decidedLastCommit,proto3" json:"decided_last_commit"`
	Misbehavior       []v1beta2.Misbehavior `protobuf:"bytes,3,rep,name=misbehavior,proto3" json:"misbehavior"`
	// hash is the merkle root hash of the fields of the decided block.
	Hash               []byte    `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"`
	Height             int64     `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"`
	Time               time.Time `protobuf:"bytes,6,opt,name=time,proto3,stdtime" json:"time"`
	NextValidatorsHash []byte    `protobuf:"bytes,7,opt,name=next_validators_hash,json=nextValidatorsHash,proto3" json:"next_validators_hash,omitempty"`
	// proposer_address is the address of the public key of the original proposer of the block.
	ProposerAddress []byte `protobuf:"bytes,8,opt,name=proposer_address,json=proposerAddress,proto3" json:"proposer_address,omitempty"`
}

RequestFinalizeBlock is a request to finalize the block.

func (*RequestFinalizeBlock) Descriptor

func (*RequestFinalizeBlock) Descriptor() ([]byte, []int)

func (*RequestFinalizeBlock) GetDecidedLastCommit

func (m *RequestFinalizeBlock) GetDecidedLastCommit() CommitInfo

func (*RequestFinalizeBlock) GetHash

func (m *RequestFinalizeBlock) GetHash() []byte

func (*RequestFinalizeBlock) GetHeight

func (m *RequestFinalizeBlock) GetHeight() int64

func (*RequestFinalizeBlock) GetMisbehavior

func (m *RequestFinalizeBlock) GetMisbehavior() []v1beta2.Misbehavior

func (*RequestFinalizeBlock) GetNextValidatorsHash

func (m *RequestFinalizeBlock) GetNextValidatorsHash() []byte

func (*RequestFinalizeBlock) GetProposerAddress

func (m *RequestFinalizeBlock) GetProposerAddress() []byte

func (*RequestFinalizeBlock) GetTime

func (m *RequestFinalizeBlock) GetTime() time.Time

func (*RequestFinalizeBlock) GetTxs

func (m *RequestFinalizeBlock) GetTxs() [][]byte

func (*RequestFinalizeBlock) Marshal

func (m *RequestFinalizeBlock) Marshal() (dAtA []byte, err error)

func (*RequestFinalizeBlock) MarshalTo

func (m *RequestFinalizeBlock) MarshalTo(dAtA []byte) (int, error)

func (*RequestFinalizeBlock) MarshalToSizedBuffer

func (m *RequestFinalizeBlock) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RequestFinalizeBlock) ProtoMessage

func (*RequestFinalizeBlock) ProtoMessage()

func (*RequestFinalizeBlock) Reset

func (m *RequestFinalizeBlock) Reset()

func (*RequestFinalizeBlock) Size

func (m *RequestFinalizeBlock) Size() (n int)

func (*RequestFinalizeBlock) String

func (m *RequestFinalizeBlock) String() string

func (*RequestFinalizeBlock) Unmarshal

func (m *RequestFinalizeBlock) Unmarshal(dAtA []byte) error

func (*RequestFinalizeBlock) XXX_DiscardUnknown

func (m *RequestFinalizeBlock) XXX_DiscardUnknown()

func (*RequestFinalizeBlock) XXX_Marshal

func (m *RequestFinalizeBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RequestFinalizeBlock) XXX_Merge

func (m *RequestFinalizeBlock) XXX_Merge(src proto.Message)

func (*RequestFinalizeBlock) XXX_Size

func (m *RequestFinalizeBlock) XXX_Size() int

func (*RequestFinalizeBlock) XXX_Unmarshal

func (m *RequestFinalizeBlock) XXX_Unmarshal(b []byte) error

type RequestInitChain

type RequestInitChain struct {
	Time            time.Time                 `protobuf:"bytes,1,opt,name=time,proto3,stdtime" json:"time"`
	ChainId         string                    `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	ConsensusParams *v1.ConsensusParams       `protobuf:"bytes,3,opt,name=consensus_params,json=consensusParams,proto3" json:"consensus_params,omitempty"`
	Validators      []v1beta1.ValidatorUpdate `protobuf:"bytes,4,rep,name=validators,proto3" json:"validators"`
	AppStateBytes   []byte                    `protobuf:"bytes,5,opt,name=app_state_bytes,json=appStateBytes,proto3" json:"app_state_bytes,omitempty"`
	InitialHeight   int64                     `protobuf:"varint,6,opt,name=initial_height,json=initialHeight,proto3" json:"initial_height,omitempty"`
}

RequestInitChain is a request to initialize the blockchain.

func (*RequestInitChain) Descriptor

func (*RequestInitChain) Descriptor() ([]byte, []int)

func (*RequestInitChain) GetAppStateBytes

func (m *RequestInitChain) GetAppStateBytes() []byte

func (*RequestInitChain) GetChainId

func (m *RequestInitChain) GetChainId() string

func (*RequestInitChain) GetConsensusParams

func (m *RequestInitChain) GetConsensusParams() *v1.ConsensusParams

func (*RequestInitChain) GetInitialHeight

func (m *RequestInitChain) GetInitialHeight() int64

func (*RequestInitChain) GetTime

func (m *RequestInitChain) GetTime() time.Time

func (*RequestInitChain) GetValidators

func (m *RequestInitChain) GetValidators() []v1beta1.ValidatorUpdate

func (*RequestInitChain) Marshal

func (m *RequestInitChain) Marshal() (dAtA []byte, err error)

func (*RequestInitChain) MarshalTo

func (m *RequestInitChain) MarshalTo(dAtA []byte) (int, error)

func (*RequestInitChain) MarshalToSizedBuffer

func (m *RequestInitChain) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RequestInitChain) ProtoMessage

func (*RequestInitChain) ProtoMessage()

func (*RequestInitChain) Reset

func (m *RequestInitChain) Reset()

func (*RequestInitChain) Size

func (m *RequestInitChain) Size() (n int)

func (*RequestInitChain) String

func (m *RequestInitChain) String() string

func (*RequestInitChain) Unmarshal

func (m *RequestInitChain) Unmarshal(dAtA []byte) error

func (*RequestInitChain) XXX_DiscardUnknown

func (m *RequestInitChain) XXX_DiscardUnknown()

func (*RequestInitChain) XXX_Marshal

func (m *RequestInitChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RequestInitChain) XXX_Merge

func (m *RequestInitChain) XXX_Merge(src proto.Message)

func (*RequestInitChain) XXX_Size

func (m *RequestInitChain) XXX_Size() int

func (*RequestInitChain) XXX_Unmarshal

func (m *RequestInitChain) XXX_Unmarshal(b []byte) error

type RequestPrepareProposal

type RequestPrepareProposal struct {
	// the modified transactions cannot exceed this size.
	MaxTxBytes int64 `protobuf:"varint,1,opt,name=max_tx_bytes,json=maxTxBytes,proto3" json:"max_tx_bytes,omitempty"`
	// txs is an array of transactions that will be included in a block,
	// sent to the app for possible modifications.
	Txs                [][]byte              `protobuf:"bytes,2,rep,name=txs,proto3" json:"txs,omitempty"`
	LocalLastCommit    ExtendedCommitInfo    `protobuf:"bytes,3,opt,name=local_last_commit,json=localLastCommit,proto3" json:"local_last_commit"`
	Misbehavior        []v1beta2.Misbehavior `protobuf:"bytes,4,rep,name=misbehavior,proto3" json:"misbehavior"`
	Height             int64                 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"`
	Time               time.Time             `protobuf:"bytes,6,opt,name=time,proto3,stdtime" json:"time"`
	NextValidatorsHash []byte                `protobuf:"bytes,7,opt,name=next_validators_hash,json=nextValidatorsHash,proto3" json:"next_validators_hash,omitempty"`
	// address of the public key of the validator proposing the block.
	ProposerAddress []byte `protobuf:"bytes,8,opt,name=proposer_address,json=proposerAddress,proto3" json:"proposer_address,omitempty"`
}

RequestPrepareProposal is a request for the ABCI application to prepare a new block proposal.

func (*RequestPrepareProposal) Descriptor

func (*RequestPrepareProposal) Descriptor() ([]byte, []int)

func (*RequestPrepareProposal) GetHeight

func (m *RequestPrepareProposal) GetHeight() int64

func (*RequestPrepareProposal) GetLocalLastCommit

func (m *RequestPrepareProposal) GetLocalLastCommit() ExtendedCommitInfo

func (*RequestPrepareProposal) GetMaxTxBytes

func (m *RequestPrepareProposal) GetMaxTxBytes() int64

func (*RequestPrepareProposal) GetMisbehavior

func (m *RequestPrepareProposal) GetMisbehavior() []v1beta2.Misbehavior

func (*RequestPrepareProposal) GetNextValidatorsHash

func (m *RequestPrepareProposal) GetNextValidatorsHash() []byte

func (*RequestPrepareProposal) GetProposerAddress

func (m *RequestPrepareProposal) GetProposerAddress() []byte

func (*RequestPrepareProposal) GetTime

func (m *RequestPrepareProposal) GetTime() time.Time

func (*RequestPrepareProposal) GetTxs

func (m *RequestPrepareProposal) GetTxs() [][]byte

func (*RequestPrepareProposal) Marshal

func (m *RequestPrepareProposal) Marshal() (dAtA []byte, err error)

func (*RequestPrepareProposal) MarshalTo

func (m *RequestPrepareProposal) MarshalTo(dAtA []byte) (int, error)

func (*RequestPrepareProposal) MarshalToSizedBuffer

func (m *RequestPrepareProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RequestPrepareProposal) ProtoMessage

func (*RequestPrepareProposal) ProtoMessage()

func (*RequestPrepareProposal) Reset

func (m *RequestPrepareProposal) Reset()

func (*RequestPrepareProposal) Size

func (m *RequestPrepareProposal) Size() (n int)

func (*RequestPrepareProposal) String

func (m *RequestPrepareProposal) String() string

func (*RequestPrepareProposal) Unmarshal

func (m *RequestPrepareProposal) Unmarshal(dAtA []byte) error

func (*RequestPrepareProposal) XXX_DiscardUnknown

func (m *RequestPrepareProposal) XXX_DiscardUnknown()

func (*RequestPrepareProposal) XXX_Marshal

func (m *RequestPrepareProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RequestPrepareProposal) XXX_Merge

func (m *RequestPrepareProposal) XXX_Merge(src proto.Message)

func (*RequestPrepareProposal) XXX_Size

func (m *RequestPrepareProposal) XXX_Size() int

func (*RequestPrepareProposal) XXX_Unmarshal

func (m *RequestPrepareProposal) XXX_Unmarshal(b []byte) error

type RequestProcessProposal

type RequestProcessProposal struct {
	Txs                [][]byte              `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"`
	ProposedLastCommit CommitInfo            `protobuf:"bytes,2,opt,name=proposed_last_commit,json=proposedLastCommit,proto3" json:"proposed_last_commit"`
	Misbehavior        []v1beta2.Misbehavior `protobuf:"bytes,3,rep,name=misbehavior,proto3" json:"misbehavior"`
	// hash is the merkle root hash of the fields of the proposed block.
	Hash               []byte    `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"`
	Height             int64     `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"`
	Time               time.Time `protobuf:"bytes,6,opt,name=time,proto3,stdtime" json:"time"`
	NextValidatorsHash []byte    `protobuf:"bytes,7,opt,name=next_validators_hash,json=nextValidatorsHash,proto3" json:"next_validators_hash,omitempty"`
	// address of the public key of the original proposer of the block.
	ProposerAddress []byte `protobuf:"bytes,8,opt,name=proposer_address,json=proposerAddress,proto3" json:"proposer_address,omitempty"`
}

RequestProcessProposal is a request for the ABCI application to process proposal.

func (*RequestProcessProposal) Descriptor

func (*RequestProcessProposal) Descriptor() ([]byte, []int)

func (*RequestProcessProposal) GetHash

func (m *RequestProcessProposal) GetHash() []byte

func (*RequestProcessProposal) GetHeight

func (m *RequestProcessProposal) GetHeight() int64

func (*RequestProcessProposal) GetMisbehavior

func (m *RequestProcessProposal) GetMisbehavior() []v1beta2.Misbehavior

func (*RequestProcessProposal) GetNextValidatorsHash

func (m *RequestProcessProposal) GetNextValidatorsHash() []byte

func (*RequestProcessProposal) GetProposedLastCommit

func (m *RequestProcessProposal) GetProposedLastCommit() CommitInfo

func (*RequestProcessProposal) GetProposerAddress

func (m *RequestProcessProposal) GetProposerAddress() []byte

func (*RequestProcessProposal) GetTime

func (m *RequestProcessProposal) GetTime() time.Time

func (*RequestProcessProposal) GetTxs

func (m *RequestProcessProposal) GetTxs() [][]byte

func (*RequestProcessProposal) Marshal

func (m *RequestProcessProposal) Marshal() (dAtA []byte, err error)

func (*RequestProcessProposal) MarshalTo

func (m *RequestProcessProposal) MarshalTo(dAtA []byte) (int, error)

func (*RequestProcessProposal) MarshalToSizedBuffer

func (m *RequestProcessProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RequestProcessProposal) ProtoMessage

func (*RequestProcessProposal) ProtoMessage()

func (*RequestProcessProposal) Reset

func (m *RequestProcessProposal) Reset()

func (*RequestProcessProposal) Size

func (m *RequestProcessProposal) Size() (n int)

func (*RequestProcessProposal) String

func (m *RequestProcessProposal) String() string

func (*RequestProcessProposal) Unmarshal

func (m *RequestProcessProposal) Unmarshal(dAtA []byte) error

func (*RequestProcessProposal) XXX_DiscardUnknown

func (m *RequestProcessProposal) XXX_DiscardUnknown()

func (*RequestProcessProposal) XXX_Marshal

func (m *RequestProcessProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RequestProcessProposal) XXX_Merge

func (m *RequestProcessProposal) XXX_Merge(src proto.Message)

func (*RequestProcessProposal) XXX_Size

func (m *RequestProcessProposal) XXX_Size() int

func (*RequestProcessProposal) XXX_Unmarshal

func (m *RequestProcessProposal) XXX_Unmarshal(b []byte) error

type RequestVerifyVoteExtension

type RequestVerifyVoteExtension struct {
	// the hash of the block that this received vote corresponds to
	Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	// the validator that signed the vote extension
	ValidatorAddress []byte `protobuf:"bytes,2,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	Height           int64  `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
	VoteExtension    []byte `protobuf:"bytes,4,opt,name=vote_extension,json=voteExtension,proto3" json:"vote_extension,omitempty"`
}

Verify the vote extension

func (*RequestVerifyVoteExtension) Descriptor

func (*RequestVerifyVoteExtension) Descriptor() ([]byte, []int)

func (*RequestVerifyVoteExtension) GetHash

func (m *RequestVerifyVoteExtension) GetHash() []byte

func (*RequestVerifyVoteExtension) GetHeight

func (m *RequestVerifyVoteExtension) GetHeight() int64

func (*RequestVerifyVoteExtension) GetValidatorAddress

func (m *RequestVerifyVoteExtension) GetValidatorAddress() []byte

func (*RequestVerifyVoteExtension) GetVoteExtension

func (m *RequestVerifyVoteExtension) GetVoteExtension() []byte

func (*RequestVerifyVoteExtension) Marshal

func (m *RequestVerifyVoteExtension) Marshal() (dAtA []byte, err error)

func (*RequestVerifyVoteExtension) MarshalTo

func (m *RequestVerifyVoteExtension) MarshalTo(dAtA []byte) (int, error)

func (*RequestVerifyVoteExtension) MarshalToSizedBuffer

func (m *RequestVerifyVoteExtension) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RequestVerifyVoteExtension) ProtoMessage

func (*RequestVerifyVoteExtension) ProtoMessage()

func (*RequestVerifyVoteExtension) Reset

func (m *RequestVerifyVoteExtension) Reset()

func (*RequestVerifyVoteExtension) Size

func (m *RequestVerifyVoteExtension) Size() (n int)

func (*RequestVerifyVoteExtension) String

func (m *RequestVerifyVoteExtension) String() string

func (*RequestVerifyVoteExtension) Unmarshal

func (m *RequestVerifyVoteExtension) Unmarshal(dAtA []byte) error

func (*RequestVerifyVoteExtension) XXX_DiscardUnknown

func (m *RequestVerifyVoteExtension) XXX_DiscardUnknown()

func (*RequestVerifyVoteExtension) XXX_Marshal

func (m *RequestVerifyVoteExtension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RequestVerifyVoteExtension) XXX_Merge

func (m *RequestVerifyVoteExtension) XXX_Merge(src proto.Message)

func (*RequestVerifyVoteExtension) XXX_Size

func (m *RequestVerifyVoteExtension) XXX_Size() int

func (*RequestVerifyVoteExtension) XXX_Unmarshal

func (m *RequestVerifyVoteExtension) XXX_Unmarshal(b []byte) error

type Request_ApplySnapshotChunk

type Request_ApplySnapshotChunk struct {
	ApplySnapshotChunk *v1beta1.RequestApplySnapshotChunk `protobuf:"bytes,15,opt,name=apply_snapshot_chunk,json=applySnapshotChunk,proto3,oneof" json:"apply_snapshot_chunk,omitempty"`
}

func (*Request_ApplySnapshotChunk) MarshalTo

func (m *Request_ApplySnapshotChunk) MarshalTo(dAtA []byte) (int, error)

func (*Request_ApplySnapshotChunk) MarshalToSizedBuffer

func (m *Request_ApplySnapshotChunk) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Request_ApplySnapshotChunk) Size

func (m *Request_ApplySnapshotChunk) Size() (n int)

type Request_CheckTx

type Request_CheckTx struct {
	CheckTx *v1beta1.RequestCheckTx `protobuf:"bytes,8,opt,name=check_tx,json=checkTx,proto3,oneof" json:"check_tx,omitempty"`
}

func (*Request_CheckTx) MarshalTo

func (m *Request_CheckTx) MarshalTo(dAtA []byte) (int, error)

func (*Request_CheckTx) MarshalToSizedBuffer

func (m *Request_CheckTx) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Request_CheckTx) Size

func (m *Request_CheckTx) Size() (n int)

type Request_Commit

type Request_Commit struct {
	Commit *v1beta1.RequestCommit `protobuf:"bytes,11,opt,name=commit,proto3,oneof" json:"commit,omitempty"`
}

func (*Request_Commit) MarshalTo

func (m *Request_Commit) MarshalTo(dAtA []byte) (int, error)

func (*Request_Commit) MarshalToSizedBuffer

func (m *Request_Commit) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Request_Commit) Size

func (m *Request_Commit) Size() (n int)

type Request_Echo

type Request_Echo struct {
	Echo *v1beta1.RequestEcho `protobuf:"bytes,1,opt,name=echo,proto3,oneof" json:"echo,omitempty"`
}

func (*Request_Echo) MarshalTo

func (m *Request_Echo) MarshalTo(dAtA []byte) (int, error)

func (*Request_Echo) MarshalToSizedBuffer

func (m *Request_Echo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Request_Echo) Size

func (m *Request_Echo) Size() (n int)

type Request_ExtendVote

type Request_ExtendVote struct {
	ExtendVote *RequestExtendVote `protobuf:"bytes,18,opt,name=extend_vote,json=extendVote,proto3,oneof" json:"extend_vote,omitempty"`
}

func (*Request_ExtendVote) MarshalTo

func (m *Request_ExtendVote) MarshalTo(dAtA []byte) (int, error)

func (*Request_ExtendVote) MarshalToSizedBuffer

func (m *Request_ExtendVote) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Request_ExtendVote) Size

func (m *Request_ExtendVote) Size() (n int)

type Request_FinalizeBlock

type Request_FinalizeBlock struct {
	FinalizeBlock *RequestFinalizeBlock `protobuf:"bytes,20,opt,name=finalize_block,json=finalizeBlock,proto3,oneof" json:"finalize_block,omitempty"`
}

func (*Request_FinalizeBlock) MarshalTo

func (m *Request_FinalizeBlock) MarshalTo(dAtA []byte) (int, error)

func (*Request_FinalizeBlock) MarshalToSizedBuffer

func (m *Request_FinalizeBlock) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Request_FinalizeBlock) Size

func (m *Request_FinalizeBlock) Size() (n int)

type Request_Flush

type Request_Flush struct {
	Flush *v1beta1.RequestFlush `protobuf:"bytes,2,opt,name=flush,proto3,oneof" json:"flush,omitempty"`
}

func (*Request_Flush) MarshalTo

func (m *Request_Flush) MarshalTo(dAtA []byte) (int, error)

func (*Request_Flush) MarshalToSizedBuffer

func (m *Request_Flush) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Request_Flush) Size

func (m *Request_Flush) Size() (n int)

type Request_Info

type Request_Info struct {
	Info *v1beta2.RequestInfo `protobuf:"bytes,3,opt,name=info,proto3,oneof" json:"info,omitempty"`
}

func (*Request_Info) MarshalTo

func (m *Request_Info) MarshalTo(dAtA []byte) (int, error)

func (*Request_Info) MarshalToSizedBuffer

func (m *Request_Info) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Request_Info) Size

func (m *Request_Info) Size() (n int)

type Request_InitChain

type Request_InitChain struct {
	InitChain *RequestInitChain `protobuf:"bytes,5,opt,name=init_chain,json=initChain,proto3,oneof" json:"init_chain,omitempty"`
}

func (*Request_InitChain) MarshalTo

func (m *Request_InitChain) MarshalTo(dAtA []byte) (int, error)

func (*Request_InitChain) MarshalToSizedBuffer

func (m *Request_InitChain) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Request_InitChain) Size

func (m *Request_InitChain) Size() (n int)

type Request_ListSnapshots

type Request_ListSnapshots struct {
	ListSnapshots *v1beta1.RequestListSnapshots `protobuf:"bytes,12,opt,name=list_snapshots,json=listSnapshots,proto3,oneof" json:"list_snapshots,omitempty"`
}

func (*Request_ListSnapshots) MarshalTo

func (m *Request_ListSnapshots) MarshalTo(dAtA []byte) (int, error)

func (*Request_ListSnapshots) MarshalToSizedBuffer

func (m *Request_ListSnapshots) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Request_ListSnapshots) Size

func (m *Request_ListSnapshots) Size() (n int)

type Request_LoadSnapshotChunk

type Request_LoadSnapshotChunk struct {
	LoadSnapshotChunk *v1beta1.RequestLoadSnapshotChunk `protobuf:"bytes,14,opt,name=load_snapshot_chunk,json=loadSnapshotChunk,proto3,oneof" json:"load_snapshot_chunk,omitempty"`
}

func (*Request_LoadSnapshotChunk) MarshalTo

func (m *Request_LoadSnapshotChunk) MarshalTo(dAtA []byte) (int, error)

func (*Request_LoadSnapshotChunk) MarshalToSizedBuffer

func (m *Request_LoadSnapshotChunk) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Request_LoadSnapshotChunk) Size

func (m *Request_LoadSnapshotChunk) Size() (n int)

type Request_OfferSnapshot

type Request_OfferSnapshot struct {
	OfferSnapshot *v1beta1.RequestOfferSnapshot `protobuf:"bytes,13,opt,name=offer_snapshot,json=offerSnapshot,proto3,oneof" json:"offer_snapshot,omitempty"`
}

func (*Request_OfferSnapshot) MarshalTo

func (m *Request_OfferSnapshot) MarshalTo(dAtA []byte) (int, error)

func (*Request_OfferSnapshot) MarshalToSizedBuffer

func (m *Request_OfferSnapshot) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Request_OfferSnapshot) Size

func (m *Request_OfferSnapshot) Size() (n int)

type Request_PrepareProposal

type Request_PrepareProposal struct {
	PrepareProposal *RequestPrepareProposal `protobuf:"bytes,16,opt,name=prepare_proposal,json=prepareProposal,proto3,oneof" json:"prepare_proposal,omitempty"`
}

func (*Request_PrepareProposal) MarshalTo

func (m *Request_PrepareProposal) MarshalTo(dAtA []byte) (int, error)

func (*Request_PrepareProposal) MarshalToSizedBuffer

func (m *Request_PrepareProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Request_PrepareProposal) Size

func (m *Request_PrepareProposal) Size() (n int)

type Request_ProcessProposal

type Request_ProcessProposal struct {
	ProcessProposal *RequestProcessProposal `protobuf:"bytes,17,opt,name=process_proposal,json=processProposal,proto3,oneof" json:"process_proposal,omitempty"`
}

func (*Request_ProcessProposal) MarshalTo

func (m *Request_ProcessProposal) MarshalTo(dAtA []byte) (int, error)

func (*Request_ProcessProposal) MarshalToSizedBuffer

func (m *Request_ProcessProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Request_ProcessProposal) Size

func (m *Request_ProcessProposal) Size() (n int)

type Request_Query

type Request_Query struct {
	Query *v1beta1.RequestQuery `protobuf:"bytes,6,opt,name=query,proto3,oneof" json:"query,omitempty"`
}

func (*Request_Query) MarshalTo

func (m *Request_Query) MarshalTo(dAtA []byte) (int, error)

func (*Request_Query) MarshalToSizedBuffer

func (m *Request_Query) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Request_Query) Size

func (m *Request_Query) Size() (n int)

type Request_VerifyVoteExtension

type Request_VerifyVoteExtension struct {
	VerifyVoteExtension *RequestVerifyVoteExtension `` /* 127-byte string literal not displayed */
}

func (*Request_VerifyVoteExtension) MarshalTo

func (m *Request_VerifyVoteExtension) MarshalTo(dAtA []byte) (int, error)

func (*Request_VerifyVoteExtension) MarshalToSizedBuffer

func (m *Request_VerifyVoteExtension) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Request_VerifyVoteExtension) Size

func (m *Request_VerifyVoteExtension) Size() (n int)

type Response

type Response struct {
	// Sum of all possible messages.
	//
	// Types that are valid to be assigned to Value:
	//	*Response_Exception
	//	*Response_Echo
	//	*Response_Flush
	//	*Response_Info
	//	*Response_InitChain
	//	*Response_Query
	//	*Response_CheckTx
	//	*Response_Commit
	//	*Response_ListSnapshots
	//	*Response_OfferSnapshot
	//	*Response_LoadSnapshotChunk
	//	*Response_ApplySnapshotChunk
	//	*Response_PrepareProposal
	//	*Response_ProcessProposal
	//	*Response_ExtendVote
	//	*Response_VerifyVoteExtension
	//	*Response_FinalizeBlock
	Value isResponse_Value `protobuf_oneof:"value"`
}

Response represents a response from the ABCI application.

func (*Response) Descriptor

func (*Response) Descriptor() ([]byte, []int)

func (*Response) GetApplySnapshotChunk

func (m *Response) GetApplySnapshotChunk() *v1beta1.ResponseApplySnapshotChunk

func (*Response) GetCheckTx

func (m *Response) GetCheckTx() *ResponseCheckTx

func (*Response) GetCommit

func (m *Response) GetCommit() *ResponseCommit

func (*Response) GetEcho

func (m *Response) GetEcho() *v1beta1.ResponseEcho

func (*Response) GetException

func (m *Response) GetException() *v1beta1.ResponseException

func (*Response) GetExtendVote

func (m *Response) GetExtendVote() *ResponseExtendVote

func (*Response) GetFinalizeBlock

func (m *Response) GetFinalizeBlock() *ResponseFinalizeBlock

func (*Response) GetFlush

func (m *Response) GetFlush() *v1beta1.ResponseFlush

func (*Response) GetInfo

func (m *Response) GetInfo() *v1beta1.ResponseInfo

func (*Response) GetInitChain

func (m *Response) GetInitChain() *ResponseInitChain

func (*Response) GetListSnapshots

func (m *Response) GetListSnapshots() *v1beta1.ResponseListSnapshots

func (*Response) GetLoadSnapshotChunk

func (m *Response) GetLoadSnapshotChunk() *v1beta1.ResponseLoadSnapshotChunk

func (*Response) GetOfferSnapshot

func (m *Response) GetOfferSnapshot() *v1beta1.ResponseOfferSnapshot

func (*Response) GetPrepareProposal

func (m *Response) GetPrepareProposal() *v1beta2.ResponsePrepareProposal

func (*Response) GetProcessProposal

func (m *Response) GetProcessProposal() *v1beta2.ResponseProcessProposal

func (*Response) GetQuery

func (m *Response) GetQuery() *v1beta1.ResponseQuery

func (*Response) GetValue

func (m *Response) GetValue() isResponse_Value

func (*Response) GetVerifyVoteExtension

func (m *Response) GetVerifyVoteExtension() *ResponseVerifyVoteExtension

func (*Response) Marshal

func (m *Response) Marshal() (dAtA []byte, err error)

func (*Response) MarshalTo

func (m *Response) MarshalTo(dAtA []byte) (int, error)

func (*Response) MarshalToSizedBuffer

func (m *Response) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) Reset

func (m *Response) Reset()

func (*Response) Size

func (m *Response) Size() (n int)

func (*Response) String

func (m *Response) String() string

func (*Response) Unmarshal

func (m *Response) Unmarshal(dAtA []byte) error

func (*Response) XXX_DiscardUnknown

func (m *Response) XXX_DiscardUnknown()

func (*Response) XXX_Marshal

func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Response) XXX_Merge

func (m *Response) XXX_Merge(src proto.Message)

func (*Response) XXX_OneofWrappers

func (*Response) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Response) XXX_Size

func (m *Response) XXX_Size() int

func (*Response) XXX_Unmarshal

func (m *Response) XXX_Unmarshal(b []byte) error

type ResponseCheckTx

type ResponseCheckTx struct {
	Code      uint32          `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Data      []byte          `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	Log       string          `protobuf:"bytes,3,opt,name=log,proto3" json:"log,omitempty"`
	Info      string          `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty"`
	GasWanted int64           `protobuf:"varint,5,opt,name=gas_wanted,proto3" json:"gas_wanted,omitempty"`
	GasUsed   int64           `protobuf:"varint,6,opt,name=gas_used,proto3" json:"gas_used,omitempty"`
	Events    []v1beta2.Event `protobuf:"bytes,7,rep,name=events,proto3" json:"events,omitempty"`
	Codespace string          `protobuf:"bytes,8,opt,name=codespace,proto3" json:"codespace,omitempty"`
}

ResponseCheckTx shows if the transaction was deemed valid by the ABCI application.

func (*ResponseCheckTx) Descriptor

func (*ResponseCheckTx) Descriptor() ([]byte, []int)

func (*ResponseCheckTx) GetCode

func (m *ResponseCheckTx) GetCode() uint32

func (*ResponseCheckTx) GetCodespace

func (m *ResponseCheckTx) GetCodespace() string

func (*ResponseCheckTx) GetData

func (m *ResponseCheckTx) GetData() []byte

func (*ResponseCheckTx) GetEvents

func (m *ResponseCheckTx) GetEvents() []v1beta2.Event

func (*ResponseCheckTx) GetGasUsed

func (m *ResponseCheckTx) GetGasUsed() int64

func (*ResponseCheckTx) GetGasWanted

func (m *ResponseCheckTx) GetGasWanted() int64

func (*ResponseCheckTx) GetInfo

func (m *ResponseCheckTx) GetInfo() string

func (*ResponseCheckTx) GetLog

func (m *ResponseCheckTx) GetLog() string

func (ResponseCheckTx) IsErr

func (r ResponseCheckTx) IsErr() bool

IsErr returns true if Code is something other than OK.

func (ResponseCheckTx) IsOK

func (r ResponseCheckTx) IsOK() bool

IsOK returns true if Code is OK.

func (*ResponseCheckTx) Marshal

func (m *ResponseCheckTx) Marshal() (dAtA []byte, err error)

func (*ResponseCheckTx) MarshalJSON

func (r *ResponseCheckTx) MarshalJSON() ([]byte, error)

func (*ResponseCheckTx) MarshalTo

func (m *ResponseCheckTx) MarshalTo(dAtA []byte) (int, error)

func (*ResponseCheckTx) MarshalToSizedBuffer

func (m *ResponseCheckTx) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ResponseCheckTx) ProtoMessage

func (*ResponseCheckTx) ProtoMessage()

func (*ResponseCheckTx) Reset

func (m *ResponseCheckTx) Reset()

func (*ResponseCheckTx) Size

func (m *ResponseCheckTx) Size() (n int)

func (*ResponseCheckTx) String

func (m *ResponseCheckTx) String() string

func (*ResponseCheckTx) Unmarshal

func (m *ResponseCheckTx) Unmarshal(dAtA []byte) error

func (*ResponseCheckTx) UnmarshalJSON

func (r *ResponseCheckTx) UnmarshalJSON(b []byte) error

func (*ResponseCheckTx) XXX_DiscardUnknown

func (m *ResponseCheckTx) XXX_DiscardUnknown()

func (*ResponseCheckTx) XXX_Marshal

func (m *ResponseCheckTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResponseCheckTx) XXX_Merge

func (m *ResponseCheckTx) XXX_Merge(src proto.Message)

func (*ResponseCheckTx) XXX_Size

func (m *ResponseCheckTx) XXX_Size() int

func (*ResponseCheckTx) XXX_Unmarshal

func (m *ResponseCheckTx) XXX_Unmarshal(b []byte) error

type ResponseCommit

type ResponseCommit struct {
	RetainHeight int64 `protobuf:"varint,3,opt,name=retain_height,json=retainHeight,proto3" json:"retain_height,omitempty"`
}

ResponseCommit indicates how much blocks should CometBFT retain.

func (*ResponseCommit) Descriptor

func (*ResponseCommit) Descriptor() ([]byte, []int)

func (*ResponseCommit) GetRetainHeight

func (m *ResponseCommit) GetRetainHeight() int64

func (*ResponseCommit) Marshal

func (m *ResponseCommit) Marshal() (dAtA []byte, err error)

func (*ResponseCommit) MarshalJSON

func (r *ResponseCommit) MarshalJSON() ([]byte, error)

func (*ResponseCommit) MarshalTo

func (m *ResponseCommit) MarshalTo(dAtA []byte) (int, error)

func (*ResponseCommit) MarshalToSizedBuffer

func (m *ResponseCommit) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ResponseCommit) ProtoMessage

func (*ResponseCommit) ProtoMessage()

func (*ResponseCommit) Reset

func (m *ResponseCommit) Reset()

func (*ResponseCommit) Size

func (m *ResponseCommit) Size() (n int)

func (*ResponseCommit) String

func (m *ResponseCommit) String() string

func (*ResponseCommit) Unmarshal

func (m *ResponseCommit) Unmarshal(dAtA []byte) error

func (*ResponseCommit) UnmarshalJSON

func (r *ResponseCommit) UnmarshalJSON(b []byte) error

func (*ResponseCommit) XXX_DiscardUnknown

func (m *ResponseCommit) XXX_DiscardUnknown()

func (*ResponseCommit) XXX_Marshal

func (m *ResponseCommit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResponseCommit) XXX_Merge

func (m *ResponseCommit) XXX_Merge(src proto.Message)

func (*ResponseCommit) XXX_Size

func (m *ResponseCommit) XXX_Size() int

func (*ResponseCommit) XXX_Unmarshal

func (m *ResponseCommit) XXX_Unmarshal(b []byte) error

type ResponseExtendVote

type ResponseExtendVote struct {
	VoteExtension []byte `protobuf:"bytes,1,opt,name=vote_extension,json=voteExtension,proto3" json:"vote_extension,omitempty"`
}

ResponseExtendVote is the result of extending a vote with application-injected data.

func (*ResponseExtendVote) Descriptor

func (*ResponseExtendVote) Descriptor() ([]byte, []int)

func (*ResponseExtendVote) GetVoteExtension

func (m *ResponseExtendVote) GetVoteExtension() []byte

func (*ResponseExtendVote) Marshal

func (m *ResponseExtendVote) Marshal() (dAtA []byte, err error)

func (*ResponseExtendVote) MarshalTo

func (m *ResponseExtendVote) MarshalTo(dAtA []byte) (int, error)

func (*ResponseExtendVote) MarshalToSizedBuffer

func (m *ResponseExtendVote) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ResponseExtendVote) ProtoMessage

func (*ResponseExtendVote) ProtoMessage()

func (*ResponseExtendVote) Reset

func (m *ResponseExtendVote) Reset()

func (*ResponseExtendVote) Size

func (m *ResponseExtendVote) Size() (n int)

func (*ResponseExtendVote) String

func (m *ResponseExtendVote) String() string

func (*ResponseExtendVote) Unmarshal

func (m *ResponseExtendVote) Unmarshal(dAtA []byte) error

func (*ResponseExtendVote) XXX_DiscardUnknown

func (m *ResponseExtendVote) XXX_DiscardUnknown()

func (*ResponseExtendVote) XXX_Marshal

func (m *ResponseExtendVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResponseExtendVote) XXX_Merge

func (m *ResponseExtendVote) XXX_Merge(src proto.Message)

func (*ResponseExtendVote) XXX_Size

func (m *ResponseExtendVote) XXX_Size() int

func (*ResponseExtendVote) XXX_Unmarshal

func (m *ResponseExtendVote) XXX_Unmarshal(b []byte) error

type ResponseFinalizeBlock

type ResponseFinalizeBlock struct {
	// set of block events emitted as part of executing the block
	Events []v1beta2.Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	// the result of executing each transaction including the events
	// the particular transaction 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 []v1beta1.ValidatorUpdate `protobuf:"bytes,3,rep,name=validator_updates,json=validatorUpdates,proto3" json:"validator_updates"`
	// updates to the consensus params, if any.
	ConsensusParamUpdates *v1.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"`
}

FinalizeBlockResponse contains the result of executing the block.

func (*ResponseFinalizeBlock) Descriptor

func (*ResponseFinalizeBlock) Descriptor() ([]byte, []int)

func (*ResponseFinalizeBlock) GetAppHash

func (m *ResponseFinalizeBlock) GetAppHash() []byte

func (*ResponseFinalizeBlock) GetConsensusParamUpdates

func (m *ResponseFinalizeBlock) GetConsensusParamUpdates() *v1.ConsensusParams

func (*ResponseFinalizeBlock) GetEvents

func (m *ResponseFinalizeBlock) GetEvents() []v1beta2.Event

func (*ResponseFinalizeBlock) GetTxResults

func (m *ResponseFinalizeBlock) GetTxResults() []*ExecTxResult

func (*ResponseFinalizeBlock) GetValidatorUpdates

func (m *ResponseFinalizeBlock) GetValidatorUpdates() []v1beta1.ValidatorUpdate

func (*ResponseFinalizeBlock) Marshal

func (m *ResponseFinalizeBlock) Marshal() (dAtA []byte, err error)

func (*ResponseFinalizeBlock) MarshalTo

func (m *ResponseFinalizeBlock) MarshalTo(dAtA []byte) (int, error)

func (*ResponseFinalizeBlock) MarshalToSizedBuffer

func (m *ResponseFinalizeBlock) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ResponseFinalizeBlock) ProtoMessage

func (*ResponseFinalizeBlock) ProtoMessage()

func (*ResponseFinalizeBlock) Reset

func (m *ResponseFinalizeBlock) Reset()

func (*ResponseFinalizeBlock) Size

func (m *ResponseFinalizeBlock) Size() (n int)

func (*ResponseFinalizeBlock) String

func (m *ResponseFinalizeBlock) String() string

func (*ResponseFinalizeBlock) Unmarshal

func (m *ResponseFinalizeBlock) Unmarshal(dAtA []byte) error

func (*ResponseFinalizeBlock) XXX_DiscardUnknown

func (m *ResponseFinalizeBlock) XXX_DiscardUnknown()

func (*ResponseFinalizeBlock) XXX_Marshal

func (m *ResponseFinalizeBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResponseFinalizeBlock) XXX_Merge

func (m *ResponseFinalizeBlock) XXX_Merge(src proto.Message)

func (*ResponseFinalizeBlock) XXX_Size

func (m *ResponseFinalizeBlock) XXX_Size() int

func (*ResponseFinalizeBlock) XXX_Unmarshal

func (m *ResponseFinalizeBlock) XXX_Unmarshal(b []byte) error

type ResponseInitChain

type ResponseInitChain struct {
	ConsensusParams *v1.ConsensusParams       `protobuf:"bytes,1,opt,name=consensus_params,json=consensusParams,proto3" json:"consensus_params,omitempty"`
	Validators      []v1beta1.ValidatorUpdate `protobuf:"bytes,2,rep,name=validators,proto3" json:"validators"`
	AppHash         []byte                    `protobuf:"bytes,3,opt,name=app_hash,json=appHash,proto3" json:"app_hash,omitempty"`
}

ResponseInitChain contains the ABCI application's hash and updates to the validator set and/or the consensus params, if any.

func (*ResponseInitChain) Descriptor

func (*ResponseInitChain) Descriptor() ([]byte, []int)

func (*ResponseInitChain) GetAppHash

func (m *ResponseInitChain) GetAppHash() []byte

func (*ResponseInitChain) GetConsensusParams

func (m *ResponseInitChain) GetConsensusParams() *v1.ConsensusParams

func (*ResponseInitChain) GetValidators

func (m *ResponseInitChain) GetValidators() []v1beta1.ValidatorUpdate

func (*ResponseInitChain) Marshal

func (m *ResponseInitChain) Marshal() (dAtA []byte, err error)

func (*ResponseInitChain) MarshalTo

func (m *ResponseInitChain) MarshalTo(dAtA []byte) (int, error)

func (*ResponseInitChain) MarshalToSizedBuffer

func (m *ResponseInitChain) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ResponseInitChain) ProtoMessage

func (*ResponseInitChain) ProtoMessage()

func (*ResponseInitChain) Reset

func (m *ResponseInitChain) Reset()

func (*ResponseInitChain) Size

func (m *ResponseInitChain) Size() (n int)

func (*ResponseInitChain) String

func (m *ResponseInitChain) String() string

func (*ResponseInitChain) Unmarshal

func (m *ResponseInitChain) Unmarshal(dAtA []byte) error

func (*ResponseInitChain) XXX_DiscardUnknown

func (m *ResponseInitChain) XXX_DiscardUnknown()

func (*ResponseInitChain) XXX_Marshal

func (m *ResponseInitChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResponseInitChain) XXX_Merge

func (m *ResponseInitChain) XXX_Merge(src proto.Message)

func (*ResponseInitChain) XXX_Size

func (m *ResponseInitChain) XXX_Size() int

func (*ResponseInitChain) XXX_Unmarshal

func (m *ResponseInitChain) XXX_Unmarshal(b []byte) error

type ResponseVerifyVoteExtension

type ResponseVerifyVoteExtension struct {
	Status ResponseVerifyVoteExtension_VerifyStatus `` /* 134-byte string literal not displayed */
}

ResponseVerifyVoteExtension is the result of verifying a vote extension.

func (*ResponseVerifyVoteExtension) Descriptor

func (*ResponseVerifyVoteExtension) Descriptor() ([]byte, []int)

func (*ResponseVerifyVoteExtension) GetStatus

func (ResponseVerifyVoteExtension) IsAccepted

func (r ResponseVerifyVoteExtension) IsAccepted() bool

func (ResponseVerifyVoteExtension) IsStatusUnknown

func (r ResponseVerifyVoteExtension) IsStatusUnknown() bool

IsStatusUnknown returns true if Code is Unknown

func (*ResponseVerifyVoteExtension) Marshal

func (m *ResponseVerifyVoteExtension) Marshal() (dAtA []byte, err error)

func (*ResponseVerifyVoteExtension) MarshalTo

func (m *ResponseVerifyVoteExtension) MarshalTo(dAtA []byte) (int, error)

func (*ResponseVerifyVoteExtension) MarshalToSizedBuffer

func (m *ResponseVerifyVoteExtension) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ResponseVerifyVoteExtension) ProtoMessage

func (*ResponseVerifyVoteExtension) ProtoMessage()

func (*ResponseVerifyVoteExtension) Reset

func (m *ResponseVerifyVoteExtension) Reset()

func (*ResponseVerifyVoteExtension) Size

func (m *ResponseVerifyVoteExtension) Size() (n int)

func (*ResponseVerifyVoteExtension) String

func (m *ResponseVerifyVoteExtension) String() string

func (*ResponseVerifyVoteExtension) Unmarshal

func (m *ResponseVerifyVoteExtension) Unmarshal(dAtA []byte) error

func (*ResponseVerifyVoteExtension) XXX_DiscardUnknown

func (m *ResponseVerifyVoteExtension) XXX_DiscardUnknown()

func (*ResponseVerifyVoteExtension) XXX_Marshal

func (m *ResponseVerifyVoteExtension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResponseVerifyVoteExtension) XXX_Merge

func (m *ResponseVerifyVoteExtension) XXX_Merge(src proto.Message)

func (*ResponseVerifyVoteExtension) XXX_Size

func (m *ResponseVerifyVoteExtension) XXX_Size() int

func (*ResponseVerifyVoteExtension) XXX_Unmarshal

func (m *ResponseVerifyVoteExtension) XXX_Unmarshal(b []byte) error

type ResponseVerifyVoteExtension_VerifyStatus

type ResponseVerifyVoteExtension_VerifyStatus int32

Verification status.

const (
	// Unknown
	ResponseVerifyVoteExtension_UNKNOWN ResponseVerifyVoteExtension_VerifyStatus = 0
	// Accepted
	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) EnumDescriptor

func (ResponseVerifyVoteExtension_VerifyStatus) EnumDescriptor() ([]byte, []int)

func (ResponseVerifyVoteExtension_VerifyStatus) String

type Response_ApplySnapshotChunk

type Response_ApplySnapshotChunk struct {
	ApplySnapshotChunk *v1beta1.ResponseApplySnapshotChunk `protobuf:"bytes,16,opt,name=apply_snapshot_chunk,json=applySnapshotChunk,proto3,oneof" json:"apply_snapshot_chunk,omitempty"`
}

func (*Response_ApplySnapshotChunk) MarshalTo

func (m *Response_ApplySnapshotChunk) MarshalTo(dAtA []byte) (int, error)

func (*Response_ApplySnapshotChunk) MarshalToSizedBuffer

func (m *Response_ApplySnapshotChunk) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Response_ApplySnapshotChunk) Size

func (m *Response_ApplySnapshotChunk) Size() (n int)

type Response_CheckTx

type Response_CheckTx struct {
	CheckTx *ResponseCheckTx `protobuf:"bytes,9,opt,name=check_tx,json=checkTx,proto3,oneof" json:"check_tx,omitempty"`
}

func (*Response_CheckTx) MarshalTo

func (m *Response_CheckTx) MarshalTo(dAtA []byte) (int, error)

func (*Response_CheckTx) MarshalToSizedBuffer

func (m *Response_CheckTx) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Response_CheckTx) Size

func (m *Response_CheckTx) Size() (n int)

type Response_Commit

type Response_Commit struct {
	Commit *ResponseCommit `protobuf:"bytes,12,opt,name=commit,proto3,oneof" json:"commit,omitempty"`
}

func (*Response_Commit) MarshalTo

func (m *Response_Commit) MarshalTo(dAtA []byte) (int, error)

func (*Response_Commit) MarshalToSizedBuffer

func (m *Response_Commit) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Response_Commit) Size

func (m *Response_Commit) Size() (n int)

type Response_Echo

type Response_Echo struct {
	Echo *v1beta1.ResponseEcho `protobuf:"bytes,2,opt,name=echo,proto3,oneof" json:"echo,omitempty"`
}

func (*Response_Echo) MarshalTo

func (m *Response_Echo) MarshalTo(dAtA []byte) (int, error)

func (*Response_Echo) MarshalToSizedBuffer

func (m *Response_Echo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Response_Echo) Size

func (m *Response_Echo) Size() (n int)

type Response_Exception

type Response_Exception struct {
	Exception *v1beta1.ResponseException `protobuf:"bytes,1,opt,name=exception,proto3,oneof" json:"exception,omitempty"`
}

func (*Response_Exception) MarshalTo

func (m *Response_Exception) MarshalTo(dAtA []byte) (int, error)

func (*Response_Exception) MarshalToSizedBuffer

func (m *Response_Exception) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Response_Exception) Size

func (m *Response_Exception) Size() (n int)

type Response_ExtendVote

type Response_ExtendVote struct {
	ExtendVote *ResponseExtendVote `protobuf:"bytes,19,opt,name=extend_vote,json=extendVote,proto3,oneof" json:"extend_vote,omitempty"`
}

func (*Response_ExtendVote) MarshalTo

func (m *Response_ExtendVote) MarshalTo(dAtA []byte) (int, error)

func (*Response_ExtendVote) MarshalToSizedBuffer

func (m *Response_ExtendVote) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Response_ExtendVote) Size

func (m *Response_ExtendVote) Size() (n int)

type Response_FinalizeBlock

type Response_FinalizeBlock struct {
	FinalizeBlock *ResponseFinalizeBlock `protobuf:"bytes,21,opt,name=finalize_block,json=finalizeBlock,proto3,oneof" json:"finalize_block,omitempty"`
}

func (*Response_FinalizeBlock) MarshalTo

func (m *Response_FinalizeBlock) MarshalTo(dAtA []byte) (int, error)

func (*Response_FinalizeBlock) MarshalToSizedBuffer

func (m *Response_FinalizeBlock) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Response_FinalizeBlock) Size

func (m *Response_FinalizeBlock) Size() (n int)

type Response_Flush

type Response_Flush struct {
	Flush *v1beta1.ResponseFlush `protobuf:"bytes,3,opt,name=flush,proto3,oneof" json:"flush,omitempty"`
}

func (*Response_Flush) MarshalTo

func (m *Response_Flush) MarshalTo(dAtA []byte) (int, error)

func (*Response_Flush) MarshalToSizedBuffer

func (m *Response_Flush) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Response_Flush) Size

func (m *Response_Flush) Size() (n int)

type Response_Info

type Response_Info struct {
	Info *v1beta1.ResponseInfo `protobuf:"bytes,4,opt,name=info,proto3,oneof" json:"info,omitempty"`
}

func (*Response_Info) MarshalTo

func (m *Response_Info) MarshalTo(dAtA []byte) (int, error)

func (*Response_Info) MarshalToSizedBuffer

func (m *Response_Info) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Response_Info) Size

func (m *Response_Info) Size() (n int)

type Response_InitChain

type Response_InitChain struct {
	InitChain *ResponseInitChain `protobuf:"bytes,6,opt,name=init_chain,json=initChain,proto3,oneof" json:"init_chain,omitempty"`
}

func (*Response_InitChain) MarshalTo

func (m *Response_InitChain) MarshalTo(dAtA []byte) (int, error)

func (*Response_InitChain) MarshalToSizedBuffer

func (m *Response_InitChain) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Response_InitChain) Size

func (m *Response_InitChain) Size() (n int)

type Response_ListSnapshots

type Response_ListSnapshots struct {
	ListSnapshots *v1beta1.ResponseListSnapshots `protobuf:"bytes,13,opt,name=list_snapshots,json=listSnapshots,proto3,oneof" json:"list_snapshots,omitempty"`
}

func (*Response_ListSnapshots) MarshalTo

func (m *Response_ListSnapshots) MarshalTo(dAtA []byte) (int, error)

func (*Response_ListSnapshots) MarshalToSizedBuffer

func (m *Response_ListSnapshots) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Response_ListSnapshots) Size

func (m *Response_ListSnapshots) Size() (n int)

type Response_LoadSnapshotChunk

type Response_LoadSnapshotChunk struct {
	LoadSnapshotChunk *v1beta1.ResponseLoadSnapshotChunk `protobuf:"bytes,15,opt,name=load_snapshot_chunk,json=loadSnapshotChunk,proto3,oneof" json:"load_snapshot_chunk,omitempty"`
}

func (*Response_LoadSnapshotChunk) MarshalTo

func (m *Response_LoadSnapshotChunk) MarshalTo(dAtA []byte) (int, error)

func (*Response_LoadSnapshotChunk) MarshalToSizedBuffer

func (m *Response_LoadSnapshotChunk) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Response_LoadSnapshotChunk) Size

func (m *Response_LoadSnapshotChunk) Size() (n int)

type Response_OfferSnapshot

type Response_OfferSnapshot struct {
	OfferSnapshot *v1beta1.ResponseOfferSnapshot `protobuf:"bytes,14,opt,name=offer_snapshot,json=offerSnapshot,proto3,oneof" json:"offer_snapshot,omitempty"`
}

func (*Response_OfferSnapshot) MarshalTo

func (m *Response_OfferSnapshot) MarshalTo(dAtA []byte) (int, error)

func (*Response_OfferSnapshot) MarshalToSizedBuffer

func (m *Response_OfferSnapshot) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Response_OfferSnapshot) Size

func (m *Response_OfferSnapshot) Size() (n int)

type Response_PrepareProposal

type Response_PrepareProposal struct {
	PrepareProposal *v1beta2.ResponsePrepareProposal `protobuf:"bytes,17,opt,name=prepare_proposal,json=prepareProposal,proto3,oneof" json:"prepare_proposal,omitempty"`
}

func (*Response_PrepareProposal) MarshalTo

func (m *Response_PrepareProposal) MarshalTo(dAtA []byte) (int, error)

func (*Response_PrepareProposal) MarshalToSizedBuffer

func (m *Response_PrepareProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Response_PrepareProposal) Size

func (m *Response_PrepareProposal) Size() (n int)

type Response_ProcessProposal

type Response_ProcessProposal struct {
	ProcessProposal *v1beta2.ResponseProcessProposal `protobuf:"bytes,18,opt,name=process_proposal,json=processProposal,proto3,oneof" json:"process_proposal,omitempty"`
}

func (*Response_ProcessProposal) MarshalTo

func (m *Response_ProcessProposal) MarshalTo(dAtA []byte) (int, error)

func (*Response_ProcessProposal) MarshalToSizedBuffer

func (m *Response_ProcessProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Response_ProcessProposal) Size

func (m *Response_ProcessProposal) Size() (n int)

type Response_Query

type Response_Query struct {
	Query *v1beta1.ResponseQuery `protobuf:"bytes,7,opt,name=query,proto3,oneof" json:"query,omitempty"`
}

func (*Response_Query) MarshalTo

func (m *Response_Query) MarshalTo(dAtA []byte) (int, error)

func (*Response_Query) MarshalToSizedBuffer

func (m *Response_Query) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Response_Query) Size

func (m *Response_Query) Size() (n int)

type Response_VerifyVoteExtension

type Response_VerifyVoteExtension struct {
	VerifyVoteExtension *ResponseVerifyVoteExtension `` /* 127-byte string literal not displayed */
}

func (*Response_VerifyVoteExtension) MarshalTo

func (m *Response_VerifyVoteExtension) MarshalTo(dAtA []byte) (int, error)

func (*Response_VerifyVoteExtension) MarshalToSizedBuffer

func (m *Response_VerifyVoteExtension) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Response_VerifyVoteExtension) Size

func (m *Response_VerifyVoteExtension) Size() (n int)

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"`
}

TxResult contains results of executing the transaction.

One usage is indexing transaction results.

func (*TxResult) Descriptor

func (*TxResult) Descriptor() ([]byte, []int)

func (*TxResult) GetHeight

func (m *TxResult) GetHeight() int64

func (*TxResult) GetIndex

func (m *TxResult) GetIndex() uint32

func (*TxResult) GetResult

func (m *TxResult) GetResult() ExecTxResult

func (*TxResult) GetTx

func (m *TxResult) GetTx() []byte

func (*TxResult) Marshal

func (m *TxResult) Marshal() (dAtA []byte, err error)

func (*TxResult) MarshalTo

func (m *TxResult) MarshalTo(dAtA []byte) (int, error)

func (*TxResult) MarshalToSizedBuffer

func (m *TxResult) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TxResult) ProtoMessage

func (*TxResult) ProtoMessage()

func (*TxResult) Reset

func (m *TxResult) Reset()

func (*TxResult) Size

func (m *TxResult) Size() (n int)

func (*TxResult) String

func (m *TxResult) String() string

func (*TxResult) Unmarshal

func (m *TxResult) Unmarshal(dAtA []byte) error

func (*TxResult) XXX_DiscardUnknown

func (m *TxResult) XXX_DiscardUnknown()

func (*TxResult) XXX_Marshal

func (m *TxResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TxResult) XXX_Merge

func (m *TxResult) XXX_Merge(src proto.Message)

func (*TxResult) XXX_Size

func (m *TxResult) XXX_Size() int

func (*TxResult) XXX_Unmarshal

func (m *TxResult) XXX_Unmarshal(b []byte) error

type UnimplementedABCIServer

type UnimplementedABCIServer struct {
}

UnimplementedABCIServer can be embedded to have forward compatible implementations.

func (*UnimplementedABCIServer) ApplySnapshotChunk

func (*UnimplementedABCIServer) CheckTx

func (*UnimplementedABCIServer) Commit

func (*UnimplementedABCIServer) Echo

func (*UnimplementedABCIServer) ExtendVote

func (*UnimplementedABCIServer) FinalizeBlock

func (*UnimplementedABCIServer) Flush

func (*UnimplementedABCIServer) Info

func (*UnimplementedABCIServer) InitChain

func (*UnimplementedABCIServer) ListSnapshots

func (*UnimplementedABCIServer) LoadSnapshotChunk

func (*UnimplementedABCIServer) OfferSnapshot

func (*UnimplementedABCIServer) PrepareProposal

func (*UnimplementedABCIServer) ProcessProposal

func (*UnimplementedABCIServer) Query

func (*UnimplementedABCIServer) VerifyVoteExtension

type VoteInfo

type VoteInfo struct {
	Validator   v1beta1.Validator    `protobuf:"bytes,1,opt,name=validator,proto3" json:"validator"`
	BlockIdFlag v1beta11.BlockIDFlag `` /* 137-byte string literal not displayed */
}

VoteInfo contains the information about the vote.

func (*VoteInfo) Descriptor

func (*VoteInfo) Descriptor() ([]byte, []int)

func (*VoteInfo) GetBlockIdFlag

func (m *VoteInfo) GetBlockIdFlag() v1beta11.BlockIDFlag

func (*VoteInfo) GetValidator

func (m *VoteInfo) GetValidator() v1beta1.Validator

func (*VoteInfo) Marshal

func (m *VoteInfo) Marshal() (dAtA []byte, err error)

func (*VoteInfo) MarshalTo

func (m *VoteInfo) MarshalTo(dAtA []byte) (int, error)

func (*VoteInfo) MarshalToSizedBuffer

func (m *VoteInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VoteInfo) ProtoMessage

func (*VoteInfo) ProtoMessage()

func (*VoteInfo) Reset

func (m *VoteInfo) Reset()

func (*VoteInfo) Size

func (m *VoteInfo) Size() (n int)

func (*VoteInfo) String

func (m *VoteInfo) String() string

func (*VoteInfo) Unmarshal

func (m *VoteInfo) Unmarshal(dAtA []byte) error

func (*VoteInfo) XXX_DiscardUnknown

func (m *VoteInfo) XXX_DiscardUnknown()

func (*VoteInfo) XXX_Marshal

func (m *VoteInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VoteInfo) XXX_Merge

func (m *VoteInfo) XXX_Merge(src proto.Message)

func (*VoteInfo) XXX_Size

func (m *VoteInfo) XXX_Size() int

func (*VoteInfo) XXX_Unmarshal

func (m *VoteInfo) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL