Skip to main content

wave_has_opened

Function wave_has_opened 

Source
pub fn wave_has_opened(
    state: &MigrationState,
    config: &MigrationConfig,
    wave: u64,
) -> bool
Expand description

Whether this node’s wave has opened yet.

Wave w opens w * wave_hours after this build first started on this node. A node that has room for everything never consults this: it copies and retires without ever being unable to serve, so it is not part of the problem the waves exist to solve.