service

package
v0.0.0-...-8358614 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const ErrBlockNotApplied = "block is not applied"

Variables

This section is empty.

Functions

This section is empty.

Types

type ShardScanner

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

func NewShardScanner

func NewShardScanner(
	logger *zap.SugaredLogger,
	shard byte,
	tonApi *ton.APIClient,
) *ShardScanner

NewShardScanner creates new tracker to get blocks with specific shard attribute.

func (*ShardScanner) Start

func (s *ShardScanner) Start(ctx context.Context, startBlock *ton.BlockIDExt)

Start scans for blocks.

Jump to

Keyboard shortcuts

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