code: def get_opcodes(self, script, verify_minimal_data=False, pc=0):
          
          while pc < len(script):
              opcode, data, new_pc, is_ok = self.scriptStreamer.get_opcode(
                  script, pc, verify_minimal_data=verify_minimal_data)
              yield opcode, data, pc, new_pc
              pc = new_pc
docs: Iterator. Return opcode, data, pc, new_pc at each step