indexer

package
v0.0.0-...-e872aef Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2023 License: MIT Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEncoding

func NewEncoding(registerInterfaces ...func(r types.InterfaceRegistry)) *encodingConfig

NewEncoding registers all base protobuf types by default as well as any custom types passed in

func NewTenderm1intClient

func NewTenderm1intClient(baseURL string) (*tmclient.HTTP, error)

Types

type IndexerApp

type IndexerApp struct {
	Height   int64
	IsSynced atomic.Bool
	// contains filtered or unexported fields
}

func NewIndexer

func NewIndexer(params IndexerAppParams) *IndexerApp

func (*IndexerApp) Run

func (a *IndexerApp) Run() (done <-chan struct{}, err error)

type IndexerAppParams

type IndexerAppParams struct {
	ArkeoApi            string
	TendermintApi       string
	TendermintWs        string
	ChainID             string
	Bech32PrefixAccAddr string
	Bech32PrefixAccPub  string
	IndexerID           int64
	db.DBConfig
}

Jump to

Keyboard shortcuts

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