<commit_before>UPDATE
    requests
JOIN
    purses
ON
    purses.uid=requests.uid
    AND purses.type=requests.curr_type
SET
    requests.status='FINAL',
    purses.amount = purses.amount + requests.amount
WHERE
    requests.status='VERIFY'
    AND requests.req_type='DEPOS'
    AND requests.timest < NOW() - INTERVAL 1 DAY
;
<commit_msg>verification for bitcoin deposits are now instant.<commit_after>UPDATE
    requests
JOIN
    purses
ON
    purses.uid=requests.uid
    AND purses.type=requests.curr_type
SET
    requests.status='FINAL',
    purses.amount = purses.amount + requests.amount
WHERE
    requests.status='VERIFY'
    AND requests.req_type='DEPOS'
    AND (
        requests.curr_type='BTC'
        OR requests.timest < NOW() - INTERVAL 1 DAY
        )
;

{'fraction_non_alphanumeric': 0.09492847854356307, 'fraction_numerical': 0.002600780234070221, 'mean_word_length': 3.074074074074074, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5182675', 'n_tokens_mistral': 260, 'n_tokens_neox': 253, 'n_words': 54}