package
0.31.5
Repository: https://github.com/rnssolution/prism.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

DefaultWaitStrategy is the standard backoff algorithm, but you can plug in another one.
NewHTTP 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.

# Variables

DefaultABCIQueryOptions are latest height (0) and prove false.

# Structs

ABCIQueryOptions can be used to provide options for ABCIQuery call other than the DefaultABCIQueryOptions.
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.
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.
EventsClient is reactive, you can subscribe to any message, given the proper string.
HistoryClient shows us data from genesis to now in large chunks.
MempoolClient shows us data about current mempool state.
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.