runner

package
v0.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2022 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const VERSION = "icq/v0.6.0"

Variables

View Source
var (
	WaitInterval       = time.Second * 3
	MaxHistoricQueries = 50
)

Functions

func Close

func Close() error

func FlushSendQueue

func FlushSendQueue(chainId string, logger log.Logger) error

func Run

func Run(cfg *config.Config, home string) error

func RunGRPCQuery

func RunGRPCQuery(ctx context.Context, client *lensclient.ChainClient, method string, reqBz []byte, md metadata.MD) (abcitypes.ResponseQuery, metadata.MD, error)

Types

type Clients

type Clients []*lensclient.ChainClient

func (Clients) GetForChainId

func (clients Clients) GetForChainId(chainId string) *lensclient.ChainClient

type Query

type Query struct {
	SourceChainId string
	ConnectionId  string
	ChainId       string
	QueryId       string
	Type          string
	Height        int64
	Request       []byte
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL