v1

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: 17 Imported by: 1

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

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) 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) XXX_Unmarshal

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

type ProcessProposalStatus

type ProcessProposalStatus int32

ProcessProposalStatus is the status of the proposal processing.

const (
	// Unknown
	PROCESS_PROPOSAL_STATUS_UNKNOWN ProcessProposalStatus = 0
	// Accepted
	PROCESS_PROPOSAL_STATUS_ACCEPT ProcessProposalStatus = 1
	// Rejected
	PROCESS_PROPOSAL_STATUS_REJECT ProcessProposalStatus = 2
)

func (ProcessProposalStatus) EnumDescriptor

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

func (ProcessProposalStatus) String

func (x ProcessProposalStatus) String() string

type QueryRequest

type QueryRequest struct {
	Data   []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Path   string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	Height int64  `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
	Prove  bool   `protobuf:"varint,4,opt,name=prove,proto3" json:"prove,omitempty"`
}

QueryRequest is a request to query the application state.

func (*QueryRequest) Descriptor

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

func (*QueryRequest) GetData

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

func (*QueryRequest) GetHeight

func (m *QueryRequest) GetHeight() int64

func (*QueryRequest) GetPath

func (m *QueryRequest) GetPath() string

func (*QueryRequest) GetProve

func (m *QueryRequest) GetProve() bool

func (*QueryRequest) Marshal

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

func (*QueryRequest) MarshalTo

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

func (*QueryRequest) MarshalToSizedBuffer

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

func (*QueryRequest) ProtoMessage

func (*QueryRequest) ProtoMessage()

func (*QueryRequest) Reset

func (m *QueryRequest) Reset()

func (*QueryRequest) Size

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

func (*QueryRequest) String

func (m *QueryRequest) String() string

func (*QueryRequest) Unmarshal

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

func (*QueryRequest) XXX_DiscardUnknown

func (m *QueryRequest) XXX_DiscardUnknown()

func (*QueryRequest) XXX_Marshal

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

func (*QueryRequest) XXX_Merge

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

func (*QueryRequest) XXX_Size

func (m *QueryRequest) XXX_Size() int

func (*QueryRequest) XXX_Unmarshal

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

type QueryResponse

type QueryResponse struct {
	Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	// bytes data = 2; // use "value" instead.
	Log       string        `protobuf:"bytes,3,opt,name=log,proto3" json:"log,omitempty"`
	Info      string        `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty"`
	Index     int64         `protobuf:"varint,5,opt,name=index,proto3" json:"index,omitempty"`
	Key       []byte        `protobuf:"bytes,6,opt,name=key,proto3" json:"key,omitempty"`
	Value     []byte        `protobuf:"bytes,7,opt,name=value,proto3" json:"value,omitempty"`
	ProofOps  *v11.ProofOps `protobuf:"bytes,8,opt,name=proof_ops,json=proofOps,proto3" json:"proof_ops,omitempty"`
	Height    int64         `protobuf:"varint,9,opt,name=height,proto3" json:"height,omitempty"`
	Codespace string        `protobuf:"bytes,10,opt,name=codespace,proto3" json:"codespace,omitempty"`
}

QueryResponse contains the ABCI application data along with a proof.

func (*QueryResponse) Descriptor

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

func (*QueryResponse) GetCode

func (m *QueryResponse) GetCode() uint32

func (*QueryResponse) GetCodespace

func (m *QueryResponse) GetCodespace() string

func (*QueryResponse) GetHeight

func (m *QueryResponse) GetHeight() int64

func (*QueryResponse) GetIndex

func (m *QueryResponse) GetIndex() int64

func (*QueryResponse) GetInfo

func (m *QueryResponse) GetInfo() string

func (*QueryResponse) GetKey

func (m *QueryResponse) GetKey() []byte

func (*QueryResponse) GetLog

func (m *QueryResponse) GetLog() string

func (*QueryResponse) GetProofOps

func (m *QueryResponse) GetProofOps() *v11.ProofOps

func (*QueryResponse) GetValue

