Versions in this module Expand all Collapse all v0 v0.34.24 Mar 7, 2023 Changes in this version + var DefaultABCIQueryOptions = ABCIQueryOptions + func DefaultWaitStrategy(delta int64) (abort error) + func WaitForHeight(c StatusClient, h int64, waiter Waiter) error + func WaitForOneEvent(c EventsClient, evtTyp string, timeout time.Duration) (types.TMEventData, error) + type ABCIClient interface + ABCIInfo func(context.Context) (*ctypes.ResultABCIInfo, error) + ABCIQuery func(ctx context.Context, path string, data bytes.HexBytes) (*ctypes.ResultABCIQuery, error) + ABCIQueryWithOptions func(ctx context.Context, path string, data bytes.HexBytes, opts ABCIQueryOptions) (*ctypes.ResultABCIQuery, error) + BroadcastTxAsync func(context.Context, types.Tx) (*ctypes.ResultBroadcastTx, error) + BroadcastTxCommit func(context.Context, types.Tx) (*ctypes.ResultBroadcastTxCommit, error) + BroadcastTxSync func(context.Context, types.Tx) (*ctypes.ResultBroadcastTx, error) + type ABCIQueryOptions struct + Height int64 + Prove bool + type Client interface + type EventsClient interface + Subscribe func(ctx context.Context, subscriber, query string, outCapacity ...int) (out <-chan ctypes.ResultEvent, err error) + Unsubscribe func(ctx context.Context, subscriber, query string) error + UnsubscribeAll func(ctx context.Context, subscriber string) error + type EvidenceClient interface + BroadcastEvidence func(context.Context, types.Evidence) (*ctypes.ResultBroadcastEvidence, error) + type HistoryClient interface + BlockchainInfo func(ctx context.Context, minHeight, maxHeight int64) (*ctypes.ResultBlockchainInfo, error) + Genesis func(context.Context) (*ctypes.ResultGenesis, error) + GenesisChunked func(context.Context, uint) (*ctypes.ResultGenesisChunk, error) + type MempoolClient interface + CheckTx func(context.Context, types.Tx) (*ctypes.ResultCheckTx, error) + NumUnconfirmedTxs func(context.Context) (*ctypes.ResultUnconfirmedTxs, error) + UnconfirmedTxs func(ctx context.Context, limit *int) (*ctypes.ResultUnconfirmedTxs, error) + type NetworkClient interface + ConsensusParams func(ctx context.Context, height *int64) (*ctypes.ResultConsensusParams, error) + ConsensusState func(context.Context) (*ctypes.ResultConsensusState, error) + DumpConsensusState func(context.Context) (*ctypes.ResultDumpConsensusState, error) + Health func(context.Context) (*ctypes.ResultHealth, error) + NetInfo func(context.Context) (*ctypes.ResultNetInfo, error) + type RemoteClient interface + Remote func() string + type SignClient interface + Block func(ctx context.Context, height *int64) (*ctypes.ResultBlock, error) + BlockByHash func(ctx context.Context, hash []byte) (*ctypes.ResultBlock, error) + BlockResults func(ctx context.Context, height *int64) (*ctypes.ResultBlockResults, error) + BlockSearch func(ctx context.Context, query string, page, perPage *int, orderBy string) (*ctypes.ResultBlockSearch, error) + Commit func(ctx context.Context, height *int64) (*ctypes.ResultCommit, error) + Tx func(ctx context.Context, hash []byte, prove bool) (*ctypes.ResultTx, error) + TxSearch func(ctx context.Context, query string, prove bool, page, perPage *int, ...) (*ctypes.ResultTxSearch, error) + Validators func(ctx context.Context, height *int64, page, perPage *int) (*ctypes.ResultValidators, error) + type StatusClient interface + Status func(context.Context) (*ctypes.ResultStatus, error) + type Waiter func(delta int64) (abort error)