<commit_before>module AssemblyCoin
  class BlockchainUpdateProduct < AssemblyCoin::Worker

    def perform(product)
      AssemblyCoin::MaintainBtcBalance.new.perform(product.id)

      product.assign_asset_address

      distinct_txs = product.distinct_wallets_unqueued

      distinct_txs.each do |user_id, coins|<commit_msg>mark transaction log entries as queued for each blockchain update worker call<commit_after>module AssemblyCoin
  class BlockchainUpdateProduct < AssemblyCoin::Worker

    def perform(product)
      AssemblyCoin::MaintainBtcBalance.new.perform(product.id)

      product.assign_asset_address

      distinct_txs = product.distinct_wallets_unqueued
      product.mark_all_transactions_as_queued

      distinct_txs.each do |user_id, coins|
{'fraction_non_alphanumeric': 0.058900523560209424, 'fraction_numerical': 0.0, 'mean_word_length': 4.795454545454546, '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': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '822861', 'n_tokens_mistral': 227, 'n_tokens_neox': 220, 'n_words': 41}