func (m *QueryResponse) GetValue() []byte

func (QueryResponse) IsErr

func (r QueryResponse) IsErr() bool

IsErr returns true if Code is something other than OK.

func (QueryResponse) IsOK

func (r QueryResponse) IsOK() bool

IsOK returns true if Code is OK.

func (*QueryResponse) Marshal

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

func (*QueryResponse) MarshalJSON

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

func (*QueryResponse) MarshalTo

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

func (*QueryResponse) MarshalToSizedBuffer

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

func (*QueryResponse) ProtoMessage

func (*QueryResponse) ProtoMessage()

func (*QueryResponse) Reset

func (m *QueryResponse) Reset()

func (*QueryResponse) Size

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

func (*QueryResponse) String

func (m *QueryResponse) String() string

func (*QueryResponse) Unmarshal

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

func (*QueryResponse) UnmarshalJSON

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

func (*QueryResponse) XXX_DiscardUnknown

func (m *QueryResponse) XXX_DiscardUnknown()

func (*QueryResponse) XXX_Marshal

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

func (*QueryResponse) XXX_Merge

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

func (*QueryResponse) XXX_Size

func (m *QueryResponse) XXX_Size() int

func (*QueryResponse) XXX_Unmarshal

func (m *QueryResponse) 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() *ApplySnapshotChunkRequest

func (*Request) GetCheckTx

func (m *Request) GetCheckTx() *CheckTxRequest

func (*Request) GetCommit

func (m *Request) GetCommit() *CommitRequest

func (*Request) GetEcho

func (m *Request) GetEcho() *EchoRequest

func (*Request) GetExtendVote

func (m *Request) GetExtendVote() *ExtendVoteRequest

func (*Request) GetFinalizeBlock

func (m *Request) GetFinalizeBlock() *FinalizeBlockRequest

func (*Request) GetFlush

func (m *Request) GetFlush() *FlushRequest

func (*Request) GetInfo

func (m *Request) GetInfo() *InfoRequest

func (*Request) GetInitChain

func (m *Request) GetInitChain() *InitChainRequest

func (*Request) GetListSnapshots

func (m *Request) GetListSnapshots() *ListSnapshotsRequest

func (*Request) GetLoadSnapshotChunk

func (m *Request) GetLoadSnapshotChunk() *LoadSnapshotChunkRequest

func (*Request) GetOfferSnapshot

func (m *Request) GetOfferSnapshot() *OfferSnapshotRequest

func (*Request) GetPrepareProposal

func (m *Request) GetPrepareProposal() *PrepareProposalRequest

func (*Request) GetProcessProposal

func (m *Request) GetProcessProposal() *ProcessProposalRequest

func (*Request) GetQuery

func (m *Request) GetQuery() *QueryRequest

func (*Request) GetValue

func (m *Request) GetValue() isRequest_Value

func (*Request) GetVerifyVoteExtension

func (m *Request) GetVerifyVoteExtension() *VerifyVoteExtensionRequest

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 Request_ApplySnapshotChunk

