# Packages
package mock returns a Client implementation that
accepts various (mock) implementations of the various methods.
# Functions
DefaultWaitStrategy is the standard backoff algorithm, but you can plug in another one.
New takes a remote endpoint in the form tcp://<host>:<port> and the websocket path (which always seems to be "/websocket").
NewLocal configures a client that calls the Node directly.
Wait for height will poll status at reasonable intervals until the block at the given height is available.
WaitForOneEvent subscribes to a websocket event for the given event time and returns upon receiving it one time, or when the timeout duration has expired.
# Structs
HTTP is a Client implementation that communicates
with a tendermint node over json rpc and websockets.
Local is a Client implementation that directly executes the rpc
functions on a given node, without going through HTTP or GRPC
This implementation is useful for:
* Running tests against a node in-process without the overhead
of going through an http server
* Communication between an ABCI app and tendermin core when they
are compiled in process.
No description provided by the author
# Interfaces
ABCIClient groups together the functionality that principally affects the ABCI app.
Client wraps most important rpc calls a client would make if you want to listen for events, test if it also implements events.EventSwitch.
HistoryClient shows us data from genesis to now in large chunks.
NetworkClient is general info about the network state.
SignClient groups together the interfaces need to get valid signatures and prove anything about the chain.
No description provided by the author
# Type aliases
Waiter is informed of current height, decided whether to quit early.