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.

Index

Package Files

provider.go

func NewHTTPProvider Uses

func NewHTTPProvider(chainID, remote string) lite.Provider

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 {
    rpcclient.SignClient
    rpcclient.StatusClient
}

SignStatusClient combines a SignClient and StatusClient.

Package client imports 7 packages (graph) and is imported by 8 packages. Updated 2019-11-17. Refresh now. Tools for package owners.