tendermint: github.com/tendermint/tendermint/lite/client Index | Files

package client

import "github.com/tendermint/tendermint/lite/client"

Package client defines a provider that uses a rpcclient to get information, which is used to get new headers and validators directly from a Tendermint client.


Package Files


func NewHTTPProvider Uses

func NewHTTPProvider(chainID, remote string) (lite.Provider, error)

NewHTTPProvider can connect to a tendermint json-rpc endpoint at the given url, and uses that as a read-only provider.

func NewProvider Uses

func NewProvider(chainID string, client SignStatusClient) lite.Provider

NewProvider implements Provider (but not PersistentProvider).

type SignStatusClient Uses

type SignStatusClient interface {

SignStatusClient combines a SignClient and StatusClient.

Package client imports 7 packages (graph) and is imported by 11 packages. Updated 2020-01-07. Refresh now. Tools for package owners.