mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 15:16:43 +00:00
cmd/geth: add ctrl-c to the import doc
Signed-off-by: jsvisa <delweng@gmail.com>
This commit is contained in:
parent
0fa1940dc0
commit
edf4c98978
1 changed files with 8 additions and 4 deletions
|
|
@ -103,11 +103,15 @@ if one is set. Otherwise it prints the genesis from the datadir.`,
|
||||||
utils.StateHistoryFlag,
|
utils.StateHistoryFlag,
|
||||||
}, utils.DatabaseFlags),
|
}, utils.DatabaseFlags),
|
||||||
Description: `
|
Description: `
|
||||||
The import command imports blocks from an RLP-encoded form. The form can be one file
|
The import command allows the import of blocks from an RLP-encoded format. This format can be a single file
|
||||||
with several RLP-encoded blocks, or several files can be used.
|
containing multiple RLP-encoded blocks, or multiple files can be utilized.
|
||||||
|
|
||||||
If only one file is used, import error will result in failure. If several files are used,
|
If only one file is used, an import error will result in the entire import process failing. Conversely, if
|
||||||
processing will proceed even if an individual RLP-file import failure occurs.`,
|
multiple files are employed, the import process will continue even if an individual RLP file fails to import
|
||||||
|
successfully.
|
||||||
|
|
||||||
|
The import command will batch-import 2500 blocks into the database at a time. The import process can be
|
||||||
|
interrupted using Ctrl-C, and it will halt at the end of the current batch.`,
|
||||||
}
|
}
|
||||||
exportCommand = &cli.Command{
|
exportCommand = &cli.Command{
|
||||||
Action: exportChain,
|
Action: exportChain,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue