Versions in this module Expand all Collapse all v0 v0.0.2 May 13, 2020 v0.0.1 May 13, 2020 Changes in this version + func ErrNoData() error + func GetCertifiedCommit(h int64, node rpcclient.Client, cert lite.Certifier) (lite.Commit, error) + func GetCertifier(chainID, rootDir, nodeAddr string) (*lite.InquiringCertifier, error) + func IsNoDataErr(err error) bool + func RPCRoutes(c rpcclient.Client) map[string]*rpc.RPCFunc + func StartProxy(c rpcclient.Client, listenAddr string, logger log.Logger) error + func ValidateBlock(meta *types.Block, check lite.Commit) error + func ValidateBlockMeta(meta *types.BlockMeta, check lite.Commit) error + func ValidateHeader(head *types.Header, check lite.Commit) error + type KeyProof interface + Bytes func() []byte + Root func() []byte + Verify func(key, value, root []byte) error + func GetWithProof(key []byte, reqHeight int64, node rpcclient.Client, cert lite.Certifier) (val cmn.HexBytes, height int64, proof KeyProof, err error) + func GetWithProofOptions(path string, key []byte, opts rpcclient.ABCIQueryOptions, ...) (*ctypes.ResultABCIQuery, KeyProof, error) + func GetWithProofOptionsEx(path string, node rpcclient.Client, cert lite.Certifier) (*ctypes.ResultABCIQueryEx, KeyProof, error) + type Wrapper struct + func SecureClient(c rpcclient.Client, cert *lite.InquiringCertifier) Wrapper + func (w Wrapper) ABCIQuery(path string, data cmn.HexBytes) (*ctypes.ResultABCIQuery, error) + func (w Wrapper) ABCIQueryEx(path string) (*ctypes.ResultABCIQueryEx, error) + func (w Wrapper) ABCIQueryExWithOptions(path string) (*ctypes.ResultABCIQueryEx, error) + func (w Wrapper) ABCIQueryWithOptions(path string, data cmn.HexBytes, opts rpcclient.ABCIQueryOptions) (*ctypes.ResultABCIQuery, error) + func (w Wrapper) Block(height *int64) (*ctypes.ResultBlock, error) + func (w Wrapper) BlockchainInfo(minHeight, maxHeight int64) (*ctypes.ResultBlockchainInfo, error) + func (w Wrapper) Commit(height *int64) (*ctypes.ResultCommit, error) + func (w Wrapper) Tx(hash []byte, prove bool) (*ctypes.ResultTx, error)