Proc Details
get_earliest_log_index
- Binary search like implementation to find the earliest log
- Returns the index of the earliest log using the time_from value for the given list of logs.
- It will return 0 if no log after time_from is found
get_latest_log_index
- Binary search like implementation to find the latest log
- Returns the index of the latest log using the time_to value (1 second is added to prevent rounding weirdness) for the given list of logs.
- It will return 0 if no log before time_to + 10 is found