onflow / flow-go

A fast, secure, and developer-friendly blockchain built to support the next generation of games, apps, and the digital assets that power them.
GNU Affero General Public License v3.0
532 stars 177 forks source link

[State sync engine] Design sunsetting protocol #1447

Closed synzhu closed 1 month ago

synzhu commented 3 years ago

We will need a sunset boundary (e.g. once a day / week) past which nodes are synced to a state checkpoint rather than a sequence of state diffs.

We will need to figure out the details of how this will be implemented:

peterargue commented 3 years ago

A requirement of the state sync is that DPS is able to generate its index for all blocks within the spork. Any checkpoint we use will either need to be based on a DPS index checkpoint, or retain enough information for DPS to build its index for blocks contained within the checkpoint.

synzhu commented 2 years ago

Hey team! Please add your planning poker estimate with ZenHub @peterargue @vishalchangrani @m4ksio @franklywatson