v1

package
v1.0.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 17 Imported by: 25

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 ABCIService_serviceDesc = _ABCIService_serviceDesc
View Source
var ApplySnapshotChunkResult_name = map[int32]string{
	0: "APPLY_SNAPSHOT_CHUNK_RESULT_UNKNOWN",
	1: "APPLY_SNAPSHOT_CHUNK_RESULT_ACCEPT",
	2: "APPLY_SNAPSHOT_CHUNK_RESULT_ABORT",
	3: "APPLY_SNAPSHOT_CHUNK_RESULT_RETRY",
	4: "APPLY_SNAPSHOT_CHUNK_RESULT_RETRY_SNAPSHOT",
	5: "APPLY_SNAPSHOT_CHUNK_RESULT_REJECT_SNAPSHOT",
}
View Source
var ApplySnapshotChunkResult_value = map[string]int32{
	"APPLY_SNAPSHOT_CHUNK_RESULT_UNKNOWN":         0,
	"APPLY_SNAPSHOT_CHUNK_RESULT_ACCEPT":          1,
	"APPLY_SNAPSHOT_CHUNK_RESULT_ABORT":           2,
	"APPLY_SNAPSHOT_CHUNK_RESULT_RETRY":           3,
	"APPLY_SNAPSHOT_CHUNK_RESULT_RETRY_SNAPSHOT":  4,
	"APPLY_SNAPSHOT_CHUNK_RESULT_REJECT_SNAPSHOT": 5,
}
View Source
var CheckTxType_name = map[int32]string{
	0: "CHECK_TX_TYPE_UNKNOWN",
	1: "CHECK_TX_TYPE_RECHECK",
	2: "CHECK_TX_TYPE_CHECK",
}
View Source
var CheckTxType_value = map[string]int32{
	"CHECK_TX_TYPE_UNKNOWN": 0,
	"CHECK_TX_TYPE_RECHECK": 1,
	"CHECK_TX_TYPE_CHECK":   2,
}
View Source
var MisbehaviorType_name = map[int32]string{
	0: "MISBEHAVIOR_TYPE_UNKNOWN",
	1: "MISBEHAVIOR_TYPE_DUPLICATE_VOTE",
	2: "MISBEHAVIOR_TYPE_LIGHT_CLIENT_ATTACK",
}
View Source
var MisbehaviorType_value = map[string]int32{
	"MISBEHAVIOR_TYPE_UNKNOWN":             0,
	"MISBEHAVIOR_TYPE_DUPLICATE_VOTE":      1,
	"MISBEHAVIOR_TYPE_LIGHT_CLIENT_ATTACK": 2,
}
View Source
var OfferSnapshotResult_name = map[int32]string{
	0: "OFFER_SNAPSHOT_RESULT_UNKNOWN",
	1: "OFFER_SNAPSHOT_RESULT_ACCEPT",
	2: "OFFER_SNAPSHOT_RESULT_ABORT",
	3: "OFFER_SNAPSHOT_RESULT_REJECT",
	4: "OFFER_SNAPSHOT_RESULT_REJECT_FORMAT",
	5: "OFFER_SNAPSHOT_RESULT_REJECT_SENDER",
}
View Source
var OfferSnapshotResult_value = map[string]int32{
	"OFFER_SNAPSHOT_RESULT_UNKNOWN":       0,
	"OFFER_SNAPSHOT_RESULT_ACCEPT":        1,
	"OFFER_SNAPSHOT_RESULT_ABORT":         2,
	"OFFER_SNAPSHOT_RESULT_REJECT":        3,
	"OFFER_SNAPSHOT_RESULT_REJECT_FORMAT": 4,
	"OFFER_SNAPSHOT_RESULT_REJECT_SENDER": 5,
}
View Source
var ProcessProposalStatus_name = map[int32]string{
	0: "PROCESS_PROPOSAL_STATUS_UNKNOWN",
	1: "PROCESS_PROPOSAL_STATUS_ACCEPT",
	2: "PROCESS_PROPOSAL_STATUS_REJECT",
}
View Source
var ProcessProposalStatus_value = map[string]int32{
	"PROCESS_PROPOSAL_STATUS_UNKNOWN": 0,
	"PROCESS_PROPOSAL_STATUS_ACCEPT":  1,
	"PROCESS_PROPOSAL_STATUS_REJECT":  2,
}
View Source
var VerifyVoteExtensionStatus_name = map[int32]string{
	0: "VERIFY_VOTE_EXTENSION_STATUS_UNKNOWN",
	1: "VERIFY_VOTE_EXTENSION_STATUS_ACCEPT",
	2: "VERIFY_VOTE_EXTENSION_STATUS_REJECT",
}
View Source
var VerifyVoteExtensionStatus_value = map[string]int32{
	"VERIFY_VOTE_EXTENSION_STATUS_UNKNOWN": 0,
	"VERIFY_VOTE_EXTENSION_STATUS_ACCEPT":  1,
	"VERIFY_VOTE_EXTENSION_STATUS_REJECT":  2,
}

Functions

func RegisterABCIServiceServer

func RegisterABCIServiceServer(s grpc1.Server, srv ABCIServiceServer)

Types

type ABCIServiceClient

type ABCIServiceClient interface {
	// Echo returns back the same message it is sent.
	Echo(ctx context.Context, in *EchoRequest, opts ...grpc.CallOption) (*EchoResponse, error)
	// Flush flushes the write buffer.
	Flush(ctx context.Context, in *FlushRequest, opts ...grpc.CallOption) (*FlushResponse, error)
	// Info returns information about the application state.
	Info(ctx context.Context, in *InfoRequest, opts ...grpc.CallOption) (*InfoResponse, error)
	// CheckTx validates a transaction.
	CheckTx(ctx context.Context, in *CheckTxRequest, opts ...grpc.CallOption) (*CheckTxResponse, error)
	// Query queries the application state.
	Query(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (*QueryResponse, error)
	// Commit commits a block of transactions.
	Commit(ctx context.Context, in *CommitRequest, opts ...grpc.CallOption) (*CommitResponse, error)
	// InitChain initializes the blockchain.
	InitChain(ctx context.Context, in *InitChainRequest, opts ...grpc.CallOption) (*InitChainResponse, error)
	// ListSnapshots lists all the available snapshots.
	ListSnapshots(ctx context.Context, in *ListSnapshotsRequest, opts ...grpc.CallOption) (*ListSnapshotsResponse, error)
	// OfferSnapshot sends a snapshot offer.
	OfferSnapshot(ctx context.Context, in *OfferSnapshotRequest, opts ...grpc.CallOption) (*OfferSnapshotResponse, error)
	// LoadSnapshotChunk returns a chunk of snapshot.
	LoadSnapshotChunk(ctx context.Context, in *LoadSnapshotChunkRequest, opts ...grpc.CallOption) (*LoadSnapshotChunkResponse, error)
	// ApplySnapshotChunk applies a chunk of snapshot.
	ApplySnapshotChunk(ctx context.Context, in *ApplySnapshotChunkRequest, opts ...grpc.CallOption) (*ApplySnapshotChunkResponse, error)
	// PrepareProposal returns a proposal for the next block.
	PrepareProposal(ctx context.Context, in *PrepareProposalRequest, opts ...grpc.CallOption) (*PrepareProposalResponse, error)
	// ProcessProposal validates a proposal.
	ProcessProposal(ctx context.Context, in *ProcessProposalRequest, opts ...grpc.CallOption) (*ProcessProposalResponse, error)
	// ExtendVote extends a vote with application-injected data (vote extensions).
	ExtendVote(ctx context.Context, in *ExtendVoteRequest, opts ...grpc.CallOption) (*ExtendVoteResponse, error)
	// VerifyVoteExtension verifies a vote extension.
	VerifyVoteExtension(ctx context.Context, in *VerifyVoteExtensionRequest, opts ...grpc.CallOption) (*VerifyVoteExtensionResponse, error)
	// FinalizeBlock finalizes a block.
	FinalizeBlock(ctx context.Context, in *FinalizeBlockRequest, opts ...grpc.CallOption) (*FinalizeBlockResponse, error)
}

ABCIServiceClient is the client API for ABCIService service.

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

func NewABCIServiceClient

func NewABCIServiceClient(cc grpc1.ClientConn) ABCIServiceClient

type ABCIServiceServer

type ABCIServiceServer interface {
	// Echo returns back the same message it is sent.
	Echo(context.Context, *EchoRequest) (*EchoResponse, error)
	// Flush flushes the write buffer.
	Flush(context.Context, *FlushRequest) (*FlushResponse, error)
	// Info returns information about the application state.
	Info(context.Context, *InfoRequest) (*InfoResponse, error)
	// CheckTx validates a transaction.
	CheckTx(context.Context, *CheckTxRequest) (*CheckTxResponse, error)
	// Query queries the application state.
	Query(context.Context, *QueryRequest) (*QueryResponse, error)
	// Commit commits a block of transactions.
	Commit(context.Context, *CommitRequest) (*CommitResponse, error)
	// InitChain initializes the blockchain.
	InitChain(context.Context, *InitChainRequest) (*InitChainResponse, error)
	// ListSnapshots lists all the available snapshots.
	ListSnapshots(context.Context, *ListSnapshotsRequest) (*ListSnapshotsResponse, error)
	// OfferSnapshot sends a snapshot offer.
	OfferSnapshot(context.Context, *OfferSnapshotRequest) (*OfferSnapshotResponse, error)
	// LoadSnapshotChunk returns a chunk of snapshot.
	LoadSnapshotChunk(context.Context, *LoadSnapshotChunkRequest) (*LoadSnapshotChunkResponse, error)
	// ApplySnapshotChunk applies a chunk of snapshot.
	ApplySnapshotChunk(context.Context, *ApplySnapshotChunkRequest) (*ApplySnapshotChunkResponse, error)
	// PrepareProposal returns a proposal for the next block.
	PrepareProposal(context.Context, *PrepareProposalRequest) (*PrepareProposalResponse, error)
	// ProcessProposal validates a proposal.
	ProcessProposal(context.Context, *ProcessProposalRequest) (*ProcessProposalResponse, error)
	// ExtendVote extends a vote with application-injected data (vote extensions).
	ExtendVote(context.Context, *ExtendVoteRequest) (*ExtendVoteResponse, error)
	// VerifyVoteExtension verifies a vote extension.
	VerifyVoteExtension(context.Context, *VerifyVoteExtensionRequest) (*VerifyVoteExtensionResponse, error)
	// FinalizeBlock finalizes a block.
	FinalizeBlock(context.Context, *FinalizeBlockRequest) (*FinalizeBlockResponse, error)
}

ABCIServiceServer is the server API for ABCIService service.

type ApplySnapshotChunkRequest

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

Request to apply a snapshot chunk.

func (*ApplySnapshotChunkRequest) Descriptor

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

func (*ApplySnapshotChunkRequest) GetChunk

func (m *ApplySnapshotChunkRequest) GetChunk() []byte

func (*ApplySnapshotChunkRequest) GetIndex

func (m *ApplySnapshotChunkRequest) GetIndex() uint32

func (*ApplySnapshotChunkRequest) GetSender

func (m *ApplySnapshotChunkRequest) GetSender() string

func (*ApplySnapshotChunkRequest) Marshal

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

func (*ApplySnapshotChunkRequest) MarshalTo

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

func (*ApplySnapshotChunkRequest) MarshalToSizedBuffer

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

func (*ApplySnapshotChunkRequest) ProtoMessage

func (*ApplySnapshotChunkRequest) ProtoMessage()

func (*ApplySnapshotChunkRequest) Reset

func (m *ApplySnapshotChunkRequest) Reset()

func (*ApplySnapshotChunkRequest) Size

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

func (*ApplySnapshotChunkRequest) String

func (m *ApplySnapshotChunkRequest) String() string

func (*ApplySnapshotChunkRequest) Unmarshal

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

func (*ApplySnapshotChunkRequest) XXX_DiscardUnknown

func (m *ApplySnapshotChunkRequest) XXX_DiscardUnknown()

func (*ApplySnapshotChunkRequest) XXX_Marshal

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

func (*ApplySnapshotChunkRequest) XXX_Merge

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

func (*ApplySnapshotChunkRequest) XXX_Size

func (m *ApplySnapshotChunkRequest) XXX_Size() int

func (*ApplySnapshotChunkRequest) XXX_Unmarshal

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

type ApplySnapshotChunkResponse

type ApplySnapshotChunkResponse struct {
	Result        ApplySnapshotChunkResult `protobuf:"varint,1,opt,name=result,proto3,enum=cometbft.abci.v1.ApplySnapshotChunkResult" json:"result,omitempty"`
	RefetchChunks []uint32                 `protobuf:"varint,2,rep,packed,name=refetch_chunks,json=refetchChunks,proto3" json:"refetch_chunks,omitempty"`
	RejectSenders []string                 `protobuf:"bytes,3,rep,name=reject_senders,json=rejectSenders,proto3" json:"reject_senders,omitempty"`
}

ApplySnapshotChunkResponse returns a result of applying the specified chunk.

func (*ApplySnapshotChunkResponse) Descriptor

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

func (*ApplySnapshotChunkResponse) GetRefetchChunks

func (m *ApplySnapshotChunkResponse) GetRefetchChunks() []uint32

func (*ApplySnapshotChunkResponse) GetRejectSenders

func (m *ApplySnapshotChunkResponse) GetRejectSenders() []string

func (*ApplySnapshotChunkResponse) GetResult

func (*ApplySnapshotChunkResponse) Marshal

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

func (*ApplySnapshotChunkResponse) MarshalTo

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

func (*ApplySnapshotChunkResponse) MarshalToSizedBuffer

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

func (*ApplySnapshotChunkResponse) ProtoMessage

func (*ApplySnapshotChunkResponse) ProtoMessage()

func (*ApplySnapshotChunkResponse) Reset

func (m *ApplySnapshotChunkResponse) Reset()

func (*ApplySnapshotChunkResponse) Size

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

func (*ApplySnapshotChunkResponse) String

func (m *ApplySnapshotChunkResponse) String() string

func (*ApplySnapshotChunkResponse) Unmarshal

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

func (*ApplySnapshotChunkResponse) XXX_DiscardUnknown

func (m *ApplySnapshotChunkResponse) XXX_DiscardUnknown()

func (*ApplySnapshotChunkResponse) XXX_Marshal

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

func (*ApplySnapshotChunkResponse) XXX_Merge

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

func (*ApplySnapshotChunkResponse) XXX_Size

func (m *ApplySnapshotChunkResponse) XXX_Size() int

func (*ApplySnapshotChunkResponse) XXX_Unmarshal

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

type ApplySnapshotChunkResult

type ApplySnapshotChunkResult int32

The result of applying a snapshot chunk.

const (
	// Unknown result, abort all snapshot restoration
	APPLY_SNAPSHOT_CHUNK_RESULT_UNKNOWN ApplySnapshotChunkResult = 0
	// Chunk successfully accepted
	APPLY_SNAPSHOT_CHUNK_RESULT_ACCEPT ApplySnapshotChunkResult = 1
	// Abort all snapshot restoration
	APPLY_SNAPSHOT_CHUNK_RESULT_ABORT ApplySnapshotChunkResult = 2
	// Retry chunk (combine with refetch and reject)
	APPLY_SNAPSHOT_CHUNK_RESULT_RETRY ApplySnapshotChunkResult = 3
	// Retry snapshot (combine with refetch and reject)
	APPLY_SNAPSHOT_CHUNK_RESULT_RETRY_SNAPSHOT ApplySnapshotChunkResult = 4
	// Reject this snapshot, try others
	APPLY_SNAPSHOT_CHUNK_RESULT_REJECT_SNAPSHOT ApplySnapshotChunkResult = 5
)

func (ApplySnapshotChunkResult) EnumDescriptor

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

func (ApplySnapshotChunkResult) String

func (x ApplySnapshotChunkResult) String() string

type CheckTxRequest

type CheckTxRequest struct {
	Tx   []byte      `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"`
	Type CheckTxType `protobuf:"varint,3,opt,name=type,proto3,enum=cometbft.abci.v1.CheckTxType" json:"type,omitempty"`
}

CheckTxRequest is a request to check that the transaction is valid.

func (*CheckTxRequest) Descriptor

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

func (*CheckTxRequest) GetTx

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

func (*CheckTxRequest) GetType

func (m *CheckTxRequest) GetType() CheckTxType

func (*CheckTxRequest) Marshal

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

func (*CheckTxRequest) MarshalTo

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

func (*CheckTxRequest) MarshalToSizedBuffer

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

func (*CheckTxRequest) ProtoMessage

func (*CheckTxRequest) ProtoMessage()

func (*CheckTxRequest) Reset

func (m *CheckTxRequest) Reset()

func (*CheckTxRequest) Size

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

func (*CheckTxRequest) String

func (m *CheckTxRequest) String() string

func (*CheckTxRequest) Unmarshal

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

func (*CheckTxRequest) XXX_DiscardUnknown

func (m *CheckTxRequest) XXX_DiscardUnknown()

func (*CheckTxRequest) XXX_Marshal

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

func (*CheckTxRequest) XXX_Merge

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

func (*CheckTxRequest) XXX_Size

func (m *CheckTxRequest) XXX_Size() int

func (*CheckTxRequest) XXX_Unmarshal

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

type CheckTxResponse

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

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

func (*CheckTxResponse) Descriptor

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

func (*CheckTxResponse) GetCode

func (m *CheckTxResponse) GetCode() uint32

func (*CheckTxResponse) GetCodespace

func (m *CheckTxResponse) GetCodespace() string

func (*CheckTxResponse) GetData

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

func (*CheckTxResponse) GetEvents

func (m *CheckTxResponse) GetEvents() []Event

func (*CheckTxResponse) GetGasUsed

func (m *CheckTxResponse) GetGasUsed() int64

func (*CheckTxResponse) GetGasWanted

func (m *CheckTxResponse) GetGasWanted() int64

func (*CheckTxResponse) GetInfo

func (m *CheckTxResponse) GetInfo() string

func (*CheckTxResponse) GetLog

func (m *CheckTxResponse) GetLog() string

func (CheckTxResponse) IsErr

func (r CheckTxResponse) IsErr() bool

IsErr returns true if Code is something other than OK.

func (CheckTxResponse) IsOK

func (r CheckTxResponse) IsOK() bool

IsOK returns true if Code is OK.

func (*CheckTxResponse) Marshal

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

func (*CheckTxResponse) MarshalJSON

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

func (*CheckTxResponse) MarshalTo

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

func (*CheckTxResponse) MarshalToSizedBuffer

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

func (*CheckTxResponse) ProtoMessage

func (*CheckTxResponse) ProtoMessage()

func (*CheckTxResponse) Reset

func (m *CheckTxResponse) Reset()

func (*CheckTxResponse) Size

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

func (*CheckTxResponse) String

func (m *CheckTxResponse) String() string

func (*CheckTxResponse) Unmarshal

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

func (*CheckTxResponse) UnmarshalJSON

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

func (*CheckTxResponse) XXX_DiscardUnknown

func (m *CheckTxResponse) XXX_DiscardUnknown()

func (*CheckTxResponse) XXX_Marshal

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

func (*CheckTxResponse) XXX_Merge

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

func (*CheckTxResponse) XXX_Size

func (m *CheckTxResponse) XXX_Size() int

func (*CheckTxResponse) XXX_Unmarshal

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

type CheckTxType

type CheckTxType int32

Type of the transaction check request.

This enumeration is incompatible with the CheckTxType definition in cometbft.abci.v1beta1 and therefore shall not be used in encoding with the same field number.

const (
	// Unknown
	CHECK_TX_TYPE_UNKNOWN CheckTxType = 0
	// Recheck (2nd, 3rd, etc.)
	CHECK_TX_TYPE_RECHECK CheckTxType = 1
	// Check (1st time)
	CHECK_TX_TYPE_CHECK CheckTxType = 2
)

func (CheckTxType) EnumDescriptor

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

func (CheckTxType) String

func (x CheckTxType) String() string

type CommitInfo

type CommitInfo struct {
	Round int32      `protobuf:"varint,1,opt,name=round,proto3" json:"round,omitempty"`
	Votes []VoteInfo `protobuf:"bytes,2,rep,name=votes,proto3" json:"votes"`
}

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 CommitRequest

type CommitRequest struct {
}

CommitRequest is a request to commit the pending application state.

func (*CommitRequest) Descriptor

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

func (*CommitRequest) Marshal

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

func (*CommitRequest) MarshalTo

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

func (*CommitRequest) MarshalToSizedBuffer

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

func (*CommitRequest) ProtoMessage

func (*CommitRequest) ProtoMessage()

func (*CommitRequest) Reset

func (m *CommitRequest) Reset()

func (*CommitRequest) Size

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

func (*CommitRequest) String

func (m *CommitRequest) String() string

func (*CommitRequest) Unmarshal

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

func (*CommitRequest) XXX_DiscardUnknown

func (m *CommitRequest) XXX_DiscardUnknown()

func (*CommitRequest) XXX_Marshal

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

func (*CommitRequest) XXX_Merge

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

func (*CommitRequest) XXX_Size

func (m *CommitRequest) XXX_Size() int

func (*CommitRequest) XXX_Unmarshal

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

type CommitResponse

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

CommitResponse indicates how much blocks should CometBFT retain.

func (*CommitResponse) Descriptor

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

func (*CommitResponse) GetRetainHeight

func (m *CommitResponse) GetRetainHeight() int64

func (*CommitResponse) Marshal

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

func (*CommitResponse) MarshalJSON

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

func (*CommitResponse) MarshalTo

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

func (*CommitResponse) MarshalToSizedBuffer

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

func (*CommitResponse) ProtoMessage

func (*CommitResponse) ProtoMessage()

func (*CommitResponse) Reset

func (m *CommitResponse) Reset()

func (*CommitResponse) Size

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

func (*CommitResponse) String

func (m *CommitResponse) String() string

func (*CommitResponse) Unmarshal

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

func (*CommitResponse) UnmarshalJSON

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

func (*CommitResponse) XXX_DiscardUnknown

func (m *CommitResponse) XXX_DiscardUnknown()

func (*CommitResponse) XXX_Marshal

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

func (*CommitResponse) XXX_Merge

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

func (*CommitResponse) XXX_Size

func (m *CommitResponse) XXX_Size() int

func (*CommitResponse) XXX_Unmarshal

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

type EchoRequest

type EchoRequest struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
}

