indexer

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: MIT Imports: 9 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IDandBlock

type IDandBlock struct {
	ID    tongo.BlockIDExt
	Block *tlb.Block
}

type Indexer

type Indexer struct {
	// contains filtered or unexported fields
}

Indexer tracks the blockchain and notifies subscribers about new blocks.

func New

func New(logger *zap.Logger, cli *liteapi.Client) *Indexer

func (*Indexer) Run

func (idx *Indexer) Run(ctx context.Context, channels []chan IDandBlock)

Jump to

Keyboard shortcuts

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