Versions in this module Expand all Collapse all v1 v1.0.1 Sep 18, 2024 v1.0.0 May 17, 2024 Changes in this version + var DefaultABCIQueryOptions = ABCIQueryOptions + func DefaultWaitStrategy(delta int64) (abort error) + func WaitForHeight(ctx context.Context, c StatusClient, h int64, waiter Waiter) error + func WaitForOneEvent(ctx context.Context, c EventsClient, query string) (types.EventData, error) + type ABCIClient interface + ABCIInfo func(context.Context) (*coretypes.ResultABCIInfo, error) + ABCIQuery func(ctx context.Context, path string, data bytes.HexBytes) (*coretypes.ResultABCIQuery, error) + ABCIQueryWithOptions func(ctx context.Context, path string, data bytes.HexBytes, opts ABCIQueryOptions) (*coretypes.ResultABCIQuery, error) + BroadcastTx func(context.Context, types.Tx) (*coretypes.ResultBroadcastTx, error) + BroadcastTxAsync func(context.Context, types.Tx) (*coretypes.ResultBroadcastTx, error) + BroadcastTxCommit func(context.Context, types.Tx) (*coretypes.ResultBroadcastTxCommit, error) + BroadcastTxSync func(context.Context, types.Tx) (*coretypes.ResultBroadcastTx, error) + type ABCIQueryOptions struct + Height int64 + Prove bool + type Client interface + Start func(context.Context) error + type EventsClient interface + Events func(ctx context.Context, req *coretypes.RequestEvents) (*coretypes.ResultEvents, error) + type EvidenceClient interface + BroadcastEvidence func(context.Context, types.Evidence) (*coretypes.ResultBroadcastEvidence, error) + type HistoryClient interface + BlockchainInfo func(ctx context.Context, minHeight, maxHeight int64) (*coretypes.ResultBlockchainInfo, error) + Genesis func(context.Context) (*coretypes.ResultGenesis, error) + GenesisChunked func(context.Context, uint) (*coretypes.ResultGenesisChunk, error) + type MempoolClient interface + CheckTx func(context.Context, types.Tx) (*coretypes.ResultCheckTx, error) + NumUnconfirmedTxs func(context.Context) (*coretypes.ResultUnconfirmedTxs, error) + RemoveTx func(context.Context, types.TxKey) error + UnconfirmedTxs func(ctx context.Context, page, perPage *int) (*coretypes.ResultUnconfirmedTxs, error) + type NetworkClient interface + ConsensusParams func(ctx context.Context, height *int64) (*coretypes.ResultConsensusParams, error) + ConsensusState func(context.Context) (*coretypes.ResultConsensusState, error) + DumpConsensusState func(context.Context) (*coretypes.ResultDumpConsensusState, error) + Health func(context.Context) (*coretypes.ResultHealth, error) + NetInfo func(context.Context) (*coretypes.ResultNetInfo, error) + type RemoteClient interface + Remote func() string + type SignClient interface + Block func(ctx context.Context, height *int64) (*coretypes.ResultBlock, error) + BlockByHash func(ctx context.Context, hash bytes.HexBytes) (*coretypes.ResultBlock, error) + BlockResults func(ctx context.Context, height *int64) (*coretypes.ResultBlockResults, error) + BlockSearch func(ctx context.Context, query string, page, perPage *int, orderBy string) (*coretypes.ResultBlockSearch, error) + Commit func(ctx context.Context, height *int64) (*coretypes.ResultCommit, error) + Header func(ctx context.Context, height *int64) (*coretypes.ResultHeader, error) + HeaderByHash func(ctx context.Context, hash bytes.HexBytes) (*coretypes.ResultHeader, error) + Tx func(ctx context.Context, hash bytes.HexBytes, prove bool) (*coretypes.ResultTx, error) + TxSearch func(ctx context.Context, query string, prove bool, page, perPage *int, ...) (*coretypes.ResultTxSearch, error) + Validators func(ctx context.Context, height *int64, page, perPage *int) (*coretypes.ResultValidators, error) + type StatusClient interface + LagStatus func(context.Context) (*coretypes.ResultLagStatus, error) + Status func(context.Context) (*coretypes.ResultStatus, error) + type SubscriptionClient interface + Subscribe func(ctx context.Context, subscriber, query string, outCapacity ...int) (out <-chan coretypes.ResultEvent, err error) + Unsubscribe func(ctx context.Context, subscriber, query string) error + UnsubscribeAll func(ctx context.Context, subscriber string) error + type Waiter func(delta int64) (abort error)