fetcher

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MapAccount added in v0.3.2

func MapAccount(b *ton.BlockIDExt, acc *tlb.Account) *core.AccountState

Types

type Service

type Service struct {
	*app.FetcherConfig
	// contains filtered or unexported fields
}

func NewService

func NewService(cfg *app.FetcherConfig) *Service

func (*Service) BlockTransactions

func (s *Service) BlockTransactions(ctx context.Context, master, b *ton.BlockIDExt) ([]*core.Transaction, error)

func (*Service) LookupMaster added in v0.3.2

func (s *Service) LookupMaster(ctx context.Context, api ton.APIClientWrapped, seqNo uint32) (*ton.BlockIDExt, error)

func (*Service) UnseenBlocks

func (s *Service) UnseenBlocks(ctx context.Context, masterSeqNo uint32) (master *ton.BlockIDExt, shards []*ton.BlockIDExt, err error)

func (*Service) UnseenShards added in v0.3.2

func (s *Service) UnseenShards(ctx context.Context, master *ton.BlockIDExt) (shards []*ton.BlockIDExt, err error)

Jump to

Keyboard shortcuts

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