db

package
v0.0.0-...-035baff Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2022 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CloneCommand = cli.Command{
	Action:    clone,
	Name:      "clone",
	Usage:     "Create a clone DB of a given range of blocks",
	ArgsUsage: "<srcPath> <dstPath> <blockNumFirst> <blockNumLast>",
	Flags: []cli.Flag{
		&substate.WorkersFlag,
	},
	Description: `
The substate-cli db clone command requires four arguments:
    <srcPath> <dstPath> <blockNumFirst> <blockNumLast>
<srcPath> is the original substate database to read the information.
<dstPath> is the target substate database to write the information
<blockNumFirst> and <blockNumLast> are the first and
last block of the inclusive range of blocks to clone.`,
}
View Source
var CompactCommand = cli.Command{
	Action:    compact,
	Name:      "compact",
	Usage:     "Compat LevelDB - discarding deleted and overwritten versions",
	ArgsUsage: "<dbPath>",
	Flags:     []cli.Flag{},
	Description: `
The substate-cli db compact command requires one argument:
	<dbPath>
<dbPath> is the target LevelDB instance to compact.`,
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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