Skip to content

Snap Sync #2313

Answered by piersy
andreclaro asked this question in Help (Q&A)
Jun 20, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hi @andreclaro

We just want to keep the last month worth of blocks

This is not possible with celo or even vanilla go-ethereum and I'm not sure it's possible with any ethereum client. As far as I know all clients keep all blocks.

What you may be referring to is the state for each block which if not running with --gcmode archive will expire after 128 blocks so for celo that would be about 10 minutes, or 25 minutes for ethereum because block times are longer. If running with --gcmode archive then state never expires, unfortunately there is no extra configurability. So either you keep the last 128 sates or you keep them all.

Does Celo support snap sync?

The celo-blockchain celo node imple…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@andreclaro
Comment options

Answer selected by piersy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants