def METHOD_NAME(self, transaction_id, infohash):
    """
    Tne libtorrent DHT has sent a get_peers query for an infohash we may be interested in.
    If so, keep track of the transaction and node IDs.
    :param transaction_id: The ID of the query
    :param infohash: The infohash for which the query was sent.
    """
    if infohash in self.lookup_futures:
        self.outstanding[transaction_id] = infohash
    elif transaction_id in self.outstanding:
        # Libtorrent is reusing the transaction_id, and is now using it for a infohash that we're not interested in.
        self.outstanding.pop(transaction_id, None)