pub fn wave_opens_at(
state: &MigrationState,
config: &MigrationConfig,
wave: u64,
) -> u64Expand description
When a given wave opens, in Unix seconds.
Measured from the END of the shed hold, not from first start. Measured from the start the two settings cancel each other out: with a 72 hour hold and 24 hour waves, waves would open at 0, 24, 48 and 72 hours while nothing at all may shed until hour 72, so every wave would be open the moment the first one could act and the whole close group would migrate together. That is the pile-up the waves exist to prevent.