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.
Click to show internal directories.
Click to hide internal directories.