ETH performance (#99)

* Update geth to 1.8.0

* Up cache and maxconnections
This commit is contained in:
Neal Conner 2018-02-16 16:55:33 +00:00 committed by Josh Harvey
parent bc66b7b843
commit c2248e13d7
2 changed files with 3 additions and 3 deletions

View file

@ -25,8 +25,8 @@ const BINARIES = {
dir: 'bitcoin-0.15.1/bin'
},
ETH: {
url: 'https://gethstore.blob.core.windows.net/builds/geth-linux-amd64-1.7.3-4bb3c89d.tar.gz',
dir: 'geth-linux-amd64-1.7.3-4bb3c89d'
url: 'https://gethstore.blob.core.windows.net/builds/geth-linux-amd64-1.8.0-5f540757.tar.gz',
dir: 'geth-linux-amd64-1.8.0-5f540757'
},
ZEC: {
url: 'https://z.cash/downloads/zcash-1.0.14-linux64.tar.gz',

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