EchoRequest is a request to "echo" the given string.

func (*EchoRequest) Descriptor

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

func (*EchoRequest) GetMessage

func (m *EchoRequest) GetMessage() string

func (*EchoRequest) Marshal

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

func (*EchoRequest) MarshalTo

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

func (*EchoRequest) MarshalToSizedBuffer

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

func (*EchoRequest) ProtoMessage

func (*EchoRequest) ProtoMessage()

func (*EchoRequest) Reset

func (m *EchoRequest) Reset()

func (*EchoRequest) Size

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

func (*EchoRequest) String

func (m *EchoRequest) String() string

func (*EchoRequest) Unmarshal

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

func (*EchoRequest) XXX_DiscardUnknown

func (m *EchoRequest) XXX_DiscardUnknown()

func (*EchoRequest) XXX_Marshal

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

func (*EchoRequest) XXX_Merge

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

func (*EchoRequest) XXX_Size

func (m *EchoRequest) XXX_Size() int

func (*EchoRequest) XXX_Unmarshal

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

type EchoResponse

type EchoResponse struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
}

EchoResponse indicates that the connection is still alive.

func (*EchoResponse) Descriptor

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

func (*EchoResponse) GetMessage

func (m *EchoResponse) GetMessage() string

func (*EchoResponse) Marshal

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

func (*EchoResponse) MarshalTo

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

func (*EchoResponse) MarshalToSizedBuffer

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

func (*EchoResponse) ProtoMessage

func (*EchoResponse) ProtoMessage()

func (*EchoResponse) Reset

