> For the complete documentation index, see [llms.txt](https://docs.chaintools.tech/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.chaintools.tech/chains/general/statsync.md).

# State-Sync

#### Enable StateSync <a href="#enable-statesync" id="enable-statesync"></a>

To enable StateSync adjust following parameters in `app.toml:`

`pruning-keep-every = "1000"`\
`[state-sync]`\
`snapshot-interval = 1000`\
`snapshot-keep-recent = 3`

Once changes are done restart node.

That will create snapshot every 1000 blocks and will keep 3 snapshots.
