indexer

package
v1.9.18 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2025 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeAndRun

func MakeAndRun(client common.Client, s storage.Storage, c *common.Config, stats *chain.Stats, retry_time time.Duration)

func MakeBlockContext

func MakeBlockContext(s storage.Storage, client common.Client, config *common.Config, accounts *storage.AccountBalancesMap, dayStats *storage.DayStatsWithTimestamp) *blockContext

Types

type Genesis

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

type Indexer

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

func NewIndexer

func NewIndexer(client common.Client, s storage.Storage, c *common.Config, stats *chain.Stats, retry_time time.Duration) (i *Indexer)

type SyncQueue added in v1.5.4

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

func MakeSyncQueue added in v1.5.4

func MakeSyncQueue(start, end, queueLimit uint64, client common.Client) *SyncQueue

func (*SyncQueue) GetCurrent added in v1.5.4

func (sq *SyncQueue) GetCurrent() uint64

func (*SyncQueue) PopNext added in v1.5.4

func (sq *SyncQueue) PopNext() *chain.BlockData

func (*SyncQueue) Push added in v1.5.4

func (sq *SyncQueue) Push(bd *chain.BlockData)

func (*SyncQueue) RequestBlock added in v1.9.8

func (sq *SyncQueue) RequestBlock(number uint64)

func (*SyncQueue) Start added in v1.5.4

func (sq *SyncQueue) Start()

Jump to

Keyboard shortcuts

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