<commit_before>const coinUtils = require('../coin-utils')

const common = require('./common')

module.exports = {setup}

function setup (dataDir) {
  const coinRec = coinUtils.getCryptoCurrency('ETH')
  common.firewall([coinRec.defaultPort])
  const cmd = `/usr/local/bin/${coinRec.daemon} --datadir "${dataDir}" --syncmode="light" --cache 500 --rpc`
  common.writeSupervisorConfig(coinRec, cmd)
}
<commit_msg>use fast syncmode for ETH<commit_after>const coinUtils = require('../coin-utils')

const common = require('./common')

module.exports = {setup}

function setup (dataDir) {
  const coinRec = coinUtils.getCryptoCurrency('ETH')
  common.firewall([coinRec.defaultPort])
  const cmd = `/usr/local/bin/${coinRec.daemon} --datadir "${dataDir}" --syncmode="fast" --cache 500 --rpc`
  common.writeSupervisorConfig(coinRec, cmd)
}

{'fraction_non_alphanumeric': 0.1684717208182912, 'fraction_numerical': 0.007220216606498195, 'mean_word_length': 4.900709219858156, 'pattern_counts': {'":': 0, '<': 3, '<?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': '2457368', 'n_tokens_mistral': 273, 'n_tokens_neox': 274, 'n_words': 56}