def METHOD_NAME(self, tx: 'BaseTransaction') -> None:
    """ Add neighbors of `tx` to be visited later according to the configuration.
    """
    it = self._get_iterator(tx, is_left_to_right=self.is_left_to_right)
    for _hash in it:
        if _hash not in self.seen:
            self.seen.add(_hash)
            neighbor = self.storage.get_transaction(_hash)
            self._push_visit(neighbor)