def METHOD_NAME(_, data, __):
    nonlocal events, blocks_checked
    event = ctypes.cast(data, ctypes.POINTER(Block)).contents
    self.log.info(f"handle_blockconnected(): {event}")
    events.append(event)
    blocks_checked += 1