flow-dps-indexer

command
v1.4.8 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2021 License: Apache-2.0 Imports: 18 Imported by: 0

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-dps-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-dps-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