v1beta2

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: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

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 MisbehaviorType_name = map[int32]string{
	0: "UNKNOWN",
	1: "DUPLICATE_VOTE",
	2: "LIGHT_CLIENT_ATTACK",
}
View Source
var MisbehaviorType_value = map[string]int32{
	"UNKNOWN":             0,
	"DUPLICATE_VOTE":      1,
	"LIGHT_CLIENT_ATTACK": 2,
}
View Source
var ResponseProcessProposal_ProposalStatus_name = map[int32]string{
	0: "UNKNOWN",
	1: "ACCEPT",
	2: "REJECT",
}
View Source
var ResponseProcessProposal_ProposalStatus_value = map[string]int32{
	"UNKNOWN": 0,
	"ACCEPT":  1,
	"REJECT":  2,
}

Functions

func RegisterABCIApplicationServer

func RegisterABCIApplicationServer(s grpc1.Server, srv ABCIApplicationServer)

Types

type ABCIApplicationClient

type ABCIApplicationClient interface {
	// Echo returns back the same message it is sent.
	Echo(ctx context.Context, in *v1beta1.RequestEcho, opts ...grpc.CallOption) (*v1beta1.ResponseEcho, error)
	// Flush flushes the write buffer.
	Flush(ctx context.Context, in *v1beta1.RequestFlush, opts ...grpc.CallOption) (*v1beta1.ResponseFlush, error)
	// Info returns information about the application state.
	Info(ctx context.Context, in *RequestInfo, opts ...grpc.CallOption) (*v1beta1.ResponseInfo, error)
	// DeliverTx applies a transaction.
	DeliverTx(ctx context.Context, in *v1beta1.RequestDeliverTx, opts ...grpc.CallOption) (*ResponseDeliverTx, error)
	// CheckTx validates a transaction.
	CheckTx(ctx context.Context, in *v1beta1.RequestCheckTx, opts ...grpc.CallOption) (*ResponseCheckTx, error)
	// Query queries the application state.
	Query(ctx context.Context, in *v1beta1.RequestQuery, opts ...grpc.CallOption) (*v1beta1.ResponseQuery, error)
	// Commit commits a block of transactions.
	Commit(ctx context.Context, in *v1beta1.RequestCommit, opts ...grpc.CallOption) (*v1beta1.ResponseCommit, error)
	// InitChain initializes the blockchain.
	InitChain(ctx context.Context, in *RequestInitChain, opts ...grpc.CallOption) (*ResponseInitChain, error)
	// BeginBlock signals the beginning of a block.
	BeginBlock(ctx context.Context, in *RequestBeginBlock, opts ...grpc.CallOption) (*ResponseBeginBlock, error)
	// EndBlock signals the end of a block, returns changes to the validator set.
	EndBlock(ctx context.Context, in *v1beta1.RequestEndBlock, opts ...grpc.CallOption) (*ResponseEndBlock, error)
	// ListSnapshots lists all the available snapshots.
	ListSnapshots(ctx context.Context, in *v1beta1.RequestListSnapshots, opts ...grpc.CallOption) (*v1beta1.ResponseListSnapshots, error)
	// OfferSnapshot sends a snapshot offer.
	OfferSnapshot(ctx context.Context, in *v1beta1.RequestOfferSnapshot, opts ...grpc.CallOption) (*v1beta1.ResponseOfferSnapshot, error)
	// LoadSnapshotChunk returns a chunk of snapshot.
	LoadSnapshotChunk(ctx context.Context, in *v1beta1.RequestLoadSnapshotChunk, opts ...grpc.CallOption) (*v1beta1.ResponseLoadSnapshotChunk, error)
	// ApplySnapshotChunk applies a chunk of snapshot.
	ApplySnapshotChunk(ctx context.Context, in *v1beta1.RequestApplySnapshotChunk, opts ...grpc.CallOption) (*v1beta1.ResponseApplySnapshotChunk, error)
	// PrepareProposal returns a proposal for the next block.
	PrepareProposal(ctx context.Context, in *RequestPrepareProposal, opts ...grpc.CallOption) (*ResponsePrepareProposal, error)
	// ProcessProposal validates a proposal.
	ProcessProposal(ctx context.Context, in *RequestProcessProposal, opts ...grpc.CallOption) (*ResponseProcessProposal, error)
}

ABCIApplicationClient is the client API for ABCIApplication service.

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

func NewABCIApplicationClient

func NewABCIApplicationClient(cc grpc1.ClientConn) ABCIApplicationClient

type ABCIApplicationServer

