Skip to main content

Reconstruct historical states

An archive node can reconstruct historical states from genesis up to the current checkpoint, running during startup. This allows you to create a full archive node while also using checkpoint sync. Generating states this way is faster as many validations can be safely skipped. It also avoids weak subjectivity concerns.

Configuration

To configure Teku to reconstruct historical states, set --reconstruct-historic-states to true and --data-storage-mode to "archive".

You can also set --genesis-state. Otherwise, network defaults are used (such as Mainnet defaults).