pub fn calculate_block_delay( delay_period_time: Duration, max_expected_time_per_block: Duration) -> u64