feat: re-enable geth install

This commit is contained in:
Neal 2021-05-17 19:16:17 -04:00 committed by Josh Harvey
parent ea703375e1
commit 0ac62139db
4 changed files with 4 additions and 5 deletions

View file

@ -7,6 +7,6 @@ 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 2048 --maxpeers 40 --rpc`
const cmd = `/usr/local/bin/${coinRec.daemon} --datadir "${dataDir}" --syncmode="light" --cache 2048 --maxpeers 40 --rpc`
common.writeSupervisorConfig(coinRec, cmd)
}

View file

@ -104,9 +104,7 @@ function run () {
name: c.display,
value: c.code,
checked,
disabled: c.cryptoCode === 'ETH'
? 'Use admin\'s Infura plugin'
: checked && 'Installed'
disabled: checked && 'Installed'
}
}, cryptos)