This commit is contained in:
alex.sharov 2023-07-29 12:08:38 +07:00
parent 2f2a1741d2
commit b50f427641

View File

@ -87,9 +87,11 @@ make all
3. Stop Erigon again after about 1 minute (Steps 2 and 3 create a new empty db in /path/to/copy-to/chaindata )
4. Build integration: cd erigon; make integration
5. Run: ./build/bin/integration mdbx_to_mdbx --chaindata /existing/erigon/path/chaindata/ --chaindata.to /path/to/copy-to/chaindata/
6. cp -R /existing/erigon/path/snapshots /path/to/copy-to/snapshots
7. start erigon in new datadir as usualy
```
## Clear bad blocks table in the case some block was marked as invalid after some error
## Clear bad blocks markers table in the case some block was marked as invalid after some error
It allows to process this blocks again
```
1. ./build/bin/integration clear_bad_blocks --datadir=<datadir>