Versions in this module Expand all Collapse all v0 v0.13.1 Oct 31, 2019 Changes in this version + var ErrReconnectFailure = errors.New("could not reconnect to any node") + type Client struct + func New(nodeAddresses []string, logger *logger.Logger) (*Client, error) + func (c *Client) ABCIInfo() (*ctypes.ResultABCIInfo, error) + func (c *Client) BlockResults(height *int64) (*ctypes.ResultBlockResults, error) + func (c *Client) BlockchainInfo(minHeight, maxHeight int64) (*ctypes.ResultBlockchainInfo, error) + func (c *Client) Broadcast(tx []byte) (*ctypes.ResultBroadcastTxCommit, error) + func (c *Client) ForceReconnect() error + func (c *Client) Query(path string, data cmn.HexBytes) (*ctypes.ResultABCIQuery, error) + func (c *Client) SendAsync(tx []byte) (*ctypes.ResultBroadcastTx, error) + func (c *Client) SendSync(tx []byte) (*ctypes.ResultBroadcastTx, error) + func (c *Client) Stop() + func (c *Client) Subscribe(ctx context.Context, subscriber, query string, outCapacity ...int) (out <-chan ctypes.ResultEvent, err error) + func (c *Client) TxByHash(hash cmn.HexBytes) (*ctypes.ResultTx, error) + func (c *Client) Unsubscribe(ctx context.Context, subscriber, query string) error + func (c *Client) UnsubscribeAll(ctx context.Context, subscriber string) error