It seems that, at cycle n
, the context stores one selected snapshot (among 16) for each cycle between n-5
and n+5
, and 16 snapshots for cycle n+6
, and some number between 0 and 16 for cycle n+7
(depending where we are in cycle n). Is this right?
If yes, then couldn't one already select (at n
) the snapshot for cycle n+6
, using the seed for cycle n+5
(because the one for n+6
is not yet available)? In this way the context could store 15 snapshots less. Or does there need to be a certain correlation between the seed used for selecting the snapshot and the cycle for which the snapshot is selected? (Same question could be asked for baking/endorsement rights.) I imagine it is simply sufficient to not reuse a seed for the same purpose.
n+5
at bothn+5
andn+6
, what would you use forn+7
? Looks like you are going to always use the same seed...n+5
to select the snapshot ofn+6
(and the baking/endorsments rights ofn+5
); then the seed ofn+6
to select the snaphsot ofn+7
and so on. The same seed would not be used twice for the same purpose (like selecting a snapshot).