mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-24 08:49:29 +00:00
add era import in geth
This commit is contained in:
parent
f4efd4b09d
commit
e8a656cc95
2 changed files with 2 additions and 3 deletions
|
|
@ -181,8 +181,7 @@ into Era archives. Eras are typically packaged in steps of 8192 blocks.
|
|||
Flags: slices.Concat(utils.DatabaseFlags, utils.NetworkFlags, []cli.Flag{utils.EraFormatFlag}),
|
||||
Description: `
|
||||
The import-era-index command indexes transactions from era files to enable
|
||||
transaction lookups by hash
|
||||
for pruned block ranges. Era files must be present in the specified directory.
|
||||
transaction lookups by hash for pruned block ranges. Era files must be present in the specified directory.
|
||||
The command is idempotent and can be re-run to index newly added era files.
|
||||
`,
|
||||
}
|
||||
|
|
@ -673,7 +672,6 @@ func importEraIndex(ctx *cli.Context) error {
|
|||
|
||||
fmt.Printf("Era indexing done in %v\n", time.Since(start))
|
||||
return nil
|
||||
|
||||
}
|
||||
|
||||
// importPreimages imports preimage data from the specified file.
|
||||
|
|
|
|||
|
|
@ -236,6 +236,7 @@ func init() {
|
|||
exportCommand,
|
||||
importHistoryCommand,
|
||||
exportHistoryCommand,
|
||||
importEraIndexCommand,
|
||||
importPreimagesCommand,
|
||||
removedbCommand,
|
||||
dumpCommand,
|
||||
|
|
|
|||
Loading…
Reference in a new issue