pub fn generate_offsets( batches: &mut [PacketBatch], recycler: &Recycler<TxOffset>, reject_non_vote: bool, ) -> (TxOffset, TxOffset, TxOffset, TxOffset, Vec<Vec<u32>>)