feat(cli): make stopping on invalid block the default for reth import (#21403)

Co-authored-by: Amp <amp@ampcode.com>
This commit is contained in:
Matthias Seitz
2026-01-26 13:41:06 +01:00
committed by GitHub
parent d4f28b02ff
commit 934f462d01
3 changed files with 132 additions and 12 deletions

View File

@@ -187,6 +187,13 @@ RocksDB:
--chunk-len <CHUNK_LEN>
Chunk byte length to read from file.
--fail-on-invalid-block
Fail immediately when an invalid block is encountered.
By default, the import will stop at the last valid block if an invalid block is
encountered during execution or validation, leaving the database at the last valid
block state. When this flag is set, the import will instead fail with an error.
<IMPORT_PATH>...
The path(s) to block file(s) for import.