types

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 11, 2023 License: Apache-2.0 Imports: 24 Imported by: 46

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

Functions

func NewValidatorUpdate

func NewValidatorUpdate(pk crypto.PubKey, power int64) types.ValidatorUpdate

func ReadMessage

func ReadMessage(r io.Reader, msg proto.Message) error

ReadMessage reads a varint length-delimited protobuf message.

func RegisterABCIApplicationServer

func RegisterABCIApplicationServer(s *grpc.Server, srv ABCIApplicationServer)

func WriteMessage

func WriteMessage(msg proto.Message, w io.Writer) error

WriteMessage writes a varint length-delimited protobuf message.

Types

type ABCIApplicationClient

type ABCIApplicationClient interface {
	Echo(ctx context.Context, in *types.RequestEcho, opts ...grpc.CallOption) (*types.ResponseEcho, error)
	Flush(ctx context.Context, in *types.RequestFlush, opts ...grpc.CallOption) (*types.ResponseFlush, error)
	Info(ctx context.Context, in *types.RequestInfo, opts ...grpc.CallOption) (*types.ResponseInfo, error)
	SetOption(ctx context.Context, in *types.RequestSetOption, opts ...grpc.CallOption) (*types.ResponseSetOption, error)
	DeliverTx(ctx context.Context, in *types.RequestDeliverTx, opts ...grpc.CallOption) (*types.ResponseDeliverTx, error)
	CheckTx(ctx context.Context, in *types.RequestCheckTx, opts ...grpc.CallOption) (*ResponseCheckTx, error)
	Query(ctx context.Context, in *types.RequestQuery, opts ...grpc.CallOption) (*types.ResponseQuery, error)
	Commit(ctx context.Context, in *types.RequestCommit, opts ...grpc.CallOption) (*types.ResponseCommit, error)
	InitChain(ctx context.Context, in *types.RequestInitChain, opts ...grpc.CallOption) (*types.ResponseInitChain, error)
	BeginBlock(ctx context.Context, in *RequestBeginBlock, opts ...grpc.CallOption) (*types.ResponseBeginBlock, error)
	EndBlock(ctx context.Context, in *types.RequestEndBlock, opts ...grpc.CallOption) (*types.ResponseEndBlock, error)
	ListSnapshots(ctx context.Context, in *types.RequestListSnapshots, opts ...grpc.CallOption) (*types.ResponseListSnapshots, error)
	OfferSnapshot(ctx context.Context, in *types.RequestOfferSnapshot, opts ...grpc.CallOption) (*types.ResponseOfferSnapshot, error)
	LoadSnapshotChunk(ctx context.Context, in *types.RequestLoadSnapshotChunk, opts ...grpc.CallOption) (*types.ResponseLoadSnapshotChunk, error)
	ApplySnapshotChunk(ctx context.Context, in *types.RequestApplySnapshotChunk, opts ...grpc.CallOption) (*types.ResponseApplySnapshotChunk, error)
	BeginRecheckTx(ctx context.Context, in *RequestBeginRecheckTx, opts ...grpc.CallOption) (*ResponseBeginRecheckTx, error)
	EndRecheckTx(ctx context.Context, in *RequestEndRecheckTx, opts ...grpc.CallOption) (*ResponseEndRecheckTx, 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 *grpc.ClientConn) ABCIApplicationClient

type ABCIApplicationServer

ABCIApplicationServer is the server API for ABCIApplication service.

type Application

type Application interface {
	// Info/Query Connection
	Info(types.RequestInfo) types.ResponseInfo                // Return application info
	SetOption(types.RequestSetOption) types.ResponseSetOption // Set application option
	Query(types.RequestQuery) types.ResponseQuery             // Query for state

	// Mempool Connection
	CheckTxSync(types.RequestCheckTx) ResponseCheckTx            // Validate a tx for the mempool
	CheckTxAsync(types.RequestCheckTx, CheckTxCallback)          // Asynchronously validate a tx for the mempool
	BeginRecheckTx(RequestBeginRecheckTx) ResponseBeginRecheckTx // Signals the beginning of rechecking
	EndRecheckTx(RequestEndRecheckTx) ResponseEndRecheckTx       // Signals the end of rechecking

	// Consensus Connection
	InitChain(types.RequestInitChain) types.ResponseInitChain // Initialize blockchain w validators/other info from tendermintvrfCore
	BeginBlock(RequestBeginBlock) types.ResponseBeginBlock    // Signals the beginning of a block
	DeliverTx(types.RequestDeliverTx) types.ResponseDeliverTx // Deliver a tx for full processing
	EndBlock(types.RequestEndBlock) types.ResponseEndBlock    // Signals the end of a block, returns changes to the validator set
	Commit() types.ResponseCommit                             // Commit the state and return the application Merkle root hash

	// State Sync Connection
	ListSnapshots(types.RequestListSnapshots) types.ResponseListSnapshots                // List available snapshots
	OfferSnapshot(types.RequestOfferSnapshot) types.ResponseOfferSnapshot                // Offer a snapshot to the application
	LoadSnapshotChunk(types.RequestLoadSnapshotChunk) types.ResponseLoadSnapshotChunk    // Load a snapshot chunk
	ApplySnapshotChunk(types.RequestApplySnapshotChunk) types.ResponseApplySnapshotChunk // Apply a shapshot chunk
}

Application is an interface that enables any finite, deterministic state machine to be driven by a blockchain-based replication engine via the ABCI. All methods take a RequestXxx argument and return a ResponseXxx argument, except CheckTx/DeliverTx, which take `tx []byte`, and `Commit`, which takes nothing.

type BaseApplication

type BaseApplication struct {
}

func NewBaseApplication

func NewBaseApplication() *BaseApplication

func (BaseApplication) BeginBlock

func (BaseApplication) BeginRecheckTx

func (BaseApplication) CheckTxAsync

func (BaseApplication) CheckTxAsync(req types.RequestCheckTx, callback CheckTxCallback)

func (BaseApplication) CheckTxSync

func (BaseApplication) Commit

func (BaseApplication) DeliverTx

func (BaseApplication) EndBlock

func (BaseApplication) EndRecheckTx

func (BaseApplication) Info

func (BaseApplication) InitChain

func (BaseApplication) ListSnapshots

func (BaseApplication) OfferSnapshot

func (BaseApplication) Query

func (BaseApplication) SetOption

type CheckTxCallback

type CheckTxCallback func(ResponseCheckTx)

type GRPCApplication

type GRPCApplication struct {
	// contains filtered or unexported fields
}

GRPCApplication is a GRPC wrapper for Application

func NewGRPCApplication

func NewGRPCApplication(app Application) *GRPCApplication

func (*GRPCApplication) ApplySnapshotChunk

func (*GRPCApplication) BeginBlock

func (*GRPCApplication) BeginRecheckTx

func (*GRPCApplication) CheckTx

func (*GRPCApplication) Commit

func (*GRPCApplication) DeliverTx

func (*GRPCApplication) Echo

func (*GRPCApplication) EndBlock

func (*GRPCApplication) EndRecheckTx

func (*GRPCApplication) Flush

func (*GRPCApplication) Info

func (*GRPCApplication) InitChain

func (*GRPCApplication) ListSnapshots

func (*GRPCApplication) LoadSnapshotChunk

func (*GRPCApplication) OfferSnapshot

func (*GRPCApplication) Query

func (*GRPCApplication) SetOption

type Request

type Request struct {
	// Types that are valid to be assigned to Value:
	//	*Request_Echo
	//	*Request_Flush
	//	*Request_Info
	//	*Request_SetOption
	//	*Request_InitChain
	//	*Request_Query
	//	*Request_BeginBlock
	//	*Request_CheckTx
	//	*Request_DeliverTx
	//	*Request_EndBlock
	//	*Request_Commit
	//	*Request_ListSnapshots
	//	*Request_OfferSnapshot
	//	*Request_LoadSnapshotChunk
	//	*Request_ApplySnapshotChunk
	//	*Request_BeginRecheckTx
	//	*Request_EndRecheckTx
	Value isRequest_Value `protobuf_oneof:"value"`
}

func ToRequestApplySnapshotChunk

func ToRequestApplySnapshotChunk(req types.RequestApplySnapshotChunk) *Request

func ToRequestBeginBlock

func ToRequestBeginBlock(req RequestBeginBlock) *Request

func ToRequestBeginRecheckTx

func ToRequestBeginRecheckTx(req RequestBeginRecheckTx) *Request

func ToRequestCheckTx

func ToRequestCheckTx(req types.RequestCheckTx) *Request

func ToRequestCommit

func ToRequestCommit() *Request

func ToRequestDeliverTx

func ToRequestDeliverTx(req types.RequestDeliverTx) *Request

func ToRequestEcho

func ToRequestEcho(message string) *Request

func ToRequestEndBlock

func ToRequestEndBlock(req types.RequestEndBlock) *Request

func ToRequestEndRecheckTx

func ToRequestEndRecheckTx(req RequestEndRecheckTx) *Request

func ToRequestFlush

func ToRequestFlush() *Request

func ToRequestInfo

func ToRequestInfo(req types.RequestInfo) *Request

func ToRequestInitChain

func ToRequestInitChain(req types.RequestInitChain) *Request

func ToRequestListSnapshots

func ToRequestListSnapshots(req types.RequestListSnapshots) *Request

func ToRequestLoadSnapshotChunk

func ToRequestLoadSnapshotChunk(req types.RequestLoadSnapshotChunk) *Request

func ToRequestOfferSnapshot

func ToRequestOfferSnapshot(req types.RequestOfferSnapshot) *Request

func ToRequestQuery

func ToRequestQuery(req types.RequestQuery) *Request

func ToRequestSetOption

func ToRequestSetOption(req types.RequestSetOption) *Request

func (*Request) Descriptor

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

func (*Request) GetApplySnapshotChunk

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

func (*Request) GetBeginBlock

func (m *Request) GetBeginBlock() *RequestBeginBlock

func (*Request) GetBeginRecheckTx

func (m *Request) GetBeginRecheckTx() *RequestBeginRecheckTx

func (*Request) GetCheckTx

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

func (*Request) GetCommit

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

func (*Request) GetDeliverTx

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

func (*Request) GetEcho

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

func (*Request) GetEndBlock

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

func (*Request) GetEndRecheckTx

func (m *Request) GetEndRecheckTx() *RequestEndRecheckTx

func (*Request) GetFlush

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

func (*Request) GetInfo

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

func (*Request) GetInitChain

func (m *Request) GetInitChain() *types.RequestInitChain

func (*Request) GetListSnapshots

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

func (*Request) GetLoadSnapshotChunk

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

func (*Request) GetOfferSnapshot

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

func (*Request) GetQuery

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

func (*Request) GetSetOption

func (m *Request) GetSetOption() *types.RequestSetOption

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              types1.Header        `protobuf:"bytes,2,opt,name=header,proto3" json:"header"`
	LastCommitInfo      types.LastCommitInfo `protobuf:"bytes,3,opt,name=last_commit_info,json=lastCommitInfo,proto3" json:"last_commit_info"`
	ByzantineValidators []types.Evidence     `protobuf:"bytes,4,rep,name=byzantine_validators,json=byzantineValidators,proto3" json:"byzantine_validators"`
	// *** tendermintvrf Extended Fields ***
	Entropy types2.Entropy `protobuf:"bytes,1000,opt,name=entropy,proto3" json:"entropy"`
}

