Versions in this module Expand all Collapse all v0 v0.0.0 Jul 28, 2021 Changes in this version + type ABCIApp struct + App abci.Application + func (a ABCIApp) ABCIInfo(ctx context.Context) (*ctypes.ResultABCIInfo, error) + func (a ABCIApp) ABCIQuery(ctx context.Context, path string, data bytes.HexBytes) (*ctypes.ResultABCIQuery, error) + func (a ABCIApp) ABCIQueryWithOptions(ctx context.Context, path string, data bytes.HexBytes, ...) (*ctypes.ResultABCIQuery, error) + func (a ABCIApp) BroadcastTxAsync(ctx context.Context, tx types.Tx) (*ctypes.ResultBroadcastTx, error) + func (a ABCIApp) BroadcastTxCommit(ctx context.Context, tx types.Tx) (*ctypes.ResultBroadcastTxCommit, error) + func (a ABCIApp) BroadcastTxSync(ctx context.Context, tx types.Tx) (*ctypes.ResultBroadcastTx, error) + type ABCIMock struct + Broadcast Call + BroadcastCommit Call + Info Call + Query Call + func (m ABCIMock) ABCIInfo(ctx context.Context) (*ctypes.ResultABCIInfo, error) + func (m ABCIMock) ABCIQuery(ctx context.Context, path string, data bytes.HexBytes) (*ctypes.ResultABCIQuery, error) + func (m ABCIMock) ABCIQueryWithOptions(ctx context.Context, path string, data bytes.HexBytes, ...) (*ctypes.ResultABCIQuery, error) + func (m ABCIMock) BroadcastTxAsync(ctx context.Context, tx types.Tx) (*ctypes.ResultBroadcastTx, error) + func (m ABCIMock) BroadcastTxCommit(ctx context.Context, tx types.Tx) (*ctypes.ResultBroadcastTxCommit, error) + func (m ABCIMock) BroadcastTxSync(ctx context.Context, tx types.Tx) (*ctypes.ResultBroadcastTx, error) + type ABCIRecorder struct + Calls []Call + Client client.ABCIClient + func NewABCIRecorder(client client.ABCIClient) *ABCIRecorder + func (r *ABCIRecorder) ABCIInfo(ctx context.Context) (*ctypes.ResultABCIInfo, error) + func (r *ABCIRecorder) ABCIQuery(ctx context.Context, path string, data bytes.HexBytes) (*ctypes.ResultABCIQuery, error) + func (r *ABCIRecorder) ABCIQueryWithOptions(ctx context.Context, path string, data bytes.HexBytes, ...) (*ctypes.ResultABCIQuery, error) + func (r *ABCIRecorder) BroadcastTxAsync(ctx context.Context, tx types.Tx) (*ctypes.ResultBroadcastTx, error) + func (r *ABCIRecorder) BroadcastTxCommit(ctx context.Context, tx types.Tx) (*ctypes.ResultBroadcastTxCommit, error) + func (r *ABCIRecorder) BroadcastTxSync(ctx context.Context, tx types.Tx) (*ctypes.ResultBroadcastTx, error) + type Call struct + Args interface{} + Error error + Name string + Response interface{} + func (c Call) GetResponse(args interface{}) (interface{}, error) + type Client struct + func (c Client) ABCIInfo(ctx context.Context) (*ctypes.ResultABCIInfo, error) + func (c Client) ABCIQuery(ctx context.Context, path string, data bytes.HexBytes) (*ctypes.ResultABCIQuery, error) + func (c Client) ABCIQueryWithOptions(ctx context.Context, path string, data bytes.HexBytes, ...) (*ctypes.ResultABCIQuery, error) + func (c Client) Block(ctx context.Context, height *int64) (*ctypes.ResultBlock, error) + func (c Client) BlockByHash(ctx context.Context, hash []byte) (*ctypes.ResultBlock, error) + func (c Client) BlockchainInfo(ctx context.Context, minHeight, maxHeight int64) (*ctypes.ResultBlockchainInfo, error) + func (c Client) BroadcastEvidence(ctx context.Context, ev types.Evidence) (*ctypes.ResultBroadcastEvidence, error) + func (c Client) BroadcastTxAsync(ctx context.Context, tx types.Tx) (*ctypes.ResultBroadcastTx, error) + func (c Client) BroadcastTxCommit(ctx context.Context, tx types.Tx) (*ctypes.ResultBroadcastTxCommit, error) + func (c Client) BroadcastTxSync(ctx context.Context, tx types.Tx) (*ctypes.ResultBroadcastTx, error) + func (c Client) CheckTx(ctx context.Context, tx types.Tx) (*ctypes.ResultCheckTx, error) + func (c Client) Commit(ctx context.Context, height *int64) (*ctypes.ResultCommit, error) + func (c Client) ConsensusParams(ctx context.Context, height *int64) (*ctypes.ResultConsensusParams, error) + func (c Client) ConsensusState(ctx context.Context) (*ctypes.ResultConsensusState, error) + func (c Client) DialPeers(ctx context.Context, peers []string, persistent, unconditional, private bool) (*ctypes.ResultDialPeers, error) + func (c Client) DialSeeds(ctx context.Context, seeds []string) (*ctypes.ResultDialSeeds, error) + func (c Client) DumpConsensusState(ctx context.Context) (*ctypes.ResultDumpConsensusState, error) + func (c Client) Genesis(ctx context.Context) (*ctypes.ResultGenesis, error) + func (c Client) Health(ctx context.Context) (*ctypes.ResultHealth, error) + func (c Client) NetInfo(ctx context.Context) (*ctypes.ResultNetInfo, error) + func (c Client) Status(ctx context.Context) (*ctypes.ResultStatus, error) + func (c Client) Validators(ctx context.Context, height *int64, page, perPage *int) (*ctypes.ResultValidators, error) + type QueryArgs struct + Data bytes.HexBytes + Height int64 + Path string + Prove bool + type StatusMock struct + func (m *StatusMock) Status(ctx context.Context) (*ctypes.ResultStatus, error) + type StatusRecorder struct + Calls []Call + Client client.StatusClient + func NewStatusRecorder(client client.StatusClient) *StatusRecorder + func (r *StatusRecorder) Status(ctx context.Context) (*ctypes.ResultStatus, error)