type Request_ApplySnapshotChunk struct {
	ApplySnapshotChunk *ApplySnapshotChunkRequest `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 *CheckTxRequest `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 *CommitRequest `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 *EchoRequest `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 *ExtendVoteRequest `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 *FinalizeBlockRequest `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 *FlushRequest `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 *InfoRequest `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 *InitChainRequest `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 *ListSnapshotsRequest `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 *LoadSnapshotChunkRequest `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 *OfferSnapshotRequest `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 *PrepareProposalRequest `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 *ProcessProposalRequest `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 *QueryRequest `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 *VerifyVoteExtensionRequest `` /* 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() *ApplySnapshotChunkResponse

func (*Response) GetCheckTx

func (m *Response) GetCheckTx() *CheckTxResponse

func (*Response) GetCommit

func (m *Response) GetCommit() *CommitResponse

func (*Response) GetEcho

func (m *Response) GetEcho() *EchoResponse

func (*Response) GetException

func (m *Response) GetException() *ExceptionResponse

func (*Response) GetExtendVote

func (m *Response) GetExtendVote() *ExtendVoteResponse

func (*Response) GetFinalizeBlock

func (m *Response) GetFinalizeBlock() *FinalizeBlockResponse

func (*Response) GetFlush

func (m *Response) GetFlush() *FlushResponse

func (*Response) GetInfo

func (m *Response) GetInfo() *InfoResponse

func (*Response) GetInitChain

func (m *Response) GetInitChain() *InitChainResponse

func (*Response) GetListSnapshots

func (m *Response) GetListSnapshots() *ListSnapshotsResponse

func (*Response) GetLoadSnapshotChunk

func (m *Response) GetLoadSnapshotChunk() *LoadSnapshotChunkResponse

func (*Response) GetOfferSnapshot

func (m *Response) GetOfferSnapshot() *OfferSnapshotResponse

func (*Response) GetPrepareProposal

func (m *Response) GetPrepareProposal() *PrepareProposalResponse

func (*Response) GetProcessProposal

func (m *Response) GetProcessProposal() *ProcessProposalResponse

func (*Response) GetQuery

func (m *Response) GetQuery() *QueryResponse

func (*Response) GetValue

func (m *Response) GetValue() isResponse_Value

func (*Response) GetVerifyVoteExtension

func (m *Response) GetVerifyVoteExtension() *VerifyVoteExtensionResponse

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 Response_ApplySnapshotChunk

type Response_ApplySnapshotChunk struct {
	ApplySnapshotChunk *ApplySnapshotChunkResponse `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 *CheckTxResponse `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 *CommitResponse `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 *EchoResponse `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 *ExceptionResponse `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 *ExtendVoteResponse `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 *FinalizeBlockResponse `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 *FlushResponse `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 *InfoResponse `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 *InitChainResponse `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 *ListSnapshotsResponse `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 *LoadSnapshotChunkResponse `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 *OfferSnapshotResponse `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 *PrepareProposalResponse `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 *ProcessProposalResponse `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 *QueryResponse `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 *VerifyVoteExtensionResponse `` /* 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 Snapshot

type Snapshot 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"`
	Chunks   uint32 `protobuf:"varint,3,opt,name=chunks,proto3" json:"chunks,omitempty"`
	Hash     []byte `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"`
	Metadata []byte `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"`
}

Snapshot of the ABCI application state.

func (*Snapshot) Descriptor

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

func (*Snapshot) GetChunks

func (m *Snapshot) GetChunks() uint32

func (*Snapshot) GetFormat

func (m *Snapshot) GetFormat() uint32

func (*Snapshot) GetHash

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

func (*Snapshot) GetHeight

func (m *Snapshot) GetHeight() uint64

func (*Snapshot) GetMetadata

func (m *Snapshot) GetMetadata() []byte

func (*Snapshot) Marshal

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

func (*Snapshot) MarshalTo

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

func (*Snapshot) MarshalToSizedBuffer

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

func (*Snapshot) ProtoMessage

func (*Snapshot) ProtoMessage()

func (*Snapshot) Reset

func (m *Snapshot) Reset()

func (*Snapshot) Size

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

func (*Snapshot) String

func (m *Snapshot) String() string

func (*Snapshot) Unmarshal

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

func (*Snapshot) XXX_DiscardUnknown

func (m *Snapshot) XXX_DiscardUnknown()

func (*Snapshot) XXX_Marshal

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

func (*Snapshot) XXX_Merge

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

func (*Snapshot) XXX_Size

func (m *Snapshot) XXX_Size() int

func (*Snapshot) XXX_Unmarshal

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

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 UnimplementedABCIServiceServer

type UnimplementedABCIServiceServer struct {
}

UnimplementedABCIServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedABCIServiceServer) ApplySnapshotChunk

func (*UnimplementedABCIServiceServer) CheckTx

func (*UnimplementedABCIServiceServer) Commit

func (*UnimplementedABCIServiceServer) Echo

func (*UnimplementedABCIServiceServer) ExtendVote

