package
0.31.14
Repository: https://github.com/onflow/flow-archive.git
Documentation: pkg.go.dev

# Functions

NewReader creates a new index reader, using the given database as the underlying state repository.
NewWriter creates a new index writer that writes new indexing data to the given Badger database.
WithConcurrentTransactions specifies the maximum concurrent transactions that a DPS index should have.
WithFlushInterval sets a custom interval after which we will flush Badger transactions, to avoid long waits for DB updates in cases where there is not enough data to quickly fill them.

# Constants

ConcurrentPathReadLimit sets the number of concurrent paths in the Values lookup.

# Variables

DefaultConfig is the default configuration for the DPS index.

# Structs

Config is the configuration of a DPS index.
Reader implements the `index.Reader` interface on top of the DPS server's Badger database index.
Writer implements the `index.Writer` interface to write indexing data to an underlying Badger database.