func (m *EchoResponse) Reset()

func (*EchoResponse) Size

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

func (*EchoResponse) String

func (m *EchoResponse) String() string

func (*EchoResponse) Unmarshal

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

func (*EchoResponse) XXX_DiscardUnknown

func (m *EchoResponse) XXX_DiscardUnknown()

func (*EchoResponse) XXX_Marshal

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

func (*EchoResponse) XXX_Merge

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

func (*EchoResponse) XXX_Size

func (m *EchoResponse) XXX_Size() int

func (*EchoResponse) XXX_Unmarshal

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

type Event

type Event struct {
	Type       string           `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Attributes []EventAttribute `protobuf:"bytes,2,rep,name=attributes,proto3" json:"attributes,omitempty"`
}

Event allows application developers to attach additional information to ResponseFinalizeBlock and ResponseCheckTx. Up to 0.37, this could also be used in ResponseBeginBlock, ResponseEndBlock, and ResponseDeliverTx. Later, transactions may be queried using these events.

func (*Event) Descriptor

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

func (*Event) GetAttributes

func (m *Event) GetAttributes() []EventAttribute

func (*Event) GetType

func (m *Event) GetType() string

func (*Event) Marshal

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

func (*Event) MarshalTo

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

func (*Event) MarshalToSizedBuffer

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

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) Reset

func (m *Event) Reset()

func (*Event) Size

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

func (*Event) String

func (m *Event) String() string

func (*Event) Unmarshal

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

func (*Event) XXX_DiscardUnknown

func (m *Event) XXX_DiscardUnknown()

func (*Event) XXX_Marshal

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

func (*Event) XXX_Merge

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

func (*Event) XXX_Size

func (m *Event) XXX_Size() int

func (*Event) XXX_Unmarshal

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

type EventAttribute

type EventAttribute struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	Index bool   `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"`
}

EventAttribute is a single key-value pair, associated with an event.

func (*EventAttribute) Descriptor

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

func (*EventAttribute) GetIndex

func (m *EventAttribute) GetIndex() bool

func (*EventAttribute) GetKey

func (m *EventAttribute) GetKey() string

func (*EventAttribute) GetValue

func (m *EventAttribute) GetValue() string

func (*EventAttribute) Marshal

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

func (*EventAttribute) MarshalJSON

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

func (*EventAttribute) MarshalTo

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

func (*EventAttribute) MarshalToSizedBuffer

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

func (*EventAttribute) ProtoMessage

func (*EventAttribute) ProtoMessage()

func (*EventAttribute) Reset

func (m *EventAttribute) Reset()

func (*EventAttribute) Size

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

func (*EventAttribute) String

func (m *EventAttribute) String() string

func (*EventAttribute) Unmarshal

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

func (*EventAttribute) UnmarshalJSON

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

func (*EventAttribute) XXX_DiscardUnknown

func (m *EventAttribute) XXX_DiscardUnknown()

func (*EventAttribute) XXX_Marshal

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

func (*EventAttribute) XXX_Merge

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

func (*EventAttribute) XXX_Size

func (m *EventAttribute) XXX_Size() int

func (*EventAttribute) XXX_Unmarshal

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

type ExceptionResponse

type ExceptionResponse struct {
	Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
}

nondeterministic

func (*ExceptionResponse) Descriptor

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

func (*ExceptionResponse) GetError

func (m *ExceptionResponse) GetError() string

func (*ExceptionResponse) Marshal

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

func (*ExceptionResponse) MarshalTo

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

func (*ExceptionResponse) MarshalToSizedBuffer

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

func (*ExceptionResponse) ProtoMessage

func (*ExceptionResponse) ProtoMessage()

func (*ExceptionResponse) Reset

func (m *ExceptionResponse) Reset()

func (*ExceptionResponse) Size

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

func (*ExceptionResponse) String

func (m *ExceptionResponse) String() string

func (*ExceptionResponse) Unmarshal

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

func (*ExceptionResponse) XXX_DiscardUnknown

func (m *ExceptionResponse) XXX_DiscardUnknown()

func (*ExceptionResponse) XXX_Marshal

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

func (*ExceptionResponse) XXX_Merge

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

func (*ExceptionResponse) XXX_Size

func (m *ExceptionResponse) XXX_Size() int

func (*ExceptionResponse) XXX_Unmarshal

func (m *ExceptionResponse) 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    []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() []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 ExtendVoteRequest

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

ExtendVoteRequest extends a precommit vote with application-injected data.

func (*ExtendVoteRequest) Descriptor

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

func (*ExtendVoteRequest) GetHash

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

func (*ExtendVoteRequest) GetHeight

func (m *ExtendVoteRequest) GetHeight() int64

func (*ExtendVoteRequest) GetMisbehavior

func (m *ExtendVoteRequest) GetMisbehavior() []Misbehavior

func (*ExtendVoteRequest) GetNextValidatorsHash

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

func (*ExtendVoteRequest) GetProposedLastCommit

func (m *ExtendVoteRequest) GetProposedLastCommit() CommitInfo

func (*ExtendVoteRequest) GetProposerAddress

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

func (*ExtendVoteRequest) GetTime

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

func (*ExtendVoteRequest) GetTxs

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

func (*ExtendVoteRequest) Marshal

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

func (*ExtendVoteRequest) MarshalTo

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

func (*ExtendVoteRequest) MarshalToSizedBuffer

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

func (*ExtendVoteRequest) ProtoMessage

func (*ExtendVoteRequest) ProtoMessage()

func (*ExtendVoteRequest) Reset

func (m *ExtendVoteRequest) Reset()

func (*ExtendVoteRequest) Size

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

func (*ExtendVoteRequest) String

func (m *ExtendVoteRequest) String() string

func (*ExtendVoteRequest) Unmarshal

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

func (*ExtendVoteRequest) XXX_DiscardUnknown

func (m *ExtendVoteRequest) XXX_DiscardUnknown()

func (*ExtendVoteRequest) XXX_Marshal

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

func (*ExtendVoteRequest) XXX_Merge

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

func (*ExtendVoteRequest) XXX_Size

func (m *ExtendVoteRequest) XXX_Size() int

func (*ExtendVoteRequest) XXX_Unmarshal

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

type ExtendVoteResponse

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

ExtendVoteResponse contains the vote extension that the application would like to attach to its next precommit vote.

func (*ExtendVoteResponse) Descriptor

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

func (*ExtendVoteResponse) GetVoteExtension

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

func (*ExtendVoteResponse) Marshal

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

func (*ExtendVoteResponse) MarshalTo

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

func (*ExtendVoteResponse) MarshalToSizedBuffer

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

func (*ExtendVoteResponse) ProtoMessage

func (*ExtendVoteResponse) ProtoMessage()

func (*ExtendVoteResponse) Reset

func (m *ExtendVoteResponse) Reset()

func (*ExtendVoteResponse) Size

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

func (*ExtendVoteResponse) String

func (m *ExtendVoteResponse) String() string

func (*ExtendVoteResponse) Unmarshal

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

func (*ExtendVoteResponse) XXX_DiscardUnknown

func (m *ExtendVoteResponse) XXX_DiscardUnknown()

func (*ExtendVoteResponse) XXX_Marshal

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

func (*ExtendVoteResponse) XXX_Merge

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

func (*ExtendVoteResponse) XXX_Size

func (m *ExtendVoteResponse) XXX_Size() int

func (*ExtendVoteResponse) XXX_Unmarshal