type ABCIApplicationServer interface {
	// Echo returns back the same message it is sent.
	Echo(context.Context, *v1beta1.RequestEcho) (*v1beta1.ResponseEcho, error)
	// Flush flushes the write buffer.
	Flush(context.Context, *v1beta1.RequestFlush) (*v1beta1.ResponseFlush, error)
	// Info returns information about the application state.
	Info(context.Context, *RequestInfo) (*v1beta1.ResponseInfo, error)
	// DeliverTx applies a transaction.
	DeliverTx(context.Context, *v1beta1.RequestDeliverTx) (*ResponseDeliverTx, error)
	// CheckTx validates a transaction.
	CheckTx(context.Context, *v1beta1.RequestCheckTx) (*ResponseCheckTx, error)
	// Query queries the application state.
	Query(context.Context, *v1beta1.RequestQuery) (*v1beta1.ResponseQuery, error)
	// Commit commits a block of transactions.
	Commit(context.Context, *v1beta1.RequestCommit) (*v1beta1.ResponseCommit, error)
	// InitChain initializes the blockchain.
	InitChain(context.Context, *RequestInitChain) (*ResponseInitChain, error)
	// BeginBlock signals the beginning of a block.
	BeginBlock(context.Context, *RequestBeginBlock) (*ResponseBeginBlock, error)
	// EndBlock signals the end of a block, returns changes to the validator set.
	EndBlock(context.Context, *v1beta1.RequestEndBlock) (*ResponseEndBlock, error)
	// ListSnapshots lists all the available snapshots.
	ListSnapshots(context.Context, *v1beta1.RequestListSnapshots) (*v1beta1.ResponseListSnapshots, error)
	// OfferSnapshot sends a snapshot offer.
	OfferSnapshot(context.Context, *v1beta1.RequestOfferSnapshot) (*v1beta1.ResponseOfferSnapshot, error)
	// LoadSnapshotChunk returns a chunk of snapshot.
	LoadSnapshotChunk(context.Context, *v1beta1.RequestLoadSnapshotChunk) (*v1beta1.ResponseLoadSnapshotChunk, error)
	// ApplySnapshotChunk applies a chunk of snapshot.
	ApplySnapshotChunk(context.Context, *v1beta1.RequestApplySnapshotChunk) (*v1beta1.ResponseApplySnapshotChunk, error)
	// PrepareProposal returns a proposal for the next block.
	PrepareProposal(context.Context, *RequestPrepareProposal) (*ResponsePrepareProposal, error)
	// ProcessProposal validates a proposal.
	ProcessProposal(context.Context, *RequestProcessProposal) (*ResponseProcessProposal, error)
}

ABCIApplicationServer is the server API for ABCIApplication service.

type CommitInfo

type CommitInfo struct {
	Round int32              `protobuf:"varint,1,opt,name=round,proto3" json:"round,omitempty"`
	Votes []v1beta1.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() []v1beta1.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 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 (defined in .v1beta3) 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 ExtendedCommitInfo

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

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

func (*ExtendedCommitInfo) Descriptor

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

func (*ExtendedCommitInfo) GetRound

func (m *ExtendedCommitInfo) GetRound() int32

func (*ExtendedCommitInfo) GetVotes

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

func (*ExtendedCommitInfo) Marshal

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

func (*ExtendedCommitInfo) MarshalTo

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

func (*ExtendedCommitInfo) MarshalToSizedBuffer

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

func (*ExtendedCommitInfo) ProtoMessage

func (*ExtendedCommitInfo) ProtoMessage()

func (*ExtendedCommitInfo) Reset

func (m *ExtendedCommitInfo) Reset()

func (*ExtendedCommitInfo) Size

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

func (*ExtendedCommitInfo) String

func (m *ExtendedCommitInfo) String() string

func (*ExtendedCommitInfo) Unmarshal

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

func (*ExtendedCommitInfo) XXX_DiscardUnknown

func (m *ExtendedCommitInfo) XXX_DiscardUnknown()

func (*ExtendedCommitInfo) XXX_Marshal

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

func (*ExtendedCommitInfo) XXX_Merge

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

func (*ExtendedCommitInfo) XXX_Size

func (m *ExtendedCommitInfo) XXX_Size() int

func (*ExtendedCommitInfo) XXX_Unmarshal

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

type ExtendedVoteInfo

type ExtendedVoteInfo struct {
	// The validator that sent the vote.
	Validator v1beta1.Validator `protobuf:"bytes,1,opt,name=validator,proto3" json:"validator"`
	// Indicates whether the validator signed the last block, allowing for rewards based on validator availability.
	SignedLastBlock bool `protobuf:"varint,2,opt,name=signed_last_block,json=signedLastBlock,proto3" json:"signed_last_block,omitempty"`
	// Non-deterministic extension provided by the sending validator's application.
	VoteExtension []byte `protobuf:"bytes,3,opt,name=vote_extension,json=voteExtension,proto3" json:"vote_extension,omitempty"`
}

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

func (*ExtendedVoteInfo) Descriptor

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

func (*ExtendedVoteInfo) GetSignedLastBlock

func (m *ExtendedVoteInfo) GetSignedLastBlock() bool

func (*ExtendedVoteInfo) GetValidator

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

func (*ExtendedVoteInfo) GetVoteExtension

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

func (*ExtendedVoteInfo) Marshal

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

func (*ExtendedVoteInfo) MarshalTo

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

func (*ExtendedVoteInfo) MarshalToSizedBuffer

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

func (*ExtendedVoteInfo) ProtoMessage

func (*ExtendedVoteInfo) ProtoMessage()

func (*ExtendedVoteInfo) Reset

func (m *ExtendedVoteInfo) Reset()

func (*ExtendedVoteInfo) Size

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

func (*ExtendedVoteInfo) String

func (m *ExtendedVoteInfo) String() string

func (*ExtendedVoteInfo) Unmarshal

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

func (*ExtendedVoteInfo) XXX_DiscardUnknown

func (m *ExtendedVoteInfo) XXX_DiscardUnknown()

func (*ExtendedVoteInfo) XXX_Marshal

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

func (*ExtendedVoteInfo) XXX_Merge

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

func (*ExtendedVoteInfo) XXX_Size

func (m *ExtendedVoteInfo) XXX_Size() int

func (*ExtendedVoteInfo) XXX_Unmarshal

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

type Misbehavior

type Misbehavior struct {
	Type MisbehaviorType `protobuf:"varint,1,opt,name=type,proto3,enum=cometbft.abci.v1beta2.MisbehaviorType" json:"type,omitempty"`
	// The offending validator
	Validator v1beta1.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() v1beta1.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
	MisbehaviorType_UNKNOWN MisbehaviorType = 0
	// Duplicate vote
	MisbehaviorType_DUPLICATE_VOTE MisbehaviorType = 1
	// Light client attack
	MisbehaviorType_LIGHT_CLIENT_ATTACK MisbehaviorType = 2
)

func (MisbehaviorType) EnumDescriptor

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

func (MisbehaviorType) String

func (x MisbehaviorType) String() string

type Request

type Request struct {
	// 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_BeginBlock
	//	*Request_CheckTx
	//	*Request_DeliverTx
	//	*Request_EndBlock
	//	*Request_Commit
	//	*Request_ListSnapshots
	//	*Request_OfferSnapshot
	//	*Request_LoadSnapshotChunk
	//	*Request_ApplySnapshotChunk
	//	*Request_PrepareProposal
	//	*Request_ProcessProposal
	Value isRequest_Value `protobuf_oneof:"value"`
}

Request represents a request to the ABCI application.

func (*Request) Descriptor

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

func (*Request) GetApplySnapshotChunk

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

func (*Request) GetBeginBlock

func (m *Request) GetBeginBlock() *RequestBeginBlock

func (*Request) GetCheckTx

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

func (*Request) GetCommit

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

func (*Request) GetDeliverTx

func (m *Request) GetDeliverTx() *v1beta1.RequestDeliverTx

func (*Request) GetEcho

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

func (*Request) GetEndBlock

func (m *Request) GetEndBlock() *v1beta1.RequestEndBlock

func (*Request) GetFlush

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

func (*Request) GetInfo

func (m *Request) GetInfo() *RequestInfo

func (*Request) GetInitChain

func (m *Request) GetInitChain() *RequestInitChain

func (*Request) GetListSnapshots

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

func (*Request) GetLoadSnapshotChunk

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

func (*Request) GetOfferSnapshot

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

func (*Request) GetPrepareProposal

func (m *Request) GetPrepareProposal() *RequestPrepareProposal

func (*Request) GetProcessProposal

func (m *Request) GetProcessProposal() *RequestProcessProposal

func (*Request) GetQuery

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

func (*Request) GetValue

func (m *Request) GetValue() isRequest_Value

func (*Request) 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 RequestBeginBlock

type RequestBeginBlock struct {
	Hash                []byte          `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	Header              v1beta11.Header `protobuf:"bytes,2,opt,name=header,proto3" json:"header"`
	LastCommitInfo      CommitInfo      `protobuf:"bytes,3,opt,name=last_commit_info,json=lastCommitInfo,proto3" json:"last_commit_info"`
	ByzantineValidators []Misbehavior   `protobuf:"bytes,4,rep,name=byzantine_validators,json=byzantineValidators,proto3" json:"byzantine_validators"`
}

RequestBeginBlock indicates the beginning of committing the block.

func (*RequestBeginBlock) Descriptor

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

func (*RequestBeginBlock) GetByzantineValidators

func (m *RequestBeginBlock) GetByzantineValidators() []Misbehavior

func (*RequestBeginBlock) GetHash

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

func (*RequestBeginBlock) GetHeader

func (m *RequestBeginBlock) GetHeader() v1beta11.Header

func (*RequestBeginBlock) GetLastCommitInfo

func (m *RequestBeginBlock) GetLastCommitInfo() CommitInfo

func (*RequestBeginBlock) Marshal

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

func (*RequestBeginBlock) MarshalTo

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

func (*RequestBeginBlock) MarshalToSizedBuffer

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

func (*RequestBeginBlock) ProtoMessage

func (*RequestBeginBlock) ProtoMessage()

func (*RequestBeginBlock) Reset

func (m *RequestBeginBlock) Reset()

func (*RequestBeginBlock) Size

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

func (*RequestBeginBlock) String

func (m *RequestBeginBlock) String() string

func (*RequestBeginBlock) Unmarshal

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

func (*RequestBeginBlock) XXX_DiscardUnknown

func (m *RequestBeginBlock) XXX_DiscardUnknown()

func (*RequestBeginBlock) XXX_Marshal

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

func (*RequestBeginBlock) XXX_Merge

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

func (*RequestBeginBlock) XXX_Size

func (m *RequestBeginBlock) XXX_Size() int

func (*RequestBeginBlock) XXX_Unmarshal

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

type RequestInfo

type RequestInfo struct {
	Version      string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	BlockVersion uint64 `protobuf:"varint,2,opt,name=block_version,json=blockVersion,proto3" json:"block_version,omitempty"`
	P2PVersion   uint64 `protobuf:"varint,3,opt,name=p2p_version,json=p2pVersion,proto3" json:"p2p_version,omitempty"`
	AbciVersion  string `protobuf:"bytes,4,opt,name=abci_version,json=abciVersion,proto3" json:"abci_version,omitempty"`
}

RequestInfo is a request for the ABCI application version.

func (*RequestInfo) Descriptor

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

func (*RequestInfo) GetAbciVersion

func (m *RequestInfo) GetAbciVersion() string

func (*RequestInfo) GetBlockVersion

func (m *RequestInfo) GetBlockVersion() uint64

func (*RequestInfo) GetP2PVersion

func (m *RequestInfo) GetP2PVersion() uint64

func (*RequestInfo) GetVersion

func (m *RequestInfo) GetVersion() string

func (*RequestInfo) Marshal

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

func (*RequestInfo) MarshalTo

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

func (*RequestInfo) MarshalToSizedBuffer

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

func (*RequestInfo) ProtoMessage

func (*RequestInfo) ProtoMessage()

func (*RequestInfo) Reset

func (m *RequestInfo) Reset()

func (*RequestInfo) Size

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

func (*RequestInfo) String

func (m *RequestInfo) String() string

func (*RequestInfo) Unmarshal

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

func (*RequestInfo) XXX_DiscardUnknown

func (m *RequestInfo) XXX_DiscardUnknown()

func (*RequestInfo) XXX_Marshal

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

func (*RequestInfo) XXX_Merge

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

func (*RequestInfo) XXX_Size

func (m *RequestInfo) XXX_Size() int

func (*RequestInfo) XXX_Unmarshal

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

type RequestInitChain

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

RequestInitChain is a request to initialize the blockchain.

func (*RequestInitChain) Descriptor

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

func (*RequestInitChain) GetAppStateBytes

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

func (*RequestInitChain) GetChainId

func (m *RequestInitChain) GetChainId() string

func (*RequestInitChain) GetConsensusParams

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

func (*RequestInitChain) GetInitialHeight

func (m *RequestInitChain) GetInitialHeight() int64

func (*RequestInitChain) GetTime

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

func (*RequestInitChain) GetValidators

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

func (*RequestInitChain) Marshal

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

func (*RequestInitChain) MarshalTo

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

func (*RequestInitChain) MarshalToSizedBuffer

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

func (*RequestInitChain) ProtoMessage

func (*RequestInitChain) ProtoMessage()

func (*RequestInitChain) Reset

func (m *RequestInitChain) Reset()

func (*RequestInitChain) Size

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

func (*RequestInitChain) String

func (m *RequestInitChain) String() string

func (*RequestInitChain) Unmarshal

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

func (*RequestInitChain) XXX_DiscardUnknown

func (m *RequestInitChain) XXX_DiscardUnknown()

func (*RequestInitChain) XXX_Marshal

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

func (*RequestInitChain) XXX_Merge

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

func (*RequestInitChain) XXX_Size

func (m *RequestInitChain) XXX_Size() int

func (*RequestInitChain) XXX_Unmarshal

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

type RequestPrepareProposal

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

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

func (*RequestPrepareProposal) Descriptor

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

func (*RequestPrepareProposal) GetHeight

func (m *RequestPrepareProposal) GetHeight() int64

func (*RequestPrepareProposal) GetLocalLastCommit

func (m *RequestPrepareProposal) GetLocalLastCommit() ExtendedCommitInfo

func (*RequestPrepareProposal) GetMaxTxBytes

func (m *RequestPrepareProposal) GetMaxTxBytes() int64

func (*RequestPrepareProposal) GetMisbehavior

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

func (*RequestPrepareProposal) GetNextValidatorsHash

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

func (*RequestPrepareProposal) GetProposerAddress

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

func (*RequestPrepareProposal) GetTime

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

func (*RequestPrepareProposal) GetTxs

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

func (*RequestPrepareProposal) Marshal

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

func (*RequestPrepareProposal) MarshalTo

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

func (*RequestPrepareProposal) MarshalToSizedBuffer

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

func (*RequestPrepareProposal) ProtoMessage

func (*RequestPrepareProposal) ProtoMessage()

func (*RequestPrepareProposal) Reset

func (m *RequestPrepareProposal) Reset()

func (*RequestPrepareProposal) Size

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

func (*RequestPrepareProposal) String

func (m *RequestPrepareProposal) String() string

func (*RequestPrepareProposal) Unmarshal

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

func (*RequestPrepareProposal) XXX_DiscardUnknown

func (m *RequestPrepareProposal) XXX_DiscardUnknown()

func (*RequestPrepareProposal) XXX_Marshal

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

func (*RequestPrepareProposal) XXX_Merge

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

func (*RequestPrepareProposal) XXX_Size

func (m *RequestPrepareProposal) XXX_Size() int

func (*RequestPrepareProposal) XXX_Unmarshal

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

type RequestProcessProposal

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

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

func (*RequestProcessProposal) Descriptor

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

func (*RequestProcessProposal) GetHash

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

func (*RequestProcessProposal) GetHeight

func (m *RequestProcessProposal) GetHeight() int64

func (*RequestProcessProposal) GetMisbehavior

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

func (*RequestProcessProposal) GetNextValidatorsHash

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

func (*RequestProcessProposal) GetProposedLastCommit

func (m *RequestProcessProposal) GetProposedLastCommit() CommitInfo

func (*RequestProcessProposal) GetProposerAddress

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

func (*RequestProcessProposal) GetTime

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

func (*RequestProcessProposal) GetTxs

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

func (*RequestProcessProposal) Marshal

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

func (*RequestProcessProposal) MarshalTo

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

func (*RequestProcessProposal) MarshalToSizedBuffer

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

func (*RequestProcessProposal) ProtoMessage

func (*RequestProcessProposal) ProtoMessage()

func (*RequestProcessProposal) Reset

func (m *RequestProcessProposal) Reset()

func (*RequestProcessProposal) Size

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

func (*RequestProcessProposal) String

func (m *RequestProcessProposal) String() string

func (*RequestProcessProposal) Unmarshal

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

func (*RequestProcessProposal) XXX_DiscardUnknown

func (m *RequestProcessProposal) XXX_DiscardUnknown()

func (*RequestProcessProposal) XXX_Marshal

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

func (*RequestProcessProposal) XXX_Merge

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

func (*RequestProcessProposal) XXX_Size

func (m *RequestProcessProposal) XXX_Size() int

func (*RequestProcessProposal) XXX_Unmarshal

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

type Request_ApplySnapshotChunk

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

func (*Request_ApplySnapshotChunk) MarshalTo

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

func (*Request_ApplySnapshotChunk) MarshalToSizedBuffer

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

func (*Request_ApplySnapshotChunk) Size

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

type Request_BeginBlock

type Request_BeginBlock struct {
	BeginBlock *RequestBeginBlock `protobuf:"bytes,7,opt,name=begin_block,json=beginBlock,proto3,oneof" json:"begin_block,omitempty"`
}

func (*Request_BeginBlock) MarshalTo

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

func (*Request_BeginBlock) MarshalToSizedBuffer

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

func (*Request_BeginBlock) Size

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

type Request_CheckTx

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

func (*Request_CheckTx) MarshalTo

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

func (*Request_CheckTx) MarshalToSizedBuffer

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

func (*Request_CheckTx) Size

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

type Request_Commit

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

func (*Request_Commit) MarshalTo

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

func (*Request_Commit) MarshalToSizedBuffer

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

func (*Request_Commit) Size

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

type Request_DeliverTx

type Request_DeliverTx struct {
	DeliverTx *v1beta1.RequestDeliverTx `protobuf:"bytes,9,opt,name=deliver_tx,json=deliverTx,proto3,oneof" json:"deliver_tx,omitempty"`
}

func (*Request_DeliverTx) MarshalTo

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

func (*Request_DeliverTx) MarshalToSizedBuffer

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

func (*Request_DeliverTx) Size

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

type Request_Echo

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

func (*Request_Echo) MarshalTo

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

func (*Request_Echo) MarshalToSizedBuffer

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

func (*Request_Echo) Size

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

type Request_EndBlock

type Request_EndBlock struct {
	EndBlock *v1beta1.RequestEndBlock `protobuf:"bytes,10,opt,name=end_block,json=endBlock,proto3,oneof" json:"end_block,omitempty"`
}

func (*Request_EndBlock) MarshalTo

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

func (*Request_EndBlock) MarshalToSizedBuffer

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

func (*Request_EndBlock) Size

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

type Request_Flush

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

func (*Request_Flush) MarshalTo

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

func (*Request_Flush) MarshalToSizedBuffer

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

func (*Request_Flush) Size

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

type Request_Info

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

func (*Request_Info) MarshalTo

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

func (*Request_Info) MarshalToSizedBuffer

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

func (*Request_Info) Size

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

type Request_InitChain

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

func (*Request_InitChain) MarshalTo

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

func (*Request_InitChain) MarshalToSizedBuffer

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

func (*Request_InitChain) Size

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

type Request_ListSnapshots

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

func (*Request_ListSnapshots) MarshalTo

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

func (*Request_ListSnapshots) MarshalToSizedBuffer

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

func (*Request_ListSnapshots) Size

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

type Request_LoadSnapshotChunk

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

func (*Request_LoadSnapshotChunk) MarshalTo

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

func (*Request_LoadSnapshotChunk) MarshalToSizedBuffer

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

func (*Request_LoadSnapshotChunk) Size

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

type Request_OfferSnapshot

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

func (*Request_OfferSnapshot) MarshalTo

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

func (*Request_OfferSnapshot) MarshalToSizedBuffer

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

func (*Request_OfferSnapshot) Size

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

type Request_PrepareProposal

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

func (*Request_PrepareProposal) MarshalTo

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

func (*Request_PrepareProposal) MarshalToSizedBuffer

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

func (*Request_PrepareProposal) Size

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

type Request_ProcessProposal

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

func (*Request_ProcessProposal) MarshalTo

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

func (*Request_ProcessProposal) MarshalToSizedBuffer

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

func (*Request_ProcessProposal) Size

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

type Request_Query

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

func (*Request_Query) MarshalTo

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

func (*Request_Query) MarshalToSizedBuffer

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

func (*Request_Query) Size

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

type 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_BeginBlock
	//	*Response_CheckTx
	//	*Response_DeliverTx
	//	*Response_EndBlock
	//	*Response_Commit
	//	*Response_ListSnapshots
	//	*Response_OfferSnapshot
	//	*Response_LoadSnapshotChunk
	//	*Response_ApplySnapshotChunk
	//	*Response_PrepareProposal
	//	*Response_ProcessProposal
	Value isResponse_Value `protobuf_oneof:"value"`
}

Response represents a response from the ABCI application.

func (*Response) Descriptor

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

func (*Response) GetApplySnapshotChunk

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

func (*Response) GetBeginBlock

func (m *Response) GetBeginBlock() *ResponseBeginBlock

func (*Response) GetCheckTx

func (m *Response) GetCheckTx() *ResponseCheckTx

func (*Response) GetCommit

func (m *Response) GetCommit() *v1beta1.ResponseCommit

func (*Response) GetDeliverTx

func (m *Response) GetDeliverTx() *ResponseDeliverTx

func (*Response) GetEcho

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

func (*Response) GetEndBlock

func (m *Response) GetEndBlock() *ResponseEndBlock

func (*Response) GetException

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

func (*Response) GetFlush

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

func (*Response) GetInfo

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

func (*Response) GetInitChain

func (m *Response) GetInitChain() *ResponseInitChain

func (*Response) GetListSnapshots

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

func (*Response) GetLoadSnapshotChunk

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

func (*Response) GetOfferSnapshot

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

func (*Response) GetPrepareProposal

func (m *Response) GetPrepareProposal() *ResponsePrepareProposal

func (*Response) GetProcessProposal

func (m *Response) GetProcessProposal() *ResponseProcessProposal

func (*Response) GetQuery

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

func (*Response) GetValue

func (m *Response) GetValue() isResponse_Value

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 ResponseBeginBlock

type ResponseBeginBlock struct {
	Events []Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
}

ResponseBeginBlock contains a list of block-level events.

func (*ResponseBeginBlock) Descriptor

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

func (*ResponseBeginBlock) GetEvents

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

func (*ResponseBeginBlock) Marshal

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

func (*ResponseBeginBlock) MarshalTo

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

func (*ResponseBeginBlock) MarshalToSizedBuffer

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

func (*ResponseBeginBlock) ProtoMessage

func (*ResponseBeginBlock) ProtoMessage()

func (*ResponseBeginBlock) Reset

func (m *ResponseBeginBlock) Reset()

func (*ResponseBeginBlock) Size

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

func (*ResponseBeginBlock) String

func (m *ResponseBeginBlock) String() string

func (*ResponseBeginBlock) Unmarshal

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

func (*ResponseBeginBlock) XXX_DiscardUnknown

func (m *ResponseBeginBlock) XXX_DiscardUnknown()

func (*ResponseBeginBlock) XXX_Marshal

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

func (*ResponseBeginBlock) XXX_Merge

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

func (*ResponseBeginBlock) XXX_Size

func (m *ResponseBeginBlock) XXX_Size() int

func (*ResponseBeginBlock) XXX_Unmarshal

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

type ResponseCheckTx

type ResponseCheckTx struct {
	Code      uint32  `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Data      []byte  `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	Log       string  `protobuf:"bytes,3,opt,name=log,proto3" json:"log,omitempty"`
	Info      string  `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty"`
	GasWanted int64   `protobuf:"varint,5,opt,name=gas_wanted,proto3" json:"gas_wanted,omitempty"`
	GasUsed   int64   `protobuf:"varint,6,opt,name=gas_used,proto3" json:"gas_used,omitempty"`
	Events    []Event `protobuf:"bytes,7,rep,name=events,proto3" json:"events,omitempty"`
	Codespace string  `protobuf:"bytes,8,opt,name=codespace,proto3" json:"codespace,omitempty"`
	Sender    string  `protobuf:"bytes,9,opt,name=sender,proto3" json:"sender,omitempty"`
	Priority  int64   `protobuf:"varint,10,opt,name=priority,proto3" json:"priority,omitempty"`
	// mempool_error is set by CometBFT.
	// ABCI applications creating a ResponseCheckTX should not set mempool_error.
	MempoolError string `protobuf:"bytes,11,opt,name=mempool_error,json=mempoolError,proto3" json:"mempool_error,omitempty"`
}

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

func (*ResponseCheckTx) Descriptor

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

func (*ResponseCheckTx) GetCode

func (m *ResponseCheckTx) GetCode() uint32

func (*ResponseCheckTx) GetCodespace

func (m *ResponseCheckTx) GetCodespace() string

func (*ResponseCheckTx) GetData

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

func (*ResponseCheckTx) GetEvents

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

func (*ResponseCheckTx) GetGasUsed

func (m *ResponseCheckTx) GetGasUsed() int64

func (*ResponseCheckTx) GetGasWanted

func (m *ResponseCheckTx) GetGasWanted() int64

func (*ResponseCheckTx) GetInfo

func (m *ResponseCheckTx) GetInfo() string

func (*ResponseCheckTx) GetLog

func (m *ResponseCheckTx) GetLog() string

func (*ResponseCheckTx) GetMempoolError

func (m *ResponseCheckTx) GetMempoolError() string

func (*ResponseCheckTx) GetPriority

func (m *ResponseCheckTx) GetPriority() int64

func (*ResponseCheckTx) GetSender

func (m *ResponseCheckTx) GetSender() string

func (*ResponseCheckTx) Marshal

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

func (*ResponseCheckTx) MarshalTo

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

func (*ResponseCheckTx) MarshalToSizedBuffer

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

func (*ResponseCheckTx) ProtoMessage

func (*ResponseCheckTx) ProtoMessage()

func (*ResponseCheckTx) Reset

func (m *ResponseCheckTx) Reset()

func (*ResponseCheckTx) Size

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

func (*ResponseCheckTx) String

func (m *ResponseCheckTx) String() string

func (*ResponseCheckTx) Unmarshal

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

func (*ResponseCheckTx) XXX_DiscardUnknown

func (m *ResponseCheckTx) XXX_DiscardUnknown()

func (*ResponseCheckTx) XXX_Marshal

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

func (*ResponseCheckTx) XXX_Merge

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

func (*ResponseCheckTx) XXX_Size

func (m *ResponseCheckTx) XXX_Size() int

func (*ResponseCheckTx) XXX_Unmarshal

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

type ResponseDeliverTx

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

ResponseDeliverTx contains a result of committing the given transaction and a list of events.

func (*ResponseDeliverTx) Descriptor

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

func (*ResponseDeliverTx) GetCode

func (m *ResponseDeliverTx) GetCode() uint32

func (*ResponseDeliverTx) GetCodespace

func (m *ResponseDeliverTx) GetCodespace() string

func (*ResponseDeliverTx) GetData

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

func (*ResponseDeliverTx) GetEvents

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

func (*ResponseDeliverTx) GetGasUsed

func (m *ResponseDeliverTx) GetGasUsed() int64

func (*ResponseDeliverTx) GetGasWanted

func (m *ResponseDeliverTx) GetGasWanted() int64

func (*ResponseDeliverTx) GetInfo

func (m *ResponseDeliverTx) GetInfo() string

func (*ResponseDeliverTx) GetLog

func (m *ResponseDeliverTx) GetLog() string

func (*ResponseDeliverTx) Marshal

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

func (*ResponseDeliverTx) MarshalTo

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

func (*ResponseDeliverTx) MarshalToSizedBuffer

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

func (*ResponseDeliverTx) ProtoMessage

func (*ResponseDeliverTx) ProtoMessage()

func (*ResponseDeliverTx) Reset

func (m *ResponseDeliverTx) Reset()

func (*ResponseDeliverTx) Size

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

func (*ResponseDeliverTx) String

func (m *ResponseDeliverTx) String() string

func (*ResponseDeliverTx) Unmarshal

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

func (*ResponseDeliverTx) XXX_DiscardUnknown

func (m *ResponseDeliverTx) XXX_DiscardUnknown()

func (*ResponseDeliverTx) XXX_Marshal

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

func (*ResponseDeliverTx) XXX_Merge

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

func (*ResponseDeliverTx) XXX_Size

func (m *ResponseDeliverTx) XXX_Size() int

func (*ResponseDeliverTx) XXX_Unmarshal

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

type ResponseEndBlock

type ResponseEndBlock struct {
	ValidatorUpdates      []v1beta1.ValidatorUpdate `protobuf:"bytes,1,rep,name=validator_updates,json=validatorUpdates,proto3" json:"validator_updates"`
	ConsensusParamUpdates *v1beta2.ConsensusParams  `` /* 126-byte string literal not displayed */
	Events                []Event                   `protobuf:"bytes,3,rep,name=events,proto3" json:"events,omitempty"`
}

ResponseEndBlock contains updates to consensus params and/or validator set changes, if any.

func (*ResponseEndBlock) Descriptor

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

func (*ResponseEndBlock) GetConsensusParamUpdates

func (m *ResponseEndBlock) GetConsensusParamUpdates() *v1beta2.ConsensusParams

func (*ResponseEndBlock) GetEvents

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

func (*ResponseEndBlock) GetValidatorUpdates

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

func (*ResponseEndBlock) Marshal

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

func (*ResponseEndBlock) MarshalTo

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

func (*ResponseEndBlock) MarshalToSizedBuffer

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

func (*ResponseEndBlock) ProtoMessage

func (*ResponseEndBlock) ProtoMessage()

func (*ResponseEndBlock) Reset

func (m *ResponseEndBlock) Reset()

func (*ResponseEndBlock) Size

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

func (*ResponseEndBlock) String

func (m *ResponseEndBlock) String() string

func (*ResponseEndBlock) Unmarshal

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

func (*ResponseEndBlock) XXX_DiscardUnknown

func (m *ResponseEndBlock) XXX_DiscardUnknown()

func (*ResponseEndBlock) XXX_Marshal

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

func (*ResponseEndBlock) XXX_Merge

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

func (*ResponseEndBlock) XXX_Size

func (m *ResponseEndBlock) XXX_Size() int

func (*ResponseEndBlock) XXX_Unmarshal

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

type ResponseInitChain

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

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

func (*ResponseInitChain) Descriptor

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

func (*ResponseInitChain) GetAppHash

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

func (*ResponseInitChain) GetConsensusParams

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

func (*ResponseInitChain) GetValidators

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

func (*ResponseInitChain) Marshal

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

func (*ResponseInitChain) MarshalTo

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

func (*ResponseInitChain) MarshalToSizedBuffer

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

func (*ResponseInitChain) ProtoMessage

func (*ResponseInitChain) ProtoMessage()

func (*ResponseInitChain) Reset

func (m *ResponseInitChain) Reset()

func (*ResponseInitChain) Size

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

func (*ResponseInitChain) String

func (m *ResponseInitChain) String() string

func (*ResponseInitChain) Unmarshal

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

func (*ResponseInitChain) XXX_DiscardUnknown

func (m *ResponseInitChain) XXX_DiscardUnknown()

func (*ResponseInitChain) XXX_Marshal

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

func (*ResponseInitChain) XXX_Merge

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

func (*ResponseInitChain) XXX_Size

func (m *ResponseInitChain) XXX_Size() int

func (*ResponseInitChain) XXX_Unmarshal

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

type ResponsePrepareProposal

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

ResponsePrepareProposal contains the list of transactions that will be included in the proposal.

func (*ResponsePrepareProposal) Descriptor

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

func (*ResponsePrepareProposal) GetTxs

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

func (*ResponsePrepareProposal) Marshal

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

func (*ResponsePrepareProposal) MarshalTo

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

func (*ResponsePrepareProposal) MarshalToSizedBuffer

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

func (*ResponsePrepareProposal) ProtoMessage

func (*ResponsePrepareProposal) ProtoMessage()

func (*ResponsePrepareProposal) Reset

func (m *ResponsePrepareProposal) Reset()

func (*ResponsePrepareProposal) Size

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

func (*ResponsePrepareProposal) String

func (m *ResponsePrepareProposal) String() string

func (*ResponsePrepareProposal) Unmarshal

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

func (*ResponsePrepareProposal) XXX_DiscardUnknown

func (m *ResponsePrepareProposal) XXX_DiscardUnknown()

func (*ResponsePrepareProposal) XXX_Marshal

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

func (*ResponsePrepareProposal) XXX_Merge

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

func (*ResponsePrepareProposal) XXX_Size

func (m *ResponsePrepareProposal) XXX_Size() int

func (*ResponsePrepareProposal) XXX_Unmarshal

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

type ResponseProcessProposal

type ResponseProcessProposal struct {
	Status ResponseProcessProposal_ProposalStatus `` /* 132-byte string literal not displayed */
}

ResponseProcessProposal contains the result of processing a proposal.

func (*ResponseProcessProposal) Descriptor

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

func (*ResponseProcessProposal) GetStatus

func (ResponseProcessProposal) IsAccepted

func (r ResponseProcessProposal) IsAccepted() bool

IsAccepted returns true if Code is ACCEPT

func (ResponseProcessProposal) IsStatusUnknown

func (r ResponseProcessProposal) IsStatusUnknown() bool

IsStatusUnknown returns true if Code is UNKNOWN

func (*ResponseProcessProposal) Marshal

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

func (*ResponseProcessProposal) MarshalTo

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

func (*ResponseProcessProposal) MarshalToSizedBuffer

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

func (*ResponseProcessProposal) ProtoMessage

func (*ResponseProcessProposal) ProtoMessage()

func (*ResponseProcessProposal) Reset

func (m *ResponseProcessProposal) Reset()

func (*ResponseProcessProposal) Size

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

func (*ResponseProcessProposal) String

func (m *ResponseProcessProposal) String() string

func (*ResponseProcessProposal) Unmarshal

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

func (*ResponseProcessProposal) XXX_DiscardUnknown

func (m *ResponseProcessProposal) XXX_DiscardUnknown()

func (*ResponseProcessProposal) XXX_Marshal

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

func (*ResponseProcessProposal) XXX_Merge

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

func (*ResponseProcessProposal) XXX_Size

func (m *ResponseProcessProposal) XXX_Size() int

func (*ResponseProcessProposal) XXX_Unmarshal

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

type ResponseProcessProposal_ProposalStatus

type ResponseProcessProposal_ProposalStatus int32

The status.

const (
	// Unknown
	ResponseProcessProposal_UNKNOWN ResponseProcessProposal_ProposalStatus = 0
	// Accepted
	ResponseProcessProposal_ACCEPT ResponseProcessProposal_ProposalStatus = 1
	// Rejected
	ResponseProcessProposal_REJECT ResponseProcessProposal_ProposalStatus = 2
)

func (ResponseProcessProposal_ProposalStatus) EnumDescriptor

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

func (ResponseProcessProposal_ProposalStatus) String

type Response_ApplySnapshotChunk

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

func (*Response_ApplySnapshotChunk) MarshalTo

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

func (*Response_ApplySnapshotChunk) MarshalToSizedBuffer

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

func (*Response_ApplySnapshotChunk) Size

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

type Response_BeginBlock

type Response_BeginBlock struct {
	BeginBlock *ResponseBeginBlock `protobuf:"bytes,8,opt,name=begin_block,json=beginBlock,proto3,oneof" json:"begin_block,omitempty"`
}

func (*Response_BeginBlock) MarshalTo

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

func (*Response_BeginBlock) MarshalToSizedBuffer

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

func (*Response_BeginBlock) Size

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

type Response_CheckTx

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

func (*Response_CheckTx) MarshalTo

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

func (*Response_CheckTx) MarshalToSizedBuffer

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

func (*Response_CheckTx) Size

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

type Response_Commit

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

func (*Response_Commit) MarshalTo

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

func (*Response_Commit) MarshalToSizedBuffer

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

func (*Response_Commit) Size

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

type Response_DeliverTx

type Response_DeliverTx struct {
	DeliverTx *ResponseDeliverTx `protobuf:"bytes,10,opt,name=deliver_tx,json=deliverTx,proto3,oneof" json:"deliver_tx,omitempty"`
}

func (*Response_DeliverTx) MarshalTo

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

func (*Response_DeliverTx) MarshalToSizedBuffer

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

func (*Response_DeliverTx) Size

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

type Response_Echo

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

func (*Response_Echo) MarshalTo

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

func (*Response_Echo) MarshalToSizedBuffer

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

func (*Response_Echo) Size

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

type Response_EndBlock

type Response_EndBlock struct {
	EndBlock *ResponseEndBlock `protobuf:"bytes,11,opt,name=end_block,json=endBlock,proto3,oneof" json:"end_block,omitempty"`
}

func (*Response_EndBlock) MarshalTo

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

func (*Response_EndBlock) MarshalToSizedBuffer

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

func (*Response_EndBlock) Size

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

type Response_Exception

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

func (*Response_Exception) MarshalTo

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

func (*Response_Exception) MarshalToSizedBuffer

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

func (*Response_Exception) Size

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

type Response_Flush

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

func (*Response_Flush) MarshalTo

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

func (*Response_Flush) MarshalToSizedBuffer

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

func (*Response_Flush) Size

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

type Response_Info

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

func (*Response_Info) MarshalTo

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

func (*Response_Info) MarshalToSizedBuffer

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

func (*Response_Info) Size

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

type Response_InitChain

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

func (*Response_InitChain) MarshalTo

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

func (*Response_InitChain) MarshalToSizedBuffer

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

func (*Response_InitChain) Size

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

type Response_ListSnapshots

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

func (*Response_ListSnapshots) MarshalTo

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

func (*Response_ListSnapshots) MarshalToSizedBuffer

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

func (*Response_ListSnapshots) Size

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

type Response_LoadSnapshotChunk

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

func (*Response_LoadSnapshotChunk) MarshalTo

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

func (*Response_LoadSnapshotChunk) MarshalToSizedBuffer

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

func (*Response_LoadSnapshotChunk) Size

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

type Response_OfferSnapshot

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

func (*Response_OfferSnapshot) MarshalTo

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

func (*Response_OfferSnapshot) MarshalToSizedBuffer

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

func (*Response_OfferSnapshot) Size

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

type Response_PrepareProposal

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

func (*Response_PrepareProposal) MarshalTo

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

func (*Response_PrepareProposal) MarshalToSizedBuffer

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

func (*Response_PrepareProposal) Size

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

type Response_ProcessProposal

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

func (*Response_ProcessProposal) MarshalTo

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

func (*Response_ProcessProposal) MarshalToSizedBuffer

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

func (*Response_ProcessProposal) Size

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

type Response_Query

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

func (*Response_Query) MarshalTo

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

func (*Response_Query) MarshalToSizedBuffer

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

func (*Response_Query) Size

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

type UnimplementedABCIApplicationServer

type UnimplementedABCIApplicationServer struct {
}

UnimplementedABCIApplicationServer can be embedded to have forward compatible implementations.

func (*UnimplementedABCIApplicationServer) ApplySnapshotChunk

func (*UnimplementedABCIApplicationServer) BeginBlock

func (*UnimplementedABCIApplicationServer) CheckTx

func (*UnimplementedABCIApplicationServer) Commit

func (*UnimplementedABCIApplicationServer) DeliverTx

func (*UnimplementedABCIApplicationServer) Echo

func (*UnimplementedABCIApplicationServer) EndBlock

func (*UnimplementedABCIApplicationServer) Flush

func (*UnimplementedABCIApplicationServer) Info

func (*UnimplementedABCIApplicationServer) InitChain

func (*UnimplementedABCIApplicationServer) ListSnapshots

func (*UnimplementedABCIApplicationServer) LoadSnapshotChunk

func (*UnimplementedABCIApplicationServer) OfferSnapshot

func (*UnimplementedABCIApplicationServer) PrepareProposal

func (*UnimplementedABCIApplicationServer) ProcessProposal

func (*UnimplementedABCIApplicationServer) Query

Jump to

Keyboard shortcuts

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