pub fn initialize_state(state: &State, context: &Context<File::Manager>) -> Result<(), Error> {
match scan_for_transaction(log, scratch_buffer, guessed_location, scan_forward, vault)? {
// Continue scanning from this location forward, starting at the next page boundary after the starting transaction
let mut buffer = Vec::with_capacity(8 + self.data.as_ref().map_or(0, |data| data.len()));
let delta_estimated_pages = (delta_from_current as f64 * local_avg_per_page).floor() as u64;