Skip to main content

is_new_turn

Function is_new_turn 

Source
fn is_new_turn(
    last: &mut HashMap<String, u64>,
    block_id: &str,
    turn_id: u64,
) -> bool
Expand description

True the first time turn_id is seen for block_id; a turn’s later publishes, and an older id arriving late, are not new.