ETH performance (#99)
* Update geth to 1.8.0 * Up cache and maxconnections
This commit is contained in:
parent
bc66b7b843
commit
c2248e13d7
2 changed files with 3 additions and 3 deletions
|
|
@ -25,8 +25,8 @@ const BINARIES = {
|
||||||
dir: 'bitcoin-0.15.1/bin'
|
dir: 'bitcoin-0.15.1/bin'
|
||||||
},
|
},
|
||||||
ETH: {
|
ETH: {
|
||||||
url: 'https://gethstore.blob.core.windows.net/builds/geth-linux-amd64-1.7.3-4bb3c89d.tar.gz',
|
url: 'https://gethstore.blob.core.windows.net/builds/geth-linux-amd64-1.8.0-5f540757.tar.gz',
|
||||||
dir: 'geth-linux-amd64-1.7.3-4bb3c89d'
|
dir: 'geth-linux-amd64-1.8.0-5f540757'
|
||||||
},
|
},
|
||||||
ZEC: {
|
ZEC: {
|
||||||
url: 'https://z.cash/downloads/zcash-1.0.14-linux64.tar.gz',
|
url: 'https://z.cash/downloads/zcash-1.0.14-linux64.tar.gz',
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,6 @@ module.exports = {setup}
|
||||||
function setup (dataDir) {
|
function setup (dataDir) {
|
||||||
const coinRec = coinUtils.getCryptoCurrency('ETH')
|
const coinRec = coinUtils.getCryptoCurrency('ETH')
|
||||||
common.firewall([coinRec.defaultPort])
|
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)
|
common.writeSupervisorConfig(coinRec, cmd)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue