From c9120fa961e00aa5572a3f7dedd1f0edfdb5a8da Mon Sep 17 00:00:00 2001 From: Neal Conner Date: Mon, 26 Feb 2018 17:03:15 +0000 Subject: [PATCH] Fix ETH peers and bump to 1.8.1 (#101) * Fix ETH 'maxpeers' * Update geth to 1.8.1 --- lib/blockchain/common.js | 4 ++-- lib/blockchain/ethereum.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/blockchain/common.js b/lib/blockchain/common.js index 410cadb0..e3a3b428 100644 --- a/lib/blockchain/common.js +++ b/lib/blockchain/common.js @@ -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.8.0-5f540757.tar.gz', - dir: 'geth-linux-amd64-1.8.0-5f540757' + url: 'https://gethstore.blob.core.windows.net/builds/geth-linux-amd64-1.8.1-1e67410e.tar.gz', + dir: 'geth-linux-amd64-1.8.1-1e67410e' }, ZEC: { url: 'https://z.cash/downloads/zcash-1.0.14-linux64.tar.gz', diff --git a/lib/blockchain/ethereum.js b/lib/blockchain/ethereum.js index 81d81a55..2124c231 100644 --- a/lib/blockchain/ethereum.js +++ b/lib/blockchain/ethereum.js @@ -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 --maxconnections 40 --rpc` + const cmd = `/usr/local/bin/${coinRec.daemon} --datadir "${dataDir}" --syncmode="fast" --cache 2048 --maxpeers 40 --rpc` common.writeSupervisorConfig(coinRec, cmd) }