func (*UnimplementedABCIServiceServer) FinalizeBlock

func (*UnimplementedABCIServiceServer) Flush

func (*UnimplementedABCIServiceServer) Info

func (*UnimplementedABCIServiceServer) InitChain

func (*UnimplementedABCIServiceServer) ListSnapshots

func (*UnimplementedABCIServiceServer) LoadSnapshotChunk

func (*UnimplementedABCIServiceServer) OfferSnapshot

func (*UnimplementedABCIServiceServer) PrepareProposal

func (*UnimplementedABCIServiceServer) ProcessProposal

func (*UnimplementedABCIServiceServer) Query

func (*UnimplementedABCIServiceServer) VerifyVoteExtension

type Validator

type Validator struct {
	Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// PubKey pub_key = 2 [(gogoproto.nullable)=false];
	Power int64 `protobuf:"varint,3,opt,name=power,proto3" json:"power,omitempty"`
}

Validator in the validator set.

func (*Validator) Descriptor

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

func (*Validator) GetAddress

func (m *Validator) GetAddress() []byte

func (*Validator) GetPower

func (m *Validator) GetPower() int64

func (*Validator) Marshal

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

func (*Validator) MarshalTo

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

func (*Validator) MarshalToSizedBuffer

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

func (*Validator) ProtoMessage

func (*Validator) ProtoMessage()

func (*Validator) Reset

func (m *Validator) Reset()

func (*Validator) Size

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

func (*Validator) String

func (m *Validator) String() string

func (*Validator) Unmarshal

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

func (*Validator) XXX_DiscardUnknown

func (m *Validator) XXX_DiscardUnknown()

func (*Validator) XXX_Marshal

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

func (*Validator) XXX_Merge

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

func (*Validator) XXX_Size

func (m *Validator) XXX_Size() int

func (*Validator) XXX_Unmarshal

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

type ValidatorUpdate

type ValidatorUpdate struct {
	PubKey v11.PublicKey `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key"`
	Power  int64         `protobuf:"varint,2,opt,name=power,proto3" json:"power,omitempty"`
}

ValidatorUpdate is a singular update to a validator set.

func (*ValidatorUpdate) Descriptor

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

func (*ValidatorUpdate) GetPower

func (m *ValidatorUpdate) GetPower() int64

func (*ValidatorUpdate) GetPubKey

func (m *ValidatorUpdate) GetPubKey() v11.PublicKey

func (*ValidatorUpdate) Marshal

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

func (*ValidatorUpdate) MarshalTo

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

func (*ValidatorUpdate) MarshalToSizedBuffer

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

func (*ValidatorUpdate) ProtoMessage

func (*ValidatorUpdate) ProtoMessage()

func (*ValidatorUpdate) Reset

func (m *ValidatorUpdate) Reset()

func (*ValidatorUpdate) Size

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

func (*ValidatorUpdate) String

func (m *ValidatorUpdate) String() string

func (*ValidatorUpdate) Unmarshal

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

func (*ValidatorUpdate) XXX_DiscardUnknown

func (m *ValidatorUpdate) XXX_DiscardUnknown()

func (*ValidatorUpdate) XXX_Marshal

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

func (*ValidatorUpdate) XXX_Merge

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

func (*ValidatorUpdate) XXX_Size

func (m *ValidatorUpdate) XXX_Size() int

func (*ValidatorUpdate) XXX_Unmarshal

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

type VerifyVoteExtensionRequest

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

VerifyVoteExtensionRequest is a request for the application to verify a vote extension produced by a different validator.

func (*VerifyVoteExtensionRequest) Descriptor

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

func (*VerifyVoteExtensionRequest) GetHash

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

func (*VerifyVoteExtensionRequest) GetHeight

func (m *VerifyVoteExtensionRequest) GetHeight() int64

func (*VerifyVoteExtensionRequest) GetValidatorAddress

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

func (*VerifyVoteExtensionRequest) GetVoteExtension

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

func (*VerifyVoteExtensionRequest) Marshal

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

func (*VerifyVoteExtensionRequest) MarshalTo

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

