state

package
v0.4.37 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2024 License: Apache-2.0 Imports: 45 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 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