state

package
v0.4.36 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2023 License: Apache-2.0 Imports: 43 Imported by: 0

Documentation

Overview

Package state implements the machinery for tracking on-chain state.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChunkListV5 added in v0.4.33

type ChunkListV5 []*flowChunkV5

type Indexer

type Indexer struct {
	Chain *config.Chain
	Store *indexdb.Store
	// contains filtered or unexported fields
}

Indexer indexes block data using the Flow Access API and Consensus Follower.

func (*Indexer) Run

func (i *Indexer) Run(ctx context.Context)

Run kicks off the entire state tracking machinery.

func (*Indexer) Synced

func (i *Indexer) Synced() bool

Synced returns whether the indexer is synced with the tip of the live spork.

Jump to

Keyboard shortcuts

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