func (*VerifyVoteExtensionRequest) MarshalToSizedBuffer

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

func (*VerifyVoteExtensionRequest) ProtoMessage

func (*VerifyVoteExtensionRequest) ProtoMessage()

func (*VerifyVoteExtensionRequest) Reset

func (m *VerifyVoteExtensionRequest) Reset()

func (*VerifyVoteExtensionRequest) Size

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

func (*VerifyVoteExtensionRequest) String

func (m *VerifyVoteExtensionRequest) String() string

func (*VerifyVoteExtensionRequest) Unmarshal

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

func (*VerifyVoteExtensionRequest) XXX_DiscardUnknown

func (m *VerifyVoteExtensionRequest) XXX_DiscardUnknown()

func (*VerifyVoteExtensionRequest) XXX_Marshal

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

func (*VerifyVoteExtensionRequest) XXX_Merge

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

func (*VerifyVoteExtensionRequest) XXX_Size

func (m *VerifyVoteExtensionRequest) XXX_Size() int

func (*VerifyVoteExtensionRequest) XXX_Unmarshal

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

type VerifyVoteExtensionResponse

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

VerifyVoteExtensionResponse indicates the ABCI application's decision whenever the vote extension should be accepted or not.

func (*VerifyVoteExtensionResponse) Descriptor

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

func (*VerifyVoteExtensionResponse) GetStatus

func (VerifyVoteExtensionResponse) IsAccepted

func (r VerifyVoteExtensionResponse) IsAccepted() bool

func (VerifyVoteExtensionResponse) IsStatusUnknown

func (r VerifyVoteExtensionResponse) IsStatusUnknown() bool

IsStatusUnknown returns true if Code is Unknown

func (*VerifyVoteExtensionResponse) Marshal

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

func (*VerifyVoteExtensionResponse) MarshalTo

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

func (*VerifyVoteExtensionResponse) MarshalToSizedBuffer

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

func (*VerifyVoteExtensionResponse) ProtoMessage

func (*VerifyVoteExtensionResponse) ProtoMessage()

func (*VerifyVoteExtensionResponse) Reset

func (m *VerifyVoteExtensionResponse) Reset()

func (*VerifyVoteExtensionResponse) Size

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

func (*VerifyVoteExtensionResponse) String

func (m *VerifyVoteExtensionResponse) String() string

func (*VerifyVoteExtensionResponse) Unmarshal

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

func (*VerifyVoteExtensionResponse) XXX_DiscardUnknown

func (m *VerifyVoteExtensionResponse) XXX_DiscardUnknown()

func (*VerifyVoteExtensionResponse) XXX_Marshal

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

func (*VerifyVoteExtensionResponse) XXX_Merge

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

func (*VerifyVoteExtensionResponse) XXX_Size

func (m *VerifyVoteExtensionResponse) XXX_Size() int

func (*VerifyVoteExtensionResponse) XXX_Unmarshal

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

type VerifyVoteExtensionStatus

type VerifyVoteExtensionStatus int32

VerifyVoteExtensionStatus is the status of the vote extension verification.

const (
	// Unknown
	VERIFY_VOTE_EXTENSION_STATUS_UNKNOWN VerifyVoteExtensionStatus = 0
	// Accepted
	VERIFY_VOTE_EXTENSION_STATUS_ACCEPT VerifyVoteExtensionStatus = 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.
	VERIFY_VOTE_EXTENSION_STATUS_REJECT VerifyVoteExtensionStatus = 2
)

func (VerifyVoteExtensionStatus) EnumDescriptor

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

func (VerifyVoteExtensionStatus) String

func (x VerifyVoteExtensionStatus) String() string

type VoteInfo

type VoteInfo struct {
	Validator   Validator      `protobuf:"bytes,1,opt,name=validator,proto3" json:"validator"`
	BlockIdFlag v1.BlockIDFlag `` /* 132-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() v1.BlockIDFlag

func (*VoteInfo) GetValidator

func (m *VoteInfo) GetValidator() 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