in clock-bound-d/src/response.rs [253:263]
fn clockbound_now(ceb: f64) -> (u64, u64) {
// For testing purposes we will use a mock function to retrieve our timestamp instead of getting
// the current time.
#[cfg(test)]
let time_nanos: u64 = tests::mock_get_epoch_us();
#[cfg(not(test))]
let time_nanos: u64 = get_epoch_us();
// Convert seconds to nanoseconds and round to the nearest nanosecond.
let ceb_nanos: u64 = (ceb * 1000000000.0) as u64;
return (time_nanos - ceb_nanos, time_nanos + ceb_nanos);
}