func (*RequestBeginBlock) Descriptor

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

func (*RequestBeginBlock) GetByzantineValidators

func (m *RequestBeginBlock) GetByzantineValidators() []types.Evidence

func (*RequestBeginBlock) GetEntropy

func (m *RequestBeginBlock) GetEntropy() types2.Entropy

func (*RequestBeginBlock) GetHash

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

func (*RequestBeginBlock) GetHeader

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

func (*RequestBeginBlock) GetLastCommitInfo

func (m *RequestBeginBlock) GetLastCommitInfo() types.LastCommitInfo

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 RequestBeginRecheckTx

type RequestBeginRecheckTx struct {
	Header types1.Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header"`
}

func (*RequestBeginRecheckTx) Descriptor

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

func (*RequestBeginRecheckTx) GetHeader

func (m *RequestBeginRecheckTx) GetHeader() types1.Header

func (*RequestBeginRecheckTx) Marshal

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

func (*RequestBeginRecheckTx) MarshalTo

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

func (*RequestBeginRecheckTx) MarshalToSizedBuffer

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

func (*RequestBeginRecheckTx) ProtoMessage

func (*RequestBeginRecheckTx) ProtoMessage()

func (*RequestBeginRecheckTx) Reset

func (m *RequestBeginRecheckTx) Reset()

func (*RequestBeginRecheckTx) Size

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

func (*RequestBeginRecheckTx) String

func (m *RequestBeginRecheckTx) String() string

func (*RequestBeginRecheckTx) Unmarshal

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

func (*RequestBeginRecheckTx) XXX_DiscardUnknown

func (m *RequestBeginRecheckTx) XXX_DiscardUnknown()

func (*RequestBeginRecheckTx) XXX_Marshal

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

func (*RequestBeginRecheckTx) XXX_Merge

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

func (*RequestBeginRecheckTx) XXX_Size

func (m *RequestBeginRecheckTx) XXX_Size() int

func (*RequestBeginRecheckTx) XXX_Unmarshal

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

type RequestEndRecheckTx

type RequestEndRecheckTx struct {
	Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
}

func (*RequestEndRecheckTx) Descriptor

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

func (*RequestEndRecheckTx) GetHeight

func (m *RequestEndRecheckTx) GetHeight() int64

func (*RequestEndRecheckTx) Marshal

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

func (*RequestEndRecheckTx) MarshalTo

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

func (*RequestEndRecheckTx) MarshalToSizedBuffer

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

func (*RequestEndRecheckTx) ProtoMessage

func (*RequestEndRecheckTx) ProtoMessage()

func (*RequestEndRecheckTx) Reset

func (m *RequestEndRecheckTx) Reset()

func (*RequestEndRecheckTx) Size

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

func (*RequestEndRecheckTx) String

func (m *RequestEndRecheckTx) String() string

func (*RequestEndRecheckTx) Unmarshal

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

func (*RequestEndRecheckTx) XXX_DiscardUnknown

func (m *RequestEndRecheckTx) XXX_DiscardUnknown()

func (*RequestEndRecheckTx) XXX_Marshal

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

func (*RequestEndRecheckTx) XXX_Merge

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

func (*RequestEndRecheckTx) XXX_Size

func (m *RequestEndRecheckTx) XXX_Size() int

func (*RequestEndRecheckTx) XXX_Unmarshal

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

type Request_ApplySnapshotChunk

type Request_ApplySnapshotChunk struct {
	ApplySnapshotChunk *types.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_BeginRecheckTx

type Request_BeginRecheckTx struct {
	BeginRecheckTx *RequestBeginRecheckTx `protobuf:"bytes,1000,opt,name=begin_recheck_tx,json=beginRecheckTx,proto3,oneof" json:"begin_recheck_tx,omitempty"`
}

func (*Request_BeginRecheckTx) MarshalTo

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

func (*Request_BeginRecheckTx) MarshalToSizedBuffer

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

func (*Request_BeginRecheckTx) Size

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

type Request_CheckTx

type Request_CheckTx struct {
	CheckTx *types.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 *types.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 *types.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 *types.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 *types.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_EndRecheckTx

type Request_EndRecheckTx struct {
	EndRecheckTx *RequestEndRecheckTx `protobuf:"bytes,1001,opt,name=end_recheck_tx,json=endRecheckTx,proto3,oneof" json:"end_recheck_tx,omitempty"`
}

func (*Request_EndRecheckTx) MarshalTo

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

func (*Request_EndRecheckTx) MarshalToSizedBuffer

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

func (*Request_EndRecheckTx) Size

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

type Request_Flush

type Request_Flush struct {
	Flush *types.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 *types.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 *types.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 *types.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 *types.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 *types.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_Query

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

func (*Request_Query) MarshalTo

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

func (*Request_Query) MarshalToSizedBuffer

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

func (*Request_Query) Size

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

type Request_SetOption

type Request_SetOption struct {
	SetOption *types.RequestSetOption `protobuf:"bytes,4,opt,name=set_option,json=setOption,proto3,oneof" json:"set_option,omitempty"`
}

func (*Request_SetOption) MarshalTo

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

func (*Request_SetOption) MarshalToSizedBuffer

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

func (*Request_SetOption) Size

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

type Response

type Response struct {
	// Types that are valid to be assigned to Value:
	//	*Response_Exception
	//	*Response_Echo
	//	*Response_Flush
	//	*Response_Info
	//	*Response_SetOption
	//	*Response_InitChain
	//	*Response_Query
	//	*Response_BeginBlock
	//	*Response_CheckTx
	//	*Response_DeliverTx
	//	*Response_EndBlock
	//	*Response_Commit
	//	*Response_ListSnapshots
	//	*Response_OfferSnapshot
	//	*Response_LoadSnapshotChunk
	//	*Response_ApplySnapshotChunk
	//	*Response_BeginRecheckTx
	//	*Response_EndRecheckTx
	Value isResponse_Value `protobuf_oneof:"value"`
}

func ToResponseApplySnapshotChunk

func ToResponseApplySnapshotChunk(res types.ResponseApplySnapshotChunk) *Response

func ToResponseBeginBlock

func ToResponseBeginBlock(res types.ResponseBeginBlock) *Response

func ToResponseBeginRecheckTx

func ToResponseBeginRecheckTx(res ResponseBeginRecheckTx) *Response

func ToResponseCheckTx

func ToResponseCheckTx(res ResponseCheckTx) *Response

func ToResponseCommit

func ToResponseCommit(res types.ResponseCommit) *Response

func ToResponseDeliverTx

func ToResponseDeliverTx(res types.ResponseDeliverTx) *Response

func ToResponseEcho

func ToResponseEcho(message string) *Response

func ToResponseEndBlock

func ToResponseEndBlock(res types.ResponseEndBlock) *Response

func ToResponseEndRecheckTx

func ToResponseEndRecheckTx(res ResponseEndRecheckTx) *Response

func ToResponseException

func ToResponseException(errStr string) *Response

func ToResponseFlush

func ToResponseFlush() *Response

func ToResponseInfo

func ToResponseInfo(res types.ResponseInfo) *Response

func ToResponseInitChain

func ToResponseInitChain(res types.ResponseInitChain) *Response

func ToResponseListSnapshots

func ToResponseListSnapshots(res types.ResponseListSnapshots) *Response

func ToResponseLoadSnapshotChunk

func ToResponseLoadSnapshotChunk(res types.ResponseLoadSnapshotChunk) *Response

func ToResponseOfferSnapshot

func ToResponseOfferSnapshot(res types.ResponseOfferSnapshot) *Response

func ToResponseQuery

func ToResponseQuery(res types.ResponseQuery) *Response

func ToResponseSetOption

func ToResponseSetOption(res types.ResponseSetOption) *Response

func (*Response) Descriptor

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

func (*Response) GetApplySnapshotChunk

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

func (*Response) GetBeginBlock

func (m *Response) GetBeginBlock() *types.ResponseBeginBlock

func (*Response) GetBeginRecheckTx

func (m *Response) GetBeginRecheckTx() *ResponseBeginRecheckTx

func (*Response) GetCheckTx

func (m *Response) GetCheckTx() *ResponseCheckTx

func (*Response) GetCommit

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

func (*Response) GetDeliverTx

func (m *Response) GetDeliverTx() *types.ResponseDeliverTx

func (*Response) GetEcho

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

func (*Response) GetEndBlock

func (m *Response) GetEndBlock() *types.ResponseEndBlock

func (*Response) GetEndRecheckTx

func (m *Response) GetEndRecheckTx() *ResponseEndRecheckTx

func (*Response) GetException

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

func (*Response) GetFlush

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

func (*Response) GetInfo

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

func (*Response) GetInitChain

func (m *Response) GetInitChain() *types.ResponseInitChain

func (*Response) GetListSnapshots

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

func (*Response) GetLoadSnapshotChunk

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

func (*Response) GetOfferSnapshot

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

func (*Response) GetQuery

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

func (*Response) GetSetOption

func (m *Response) GetSetOption() *types.ResponseSetOption

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 ResponseBeginRecheckTx

type ResponseBeginRecheckTx struct {
	Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
}

func (*ResponseBeginRecheckTx) Descriptor

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

func (*ResponseBeginRecheckTx) GetCode

func (m *ResponseBeginRecheckTx) GetCode() uint32

func (*ResponseBeginRecheckTx) Marshal

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

func (*ResponseBeginRecheckTx) MarshalTo

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

func (*ResponseBeginRecheckTx) MarshalToSizedBuffer

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

func (*ResponseBeginRecheckTx) ProtoMessage

func (*ResponseBeginRecheckTx) ProtoMessage()

func (*ResponseBeginRecheckTx) Reset

func (m *ResponseBeginRecheckTx) Reset()

func (*ResponseBeginRecheckTx) Size

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

func (*ResponseBeginRecheckTx) String

func (m *ResponseBeginRecheckTx) String() string

func (*ResponseBeginRecheckTx) Unmarshal

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

func (*ResponseBeginRecheckTx) XXX_DiscardUnknown

func (m *ResponseBeginRecheckTx) XXX_DiscardUnknown()

func (*ResponseBeginRecheckTx) XXX_Marshal

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

func (*ResponseBeginRecheckTx) XXX_Merge

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

func (*ResponseBeginRecheckTx) XXX_Size

func (m *ResponseBeginRecheckTx) XXX_Size() int

func (*ResponseBeginRecheckTx) XXX_Unmarshal

func (m *ResponseBeginRecheckTx) 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    []types.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 tendermintvrf.
	// ABCI applictions creating a ResponseCheckTX should not set mempool_error.
	MempoolError string `protobuf:"bytes,11,opt,name=mempool_error,json=mempoolError,proto3" json:"mempool_error,omitempty"`
}

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() []types.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) IsErr

func (r ResponseCheckTx) IsErr() bool

IsErr returns true if Code is something other than OK.

func (ResponseCheckTx) IsOK

func (r ResponseCheckTx) IsOK() bool

IsOK returns true if Code is OK.

func (*ResponseCheckTx) Marshal

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

func (*ResponseCheckTx) MarshalJSON

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

func (*ResponseCheckTx) MarshalTo

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

func (*ResponseCheckTx) MarshalToSizedBuffer

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

func (*ResponseCheckTx) ProtoMessage

func (*ResponseCheckTx) ProtoMessage()

func (*ResponseCheckTx) Reset

func (m *ResponseCheckTx) Reset()

func (*ResponseCheckTx) Size

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

func (*ResponseCheckTx) String

func (m *ResponseCheckTx) String() string

func (*ResponseCheckTx) Unmarshal

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

func (*ResponseCheckTx) UnmarshalJSON

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

func (*ResponseCheckTx) XXX_DiscardUnknown

func (m *ResponseCheckTx) XXX_DiscardUnknown()

func (*ResponseCheckTx) XXX_Marshal

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

func (*ResponseCheckTx) XXX_Merge

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

func (*ResponseCheckTx) XXX_Size

func (m *ResponseCheckTx) XXX_Size() int

func (*ResponseCheckTx) XXX_Unmarshal

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

type ResponseEndRecheckTx

type ResponseEndRecheckTx struct {
	Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
}

func (*ResponseEndRecheckTx) Descriptor

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

func (*ResponseEndRecheckTx) GetCode

func (m *ResponseEndRecheckTx) GetCode() uint32

func (*ResponseEndRecheckTx) Marshal

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

func (*ResponseEndRecheckTx) MarshalTo

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

func (*ResponseEndRecheckTx) MarshalToSizedBuffer

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

func (*ResponseEndRecheckTx) ProtoMessage

func (*ResponseEndRecheckTx) ProtoMessage()

func (*ResponseEndRecheckTx) Reset

func (m *ResponseEndRecheckTx) Reset()

func (*ResponseEndRecheckTx) Size

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

func (*ResponseEndRecheckTx) String

func (m *ResponseEndRecheckTx) String() string

func (*ResponseEndRecheckTx) Unmarshal

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

func (*ResponseEndRecheckTx) XXX_DiscardUnknown

func (m *ResponseEndRecheckTx) XXX_DiscardUnknown()

func (*ResponseEndRecheckTx) XXX_Marshal

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

func (*ResponseEndRecheckTx) XXX_Merge

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

func (*ResponseEndRecheckTx) XXX_Size

func (m *ResponseEndRecheckTx) XXX_Size() int

func (*ResponseEndRecheckTx) XXX_Unmarshal

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

type Response_ApplySnapshotChunk

type Response_ApplySnapshotChunk struct {
	ApplySnapshotChunk *types.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 *types.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_BeginRecheckTx

type Response_BeginRecheckTx struct {
	BeginRecheckTx *ResponseBeginRecheckTx `protobuf:"bytes,1000,opt,name=begin_recheck_tx,json=beginRecheckTx,proto3,oneof" json:"begin_recheck_tx,omitempty"`
}

func (*Response_BeginRecheckTx) MarshalTo

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

func (*Response_BeginRecheckTx) MarshalToSizedBuffer

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

func (*Response_BeginRecheckTx) Size

func (m *Response_BeginRecheckTx) 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 *types.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 *types.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 *types.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 *types.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_EndRecheckTx

type Response_EndRecheckTx struct {
	EndRecheckTx *ResponseEndRecheckTx `protobuf:"bytes,1001,opt,name=end_recheck_tx,json=endRecheckTx,proto3,oneof" json:"end_recheck_tx,omitempty"`
}

func (*Response_EndRecheckTx) MarshalTo

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

func (*Response_EndRecheckTx) MarshalToSizedBuffer

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

func (*Response_EndRecheckTx) Size

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

type Response_Exception

type Response_Exception struct {
	Exception *types.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 *types.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 *types.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 *types.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 *types.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 *types.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 *types.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_Query

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

func (*Response_Query) MarshalTo

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

func (*Response_Query) MarshalToSizedBuffer

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

func (*Response_Query) Size

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

type Response_SetOption

type Response_SetOption struct {
	SetOption *types.ResponseSetOption `protobuf:"bytes,5,opt,name=set_option,json=setOption,proto3,oneof" json:"set_option,omitempty"`
}

func (*Response_SetOption) MarshalTo

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

func (*Response_SetOption) MarshalToSizedBuffer

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

func (*Response_SetOption) Size

func (m *Response_SetOption) 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) BeginRecheckTx

func (*UnimplementedABCIApplicationServer) CheckTx

func (*UnimplementedABCIApplicationServer) Commit

func (*UnimplementedABCIApplicationServer) DeliverTx

func (*UnimplementedABCIApplicationServer) Echo

func (*UnimplementedABCIApplicationServer) EndBlock

func (*UnimplementedABCIApplicationServer) EndRecheckTx

func (*UnimplementedABCIApplicationServer) Flush

func (*UnimplementedABCIApplicationServer) Info

func (*UnimplementedABCIApplicationServer) InitChain

func (*UnimplementedABCIApplicationServer) ListSnapshots

func (*UnimplementedABCIApplicationServer) LoadSnapshotChunk

func (*UnimplementedABCIApplicationServer) OfferSnapshot

func (*UnimplementedABCIApplicationServer) Query

func (*UnimplementedABCIApplicationServer) SetOption

type ValidatorUpdates

type ValidatorUpdates []types.ValidatorUpdate

ValidatorUpdates is a list of validators that implements the Sort interface

func (ValidatorUpdates) Len

func (v ValidatorUpdates) Len() int

func (ValidatorUpdates) Less

func (v ValidatorUpdates) Less(i, j int) bool

XXX: doesn't distinguish same validator with different power

func (ValidatorUpdates) Swap

func (v ValidatorUpdates) Swap(i, j int)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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