def add_rejected(server, username, password):
    """
    Adds a rejected result to the database
    """
    __patch()
    key = get_key(server, username, password)
    if key not in rejected:
        rejected[key] = 0
    rejected[key] += 1
    username = shorten(username)
    hashrate.add_shares(1)
    logging.info('Rejected: %s:%s@%s' % (username, password, server))
dataset/ETHPy150Open c00w/bitHopper/bitHopper/Tracking/Tracking.py/add_rejected/original