erigon-pulse/cmd/integration/commands
gladcow 7e3c6ea2f8
Adds clear_bad_blocks command (#7934)
Adds `clear_bad_blocks` command to integration tool. This command allows
to re-process blocks that were erroneously marked as bad.

Command just clears `BadHeaderNumber` table. It can be safer in some
cases than
```
./integration state_stages —unwind=<some_number>
./integration stage_headers —unwind=<some_number>
```
and can be used in the cases like this one
https://github.com/ledgerwatch/erigon/issues/7892%20

Command syntax:
```
./integration clear_bad_blocks --datadir=<datadir>
```
2023-07-28 08:28:47 +07:00
..
flags.go integration stage_exec: add flag --no-commit (#7851) 2023-07-06 11:31:59 +07:00
refetence_db.go mdbx_to_mdbx: to use logger (#7860) 2023-07-09 08:04:20 +01:00
reset_state.go Adds clear_bad_blocks command (#7934) 2023-07-28 08:28:47 +07:00
root.go Expand home dir from tilda for integration tool settings (#7877) 2023-07-13 00:45:38 +07:00
stages.go added bor tx indexing with tests (#7826) 2023-07-12 23:31:38 +01:00
state_domains.go added bor tx indexing with tests (#7826) 2023-07-12 23:31:38 +01:00
state_stages.go Removed unused stages (Cumulative index + Translation) (#7884) 2023-07-13 16:55:48 +02:00