flow-archive-indexer

command
v0.31.9-decrease-wait-... Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: Apache-2.0 Imports: 17 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Flow DPS Indexer

Description

The Flow DPS Indexer binary implements the core functionality to create the index for past sporks. It needs a reference to the protocol state database of the spork, as well as the trie directory and an execution state checkpoint. The index is generated in the form of a Badger database that allows random access to any ledger register at any block height.

Usage

Usage of flow-archive-indexer:
  -c, --checkpoint string   path to root checkpoint file for execution state trie
  -d, --data string         path to database directory for protocol data (default "data")
  -i, --index string        path to database directory for state index (default "index")
  -l, --level string        log output level (default "info")
  -s, --skip                skip indexing of execution state ledger registers
  -t, --trie string         path to data directory for execution state ledger

Example

The below command line starts indexing a past spork from the on-disk information.

./flow-archive-indexer -a -l debug -d /var/flow/data/protocol -t /var/flow/data/execution -c /var/flow/bootstrap/root.checkpoint -i /var/flow/data/index

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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