Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigWrapper ¶
ConfigWrapper implements a wrapper around both a Tendermint RPC client and a Cosmos SDK REST client that allows for essential data queries.
func New ¶
func New(rpcEndpoint, lcdEndpoint string) (ConfigWrapper, error)
New creates a new ConfigWrapper
func (ConfigWrapper) LatestHeight ¶
func (cw ConfigWrapper) LatestHeight() (int64, error)
LatestHeight returns the latest block height on the active chain. An error is returned if the query fails.
func (ConfigWrapper) Stop ¶
func (cw ConfigWrapper) Stop() error
Stop defers the node stop execution to the RPC client.
Click to show internal directories.
Click to hide internal directories.