fn should_consume_slot( slot: Slot, blockstore: &Blockstore, consumed: &mut HashMap<Slot, bool> ) -> bool