func (m *ExtendVoteResponse) 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 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 v1.BlockIDFlag `` /* 132-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() v1.BlockIDFlag

func (*ExtendedVoteInfo) GetExtensionSignature

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

func (*ExtendedVoteInfo) GetValidator

func (m *ExtendedVoteInfo) GetValidator() Validator

func (*ExtendedVoteInfo) GetVoteExtension

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

func (*ExtendedVoteInfo) Marshal

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

func (*ExtendedVoteInfo) 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 FinalizeBlockRequest

type FinalizeBlockRequest struct {
	Txs               [][]byte      `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"`
	DecidedLastCommit CommitInfo    `protobuf:"bytes,2,opt,name=decided_last_commit,json=decidedLastCommit,proto3" json:"decided_last_commit"`
	Misbehavior       []Misbehavior `protobuf:"bytes,3,rep,name=misbehavior,proto3" json:"misbehavior"`
	// 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"`
	// 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"`
	// If the node is syncing/replaying blocks - target height. If not, syncing_to == height.
	SyncingToHeight int64 `protobuf:"varint,9,opt,name=syncing_to_height,json=syncingToHeight,proto3" json:"syncing_to_height,omitempty"`
}

FinalizeBlockRequest is a request to finalize the block.

func (*FinalizeBlockRequest) Descriptor

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

func (*FinalizeBlockRequest) GetDecidedLastCommit

func (m *FinalizeBlockRequest) GetDecidedLastCommit() CommitInfo

func (*FinalizeBlockRequest) GetHash

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

func (*FinalizeBlockRequest) GetHeight

func (m *FinalizeBlockRequest) GetHeight() int64

func (*FinalizeBlockRequest) GetMisbehavior

func (m *FinalizeBlockRequest) GetMisbehavior() []Misbehavior

func (*FinalizeBlockRequest) GetNextValidatorsHash

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

func (*FinalizeBlockRequest) GetProposerAddress

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

func (*FinalizeBlockRequest) GetSyncingToHeight

func (m *FinalizeBlockRequest) GetSyncingToHeight() int64

func (*FinalizeBlockRequest) GetTime

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

func (*FinalizeBlockRequest) GetTxs

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

func (*FinalizeBlockRequest) Marshal

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

func (*FinalizeBlockRequest) MarshalTo

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

func (*FinalizeBlockRequest) MarshalToSizedBuffer

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

func (*FinalizeBlockRequest) ProtoMessage

func (*FinalizeBlockRequest) ProtoMessage()

func (*FinalizeBlockRequest) Reset

func (m *FinalizeBlockRequest) Reset()

func (*FinalizeBlockRequest) Size

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

func (*FinalizeBlockRequest) String

func (m *FinalizeBlockRequest) String() string

func (*FinalizeBlockRequest) Unmarshal

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

func (*FinalizeBlockRequest) XXX_DiscardUnknown

func (m *FinalizeBlockRequest) XXX_DiscardUnknown()

func (*FinalizeBlockRequest) XXX_Marshal

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

func (*FinalizeBlockRequest) XXX_Merge

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

func (*FinalizeBlockRequest) XXX_Size

func (m *FinalizeBlockRequest) XXX_Size() int

func (*FinalizeBlockRequest) XXX_Unmarshal

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

type FinalizeBlockResponse

type FinalizeBlockResponse struct {
	// set of block events emitted 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 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 []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 (*FinalizeBlockResponse) Descriptor

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

func (*FinalizeBlockResponse) GetAppHash

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

func (*FinalizeBlockResponse) GetConsensusParamUpdates

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

func (*FinalizeBlockResponse) GetEvents

func (m *FinalizeBlockResponse) GetEvents() []Event

func (*FinalizeBlockResponse) GetTxResults

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

func (*FinalizeBlockResponse) GetValidatorUpdates

func (m *FinalizeBlockResponse) GetValidatorUpdates() []ValidatorUpdate

func (*FinalizeBlockResponse) Marshal

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

func (*FinalizeBlockResponse) MarshalTo

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

func (*FinalizeBlockResponse) MarshalToSizedBuffer

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

func (*FinalizeBlockResponse) ProtoMessage

func (*FinalizeBlockResponse) ProtoMessage()

func (*FinalizeBlockResponse) Reset

func (m *FinalizeBlockResponse) Reset()

func (*FinalizeBlockResponse) Size

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

func (*FinalizeBlockResponse) String

func (m *FinalizeBlockResponse) String() string

func (*FinalizeBlockResponse) Unmarshal

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

func (*FinalizeBlockResponse) XXX_DiscardUnknown

func (m *FinalizeBlockResponse) XXX_DiscardUnknown()

func (*FinalizeBlockResponse) XXX_Marshal

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

func (*FinalizeBlockResponse) XXX_Merge

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

func (*FinalizeBlockResponse) XXX_Size

func (m *FinalizeBlockResponse) XXX_Size() int

func (*FinalizeBlockResponse) XXX_Unmarshal

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

type FlushRequest

type FlushRequest struct {
}

FlushRequest is a request to flush the write buffer.

func (*FlushRequest) Descriptor

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

func (*FlushRequest) Marshal

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

func (*FlushRequest) MarshalTo

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

func (*FlushRequest) MarshalToSizedBuffer

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

func (*FlushRequest) ProtoMessage

func (*FlushRequest) ProtoMessage()

func (*FlushRequest) Reset

func (m *FlushRequest) Reset()

func (*FlushRequest) Size

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

func (*FlushRequest) String

func (m *FlushRequest) String() string

func (*FlushRequest) Unmarshal

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

func (*FlushRequest) XXX_DiscardUnknown

func (m *FlushRequest) XXX_DiscardUnknown()

func (*FlushRequest) XXX_Marshal

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

func (*FlushRequest) XXX_Merge

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

func (*FlushRequest) XXX_Size

func (m *FlushRequest) XXX_Size() int

func (*FlushRequest) XXX_Unmarshal

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

type FlushResponse

type FlushResponse struct {
}

FlushResponse indicates that the write buffer was flushed.

func (*FlushResponse) Descriptor

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

func (*FlushResponse) Marshal

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

func (*FlushResponse) MarshalTo

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

func (*FlushResponse) MarshalToSizedBuffer

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

func (*FlushResponse) ProtoMessage

func (*FlushResponse) ProtoMessage()

func (*FlushResponse) Reset

func (m *FlushResponse) Reset()

func (*FlushResponse) Size

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

func (*FlushResponse) String

func (m *FlushResponse) String() string

func (*FlushResponse) Unmarshal

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

func (*FlushResponse) XXX_DiscardUnknown

func (m *FlushResponse) XXX_DiscardUnknown()

func (*FlushResponse) XXX_Marshal

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

func (*FlushResponse) XXX_Merge

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

func (*FlushResponse) XXX_Size

func (m *FlushResponse) XXX_Size() int

func (*FlushResponse) XXX_Unmarshal

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

type InfoRequest

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

InfoRequest is a request for the ABCI application version.

func (*InfoRequest) Descriptor

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

func (*InfoRequest) GetAbciVersion

func (m *InfoRequest) GetAbciVersion() string

func (*InfoRequest) GetBlockVersion

func (m *InfoRequest) GetBlockVersion() uint64

func (*InfoRequest) GetP2PVersion

func (m *InfoRequest) GetP2PVersion() uint64

func (*InfoRequest) GetVersion

func (m *InfoRequest) GetVersion() string

func (*InfoRequest) Marshal

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

func (*InfoRequest) MarshalTo

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

func (*InfoRequest) MarshalToSizedBuffer

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

func (*InfoRequest) ProtoMessage

func (*InfoRequest) ProtoMessage()

func (*InfoRequest) Reset

func (m *InfoRequest) Reset()

func (*InfoRequest) Size

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

func (*InfoRequest) String

func (m *InfoRequest) String() string

func (*InfoRequest) Unmarshal

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

func (*InfoRequest) XXX_DiscardUnknown

func (m *InfoRequest) XXX_DiscardUnknown()

func (*InfoRequest) XXX_Marshal

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

func (*InfoRequest) XXX_Merge

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

func (*InfoRequest) XXX_Size

func (m *InfoRequest) XXX_Size() int

func (*InfoRequest) XXX_Unmarshal

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

type InfoResponse

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

InfoResponse contains the ABCI application version information.

func (*InfoResponse) Descriptor

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

func (*InfoResponse) GetAppVersion

func (m *InfoResponse) GetAppVersion() uint64

func (*InfoResponse) GetData

func (m *InfoResponse) GetData() string

func (*InfoResponse) GetLastBlockAppHash

func (m *InfoResponse) GetLastBlockAppHash() []byte

func (*InfoResponse) GetLastBlockHeight

func (m *InfoResponse) GetLastBlockHeight() int64

func (*InfoResponse) GetVersion

func (m *InfoResponse) GetVersion() string

func (*InfoResponse) Marshal

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

func (*InfoResponse) MarshalTo

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

func (*InfoResponse) MarshalToSizedBuffer

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

func (*InfoResponse) ProtoMessage

func (*InfoResponse) ProtoMessage()

func (*InfoResponse) Reset

func (m *InfoResponse) Reset()

func (*InfoResponse) Size

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

func (*InfoResponse) String

func (m *InfoResponse) String() string

func (*InfoResponse) Unmarshal

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

func (*InfoResponse) XXX_DiscardUnknown

func (m *InfoResponse) XXX_DiscardUnknown()

func (*InfoResponse) XXX_Marshal

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

func (*InfoResponse) XXX_Merge

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

func (*InfoResponse) XXX_Size

func (m *InfoResponse) XXX_Size() int

func (*InfoResponse) XXX_Unmarshal

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

type InitChainRequest

type InitChainRequest 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      []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"`
}

InitChainRequest is a request to initialize the blockchain.

func (*InitChainRequest) Descriptor

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

func (*InitChainRequest) GetAppStateBytes

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

func (*InitChainRequest) GetChainId

func (m *InitChainRequest) GetChainId() string

func (*InitChainRequest) GetConsensusParams

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

func (*InitChainRequest) GetInitialHeight

func (m *InitChainRequest) GetInitialHeight() int64

func (*InitChainRequest) GetTime

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

func (*InitChainRequest) GetValidators

func (m *InitChainRequest) GetValidators() []ValidatorUpdate

func (*InitChainRequest) Marshal

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

func (*InitChainRequest) MarshalTo

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

func (*InitChainRequest) MarshalToSizedBuffer

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

func (*InitChainRequest) ProtoMessage

func (*InitChainRequest) ProtoMessage()

func (*InitChainRequest) Reset

func (m *InitChainRequest) Reset()

func (*InitChainRequest) Size

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

func (*InitChainRequest) String

func (m *InitChainRequest) String() string

func (*InitChainRequest) Unmarshal

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

func (*InitChainRequest) XXX_DiscardUnknown

func (m *InitChainRequest) XXX_DiscardUnknown()

func (*InitChainRequest) XXX_Marshal

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

func (*InitChainRequest) XXX_Merge

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

func (*InitChainRequest) XXX_Size

func (m *InitChainRequest) XXX_Size() int

func (*InitChainRequest) XXX_Unmarshal

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

type InitChainResponse

type InitChainResponse struct {
	ConsensusParams *v1.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"`
	AppHash         []byte              `protobuf:"bytes,3,opt,name=app_hash,json=appHash,proto3" json:"app_hash,omitempty"`
}

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

func (*InitChainResponse) Descriptor

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

func (*InitChainResponse) GetAppHash

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

func (*InitChainResponse) GetConsensusParams

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

func (*InitChainResponse) GetValidators

func (m *InitChainResponse) GetValidators() []ValidatorUpdate

func (*InitChainResponse) Marshal

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

func (*InitChainResponse) MarshalTo

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

func (*InitChainResponse) MarshalToSizedBuffer

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

func (*InitChainResponse) ProtoMessage

func (*InitChainResponse) ProtoMessage()

func (*InitChainResponse) Reset

func (m *InitChainResponse) Reset()

func (*InitChainResponse) Size

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

func (*InitChainResponse) String

func (m *InitChainResponse) String() string

func (*InitChainResponse) Unmarshal

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

func (*InitChainResponse) XXX_DiscardUnknown

func (m *InitChainResponse) XXX_DiscardUnknown()

func (*InitChainResponse) XXX_Marshal

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

func (*InitChainResponse) XXX_Merge

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

func (*InitChainResponse) XXX_Size

func (m *InitChainResponse) XXX_Size() int

func (*InitChainResponse) XXX_Unmarshal

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

type ListSnapshotsRequest

type ListSnapshotsRequest struct {
}

Request to list available snapshots.

func (*ListSnapshotsRequest) Descriptor

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

func (*ListSnapshotsRequest) Marshal

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

func (*ListSnapshotsRequest) MarshalTo

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

func (*ListSnapshotsRequest) MarshalToSizedBuffer

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

func (*ListSnapshotsRequest) ProtoMessage

func (*ListSnapshotsRequest) ProtoMessage()

func (*ListSnapshotsRequest) Reset

func (m *ListSnapshotsRequest) Reset()

func (*ListSnapshotsRequest) Size

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

func (*ListSnapshotsRequest) String

func (m *ListSnapshotsRequest) String() string

func (*ListSnapshotsRequest) Unmarshal

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

func (*ListSnapshotsRequest) XXX_DiscardUnknown

func (m *ListSnapshotsRequest) XXX_DiscardUnknown()

func (*ListSnapshotsRequest) XXX_Marshal

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

func (*ListSnapshotsRequest) XXX_Merge

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

func (*ListSnapshotsRequest) XXX_Size

func (m *ListSnapshotsRequest) XXX_Size() int

func (*ListSnapshotsRequest) XXX_Unmarshal

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

type ListSnapshotsResponse

type ListSnapshotsResponse struct {
	Snapshots []*Snapshot `protobuf:"bytes,1,rep,name=snapshots,proto3" json:"snapshots,omitempty"`
}

ListSnapshotsResponse contains the list of snapshots.

func (*ListSnapshotsResponse) Descriptor

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

func (*ListSnapshotsResponse) GetSnapshots

func (m *ListSnapshotsResponse) GetSnapshots() []*Snapshot

func (*ListSnapshotsResponse) Marshal

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

func (*ListSnapshotsResponse) MarshalTo

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

func (*ListSnapshotsResponse) MarshalToSizedBuffer

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

func (*ListSnapshotsResponse) ProtoMessage

func (*ListSnapshotsResponse) ProtoMessage()

func (*ListSnapshotsResponse) Reset

func (m *ListSnapshotsResponse) Reset()

func (*ListSnapshotsResponse) Size

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

func (*ListSnapshotsResponse) String

func (m *ListSnapshotsResponse) String() string

func (*ListSnapshotsResponse) Unmarshal

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

func (*ListSnapshotsResponse) XXX_DiscardUnknown

func (m *ListSnapshotsResponse) XXX_DiscardUnknown()

func (*ListSnapshotsResponse) XXX_Marshal

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

func (*ListSnapshotsResponse) XXX_Merge

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

func (*ListSnapshotsResponse) XXX_Size

func (m *ListSnapshotsResponse) XXX_Size() int

func (*ListSnapshotsResponse) XXX_Unmarshal

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

type LoadSnapshotChunkRequest

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

Request to load a snapshot chunk.

func (*LoadSnapshotChunkRequest) Descriptor

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

func (*LoadSnapshotChunkRequest) GetChunk

func (m *LoadSnapshotChunkRequest) GetChunk() uint32

func (*LoadSnapshotChunkRequest) GetFormat

func (m *LoadSnapshotChunkRequest) GetFormat() uint32

func (*LoadSnapshotChunkRequest) GetHeight

func (m *LoadSnapshotChunkRequest) GetHeight() uint64

func (*LoadSnapshotChunkRequest) Marshal

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

func (*LoadSnapshotChunkRequest) MarshalTo

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

func (*LoadSnapshotChunkRequest) MarshalToSizedBuffer

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

func (*LoadSnapshotChunkRequest) ProtoMessage

func (*LoadSnapshotChunkRequest) ProtoMessage()

func (*LoadSnapshotChunkRequest) Reset

func (m *LoadSnapshotChunkRequest) Reset()

func (*LoadSnapshotChunkRequest) Size

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

func (*LoadSnapshotChunkRequest) String

func (m *LoadSnapshotChunkRequest) String() string

func (*LoadSnapshotChunkRequest) Unmarshal

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

func (*LoadSnapshotChunkRequest) XXX_DiscardUnknown

func (m *LoadSnapshotChunkRequest) XXX_DiscardUnknown()

func (*LoadSnapshotChunkRequest) XXX_Marshal

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

func (*LoadSnapshotChunkRequest) XXX_Merge

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

func (*LoadSnapshotChunkRequest) XXX_Size

func (m *LoadSnapshotChunkRequest) XXX_Size() int

func (*LoadSnapshotChunkRequest) XXX_Unmarshal

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

type LoadSnapshotChunkResponse

type LoadSnapshotChunkResponse struct {
	Chunk []byte `protobuf:"bytes,1,opt,name=chunk,proto3" json:"chunk,omitempty"`
}

LoadSnapshotChunkResponse returns a snapshot's chunk.

func (*LoadSnapshotChunkResponse) Descriptor

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

func (*LoadSnapshotChunkResponse) GetChunk

func (m *LoadSnapshotChunkResponse) GetChunk() []byte

func (*LoadSnapshotChunkResponse) Marshal

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

func (*LoadSnapshotChunkResponse) MarshalTo

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

func (*LoadSnapshotChunkResponse) MarshalToSizedBuffer

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

func (*LoadSnapshotChunkResponse) ProtoMessage

func (*LoadSnapshotChunkResponse) ProtoMessage()

func (*LoadSnapshotChunkResponse) Reset

func (m *LoadSnapshotChunkResponse) Reset()

func (*LoadSnapshotChunkResponse) Size

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

func (*LoadSnapshotChunkResponse) String

func (m *LoadSnapshotChunkResponse) String() string

func (*LoadSnapshotChunkResponse) Unmarshal

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

func (*LoadSnapshotChunkResponse) XXX_DiscardUnknown

func (m *LoadSnapshotChunkResponse) XXX_DiscardUnknown()

func (*LoadSnapshotChunkResponse) XXX_Marshal

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

func (*LoadSnapshotChunkResponse) XXX_Merge

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

func (*LoadSnapshotChunkResponse) XXX_Size

func (m *LoadSnapshotChunkResponse) XXX_Size() int

func (*LoadSnapshotChunkResponse) XXX_Unmarshal

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

type Misbehavior

type Misbehavior struct {
	Type MisbehaviorType `protobuf:"varint,1,opt,name=type,proto3,enum=cometbft.abci.v1.MisbehaviorType" json:"type,omitempty"`
	// The offending validator
	Validator Validator `protobuf:"bytes,2,opt,name=validator,proto3" json:"validator"`
	// The height when the offense occurred
	Height int64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
	// The corresponding time where the offense occurred
	Time time.Time `protobuf:"bytes,4,opt,name=time,proto3,stdtime" json:"time"`
	// Total voting power of the validator set in case the ABCI application does
	// not store historical validators.
	// https://github.com/tendermint/tendermint/issues/4581
	TotalVotingPower int64 `protobuf:"varint,5,opt,name=total_voting_power,json=totalVotingPower,proto3" json:"total_voting_power,omitempty"`
}

Misbehavior is a type of misbehavior committed by a validator.

func (*Misbehavior) Descriptor

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

func (*Misbehavior) GetHeight

func (m *Misbehavior) GetHeight() int64

func (*Misbehavior) GetTime

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

func (*Misbehavior) GetTotalVotingPower

func (m *Misbehavior) GetTotalVotingPower() int64

func (*Misbehavior) GetType

func (m *Misbehavior) GetType() MisbehaviorType

func (*Misbehavior) GetValidator

func (m *Misbehavior) GetValidator() Validator

func (*Misbehavior) Marshal

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

func (*Misbehavior) MarshalTo

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

func (*Misbehavior) MarshalToSizedBuffer

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

func (*Misbehavior) ProtoMessage

func (*Misbehavior) ProtoMessage()

func (*Misbehavior) Reset

func (m *Misbehavior) Reset()

func (*Misbehavior) Size

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

func (*Misbehavior) String

func (m *Misbehavior) String() string

func (*Misbehavior) Unmarshal

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

func (*Misbehavior) XXX_DiscardUnknown

func (m *Misbehavior) XXX_DiscardUnknown()

func (*Misbehavior) XXX_Marshal

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

func (*Misbehavior) XXX_Merge

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

func (*Misbehavior) XXX_Size

func (m *Misbehavior) XXX_Size() int

func (*Misbehavior) XXX_Unmarshal

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

type MisbehaviorType

type MisbehaviorType int32

The type of misbehavior committed by a validator.

const (
	// Unknown
	MISBEHAVIOR_TYPE_UNKNOWN MisbehaviorType = 0
	// Duplicate vote
	MISBEHAVIOR_TYPE_DUPLICATE_VOTE MisbehaviorType = 1
	// Light client attack
	MISBEHAVIOR_TYPE_LIGHT_CLIENT_ATTACK MisbehaviorType = 2
)

func (MisbehaviorType) EnumDescriptor

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

func (MisbehaviorType) String

func (x MisbehaviorType) String() string

type OfferSnapshotRequest

type OfferSnapshotRequest struct {
	Snapshot *Snapshot `protobuf:"bytes,1,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
	AppHash  []byte    `protobuf:"bytes,2,opt,name=app_hash,json=appHash,proto3" json:"app_hash,omitempty"`
}

Request offering a snapshot to the application.

func (*OfferSnapshotRequest) Descriptor

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

func (*OfferSnapshotRequest) GetAppHash

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

func (*OfferSnapshotRequest) GetSnapshot

func (m *OfferSnapshotRequest) GetSnapshot() *Snapshot

func (*OfferSnapshotRequest) Marshal

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

func (*OfferSnapshotRequest) MarshalTo

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

func (*OfferSnapshotRequest) MarshalToSizedBuffer

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

func (*OfferSnapshotRequest) ProtoMessage

func (*OfferSnapshotRequest) ProtoMessage()

func (*OfferSnapshotRequest) Reset

func (m *OfferSnapshotRequest) Reset()

func (*OfferSnapshotRequest) Size

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

func (*OfferSnapshotRequest) String

func (m *OfferSnapshotRequest) String() string

func (*OfferSnapshotRequest) Unmarshal

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

func (*OfferSnapshotRequest) XXX_DiscardUnknown

func (m *OfferSnapshotRequest) XXX_DiscardUnknown()

func (*OfferSnapshotRequest) XXX_Marshal

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

func (*OfferSnapshotRequest) XXX_Merge

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

func (*OfferSnapshotRequest) XXX_Size

func (m *OfferSnapshotRequest) XXX_Size() int

func (*OfferSnapshotRequest) XXX_Unmarshal

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

type OfferSnapshotResponse

type OfferSnapshotResponse struct {
	Result OfferSnapshotResult `protobuf:"varint,1,opt,name=result,proto3,enum=cometbft.abci.v1.OfferSnapshotResult" json:"result,omitempty"`
}

OfferSnapshotResponse indicates the ABCI application decision whenever to provide a snapshot to the requester or not.

func (*OfferSnapshotResponse) Descriptor

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

func (*OfferSnapshotResponse) GetResult

func (*OfferSnapshotResponse) Marshal

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

func (*OfferSnapshotResponse) MarshalTo

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

func (*OfferSnapshotResponse) MarshalToSizedBuffer

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

func (*OfferSnapshotResponse) ProtoMessage

func (*OfferSnapshotResponse) ProtoMessage()

func (*OfferSnapshotResponse) Reset

func (m *OfferSnapshotResponse) Reset()

func (*OfferSnapshotResponse) Size

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

func (*OfferSnapshotResponse) String

func (m *OfferSnapshotResponse) String() string

func (*OfferSnapshotResponse) Unmarshal

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

func (*OfferSnapshotResponse) XXX_DiscardUnknown

func (m *OfferSnapshotResponse) XXX_DiscardUnknown()

func (*OfferSnapshotResponse) XXX_Marshal

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

func (*OfferSnapshotResponse) XXX_Merge

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

func (*OfferSnapshotResponse) XXX_Size

func (m *OfferSnapshotResponse) XXX_Size() int

func (*OfferSnapshotResponse) XXX_Unmarshal

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

type OfferSnapshotResult

type OfferSnapshotResult int32

The result of offering a snapshot.

const (
	// Unknown result, abort all snapshot restoration
	OFFER_SNAPSHOT_RESULT_UNKNOWN OfferSnapshotResult = 0
	// Snapshot accepted, apply chunks
	OFFER_SNAPSHOT_RESULT_ACCEPT OfferSnapshotResult = 1
	// Abort all snapshot restoration
	OFFER_SNAPSHOT_RESULT_ABORT OfferSnapshotResult = 2
	// Reject this specific snapshot, try others
	OFFER_SNAPSHOT_RESULT_REJECT OfferSnapshotResult = 3
	// Reject all snapshots of this format, try others
	OFFER_SNAPSHOT_RESULT_REJECT_FORMAT OfferSnapshotResult = 4
	// Reject all snapshots from the sender(s), try others
	OFFER_SNAPSHOT_RESULT_REJECT_SENDER OfferSnapshotResult = 5
)

func (OfferSnapshotResult) EnumDescriptor

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

func (OfferSnapshotResult) String

func (x OfferSnapshotResult) String() string

type PrepareProposalRequest

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

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

func (*PrepareProposalRequest) Descriptor

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

func (*PrepareProposalRequest) GetHeight

func (m *PrepareProposalRequest) GetHeight() int64

func (*PrepareProposalRequest) GetLocalLastCommit

func (m *PrepareProposalRequest) GetLocalLastCommit() ExtendedCommitInfo

func (*PrepareProposalRequest) GetMaxTxBytes

func (m *PrepareProposalRequest) GetMaxTxBytes() int64

func (*PrepareProposalRequest) GetMisbehavior

func (m *PrepareProposalRequest) GetMisbehavior() []Misbehavior

func (*PrepareProposalRequest) GetNextValidatorsHash

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

func (*PrepareProposalRequest) GetProposerAddress

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

func (*PrepareProposalRequest) GetTime

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

func (*PrepareProposalRequest) GetTxs

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

func (*PrepareProposalRequest) Marshal

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

func (*PrepareProposalRequest) MarshalTo

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

func (*PrepareProposalRequest) MarshalToSizedBuffer

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

func (*PrepareProposalRequest) ProtoMessage

func (*PrepareProposalRequest) ProtoMessage()

func (*PrepareProposalRequest) Reset

func (m *PrepareProposalRequest) Reset()

func (*PrepareProposalRequest) Size

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

func (*PrepareProposalRequest) String

func (m *PrepareProposalRequest) String() string

func (*PrepareProposalRequest) Unmarshal

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

func (*PrepareProposalRequest) XXX_DiscardUnknown

func (m *PrepareProposalRequest) XXX_DiscardUnknown()

func (*PrepareProposalRequest) XXX_Marshal

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

func (*PrepareProposalRequest) XXX_Merge

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

func (*PrepareProposalRequest) XXX_Size

func (m *PrepareProposalRequest) XXX_Size() int

func (*PrepareProposalRequest) XXX_Unmarshal

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

type PrepareProposalResponse

type PrepareProposalResponse struct {
	Txs [][]byte `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"`
}

PrepareProposalResponse contains a list of transactions, which will form a block.

func (*PrepareProposalResponse) Descriptor

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

func (*PrepareProposalResponse) GetTxs

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

func (*PrepareProposalResponse) Marshal

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

func (*PrepareProposalResponse) MarshalTo

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

func (*PrepareProposalResponse) MarshalToSizedBuffer

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

func (*PrepareProposalResponse) ProtoMessage

func (*PrepareProposalResponse) ProtoMessage()

func (*PrepareProposalResponse) Reset

func (m *PrepareProposalResponse) Reset()

func (*PrepareProposalResponse) Size

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

func (*PrepareProposalResponse) String

func (m *PrepareProposalResponse) String() string

func (*PrepareProposalResponse) Unmarshal

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

func (*PrepareProposalResponse) XXX_DiscardUnknown

func (m *PrepareProposalResponse) XXX_DiscardUnknown()

func (*PrepareProposalResponse) XXX_Marshal

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

func (*PrepareProposalResponse) XXX_Merge

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

func (*PrepareProposalResponse) XXX_Size

func (m *PrepareProposalResponse) XXX_Size() int

func (*PrepareProposalResponse) XXX_Unmarshal

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

type ProcessProposalRequest

type ProcessProposalRequest struct {
	Txs                [][]byte      `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"`
	ProposedLastCommit CommitInfo    `protobuf:"bytes,2,opt,name=proposed_last_commit,json=proposedLastCommit,proto3" json:"proposed_last_commit"`
	Misbehavior        []Misbehavior `protobuf:"bytes,3,rep,name=misbehavior,proto3" json:"misbehavior"`
	// 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"`
}

ProcessProposalRequest is a request for the ABCI application to process a proposal received from another validator.

func (*ProcessProposalRequest) Descriptor

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

func (*ProcessProposalRequest) GetHash

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

func (*ProcessProposalRequest) GetHeight

func (m *ProcessProposalRequest) GetHeight() int64

func (*ProcessProposalRequest) GetMisbehavior

func (m *ProcessProposalRequest) GetMisbehavior() []Misbehavior

func (*ProcessProposalRequest) GetNextValidatorsHash

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

func (*ProcessProposalRequest) GetProposedLastCommit

func (m *ProcessProposalRequest) GetProposedLastCommit() CommitInfo

func (*ProcessProposalRequest) GetProposerAddress

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

func (*ProcessProposalRequest) GetTime

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

func (*ProcessProposalRequest) GetTxs

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

func (*ProcessProposalRequest) Marshal

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

func (*ProcessProposalRequest) MarshalTo

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

func (*ProcessProposalRequest) MarshalToSizedBuffer

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

func (*ProcessProposalRequest) ProtoMessage

func (*ProcessProposalRequest) ProtoMessage()

func (*ProcessProposalRequest) Reset

func (m *ProcessProposalRequest) Reset()

func (*ProcessProposalRequest) Size

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

func (*ProcessProposalRequest) String

func (m *ProcessProposalRequest) String() string

func (*ProcessProposalRequest) Unmarshal

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

func (*ProcessProposalRequest) XXX_DiscardUnknown

func (m *ProcessProposalRequest) XXX_DiscardUnknown()

func (*ProcessProposalRequest) XXX_Marshal

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

func (*ProcessProposalRequest) XXX_Merge

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

func (*ProcessProposalRequest) XXX_Size

func (m *ProcessProposalRequest) XXX_Size() int

func (*ProcessProposalRequest) XXX_Unmarshal

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

type ProcessProposalResponse

type ProcessProposalResponse struct {
	Status ProcessProposalStatus `protobuf:"varint,1,opt,name=status,proto3,enum=cometbft.abci.v1.ProcessProposalStatus" json:"status,omitempty"`
}

ProcessProposalResponse indicates the ABCI application's decision whenever the given proposal should be accepted or not.

func (*ProcessProposalResponse) Descriptor

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

func (*ProcessProposalResponse) GetStatus

func (ProcessProposalResponse) IsAccepted

func (r ProcessProposalResponse) IsAccepted() bool

IsAccepted returns true if Code is ACCEPT

func (ProcessProposalResponse) IsStatusUnknown

func (r ProcessProposalResponse) IsStatusUnknown() bool

IsStatusUnknown returns true if Code is UNKNOWN

func (*ProcessProposalResponse) Marshal

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

func (*ProcessProposalResponse) MarshalTo

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

func (*ProcessProposalResponse) MarshalToSizedBuffer

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

func (*ProcessProposalResponse) ProtoMessage

func (*ProcessProposalResponse) ProtoMessage()

func (*ProcessProposalResponse) Reset

func (m *ProcessProposalResponse) Reset()

func (*ProcessProposalResponse) Size

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

func (*ProcessProposalResponse) String

func (m *ProcessProposalResponse) String() string

func (*ProcessProposalResponse) Unmarshal

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

func (*ProcessProposalResponse) XXX_DiscardUnknown

func (m *ProcessProposalResponse) XXX_DiscardUnknown()

func (*ProcessProposalResponse) XXX_Marshal

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

func (*ProcessProposalResponse) XXX_Merge

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

func (*ProcessProposalResponse) XXX_Size

func (m *ProcessProposalResponse) XXX_Size() int

func (*ProcessProposalResponse)