mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 23:26:44 +00:00
geth/import: documentation
This commit is contained in:
parent
36fb59d699
commit
348db90785
2 changed files with 9 additions and 3 deletions
|
|
@ -54,10 +54,13 @@ participating.
|
||||||
Action: importChain,
|
Action: importChain,
|
||||||
Name: "import",
|
Name: "import",
|
||||||
Usage: "Import a blockchain file",
|
Usage: "Import a blockchain file",
|
||||||
ArgsUsage: "<filename>",
|
ArgsUsage: "<filename> (<filename 2> ... <filename N>) ",
|
||||||
Category: "BLOCKCHAIN COMMANDS",
|
Category: "BLOCKCHAIN COMMANDS",
|
||||||
Description: `
|
Description: `
|
||||||
TODO: Please write this
|
The import command imports blocks from an RLP-encoded form. The form can be one file
|
||||||
|
with several RLP-encoded blocks, or several files can be used.
|
||||||
|
If only one file is used, import error will result in failure. If several files are used,
|
||||||
|
processing will proceed even if an individual RLP-file import failure occurs.
|
||||||
`,
|
`,
|
||||||
}
|
}
|
||||||
exportCommand = cli.Command{
|
exportCommand = cli.Command{
|
||||||
|
|
|
||||||
|
|
@ -244,7 +244,10 @@ var (
|
||||||
Name: "fakepow",
|
Name: "fakepow",
|
||||||
Usage: "Disables proof-of-work verification",
|
Usage: "Disables proof-of-work verification",
|
||||||
}
|
}
|
||||||
|
NoCompactionFlag = cli.BoolFlag{
|
||||||
|
Name: "nocompaction",
|
||||||
|
Usage: "Disables db compaction after import",
|
||||||
|
}
|
||||||
// RPC settings
|
// RPC settings
|
||||||
RPCEnabledFlag = cli.BoolFlag{
|
RPCEnabledFlag = cli.BoolFlag{
|
||||||
Name: "rpc",
|
Name: "rpc",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue