indexer

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeAndRun

func MakeAndRun(url string, s storage.Storage, c *common.Config)

func MakeBlockContext

func MakeBlockContext(s storage.Storage, client chain.Client, config *common.Config) *blockContext

Types

type Genesis

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

func MakeGenesis

func MakeGenesis(s storage.Storage, c chain.Client, gen_obj chain.GenesisObject, genesisHash storage.GenesisHash) *Genesis

type Indexer

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

func NewIndexer

func NewIndexer(url string, s storage.Storage, c *common.Config) (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, queueLimit uint64, client chain.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) 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