diff --git a/app.js b/app.js index 3bd8026..6ff046b 100644 --- a/app.js +++ b/app.js @@ -1,4 +1,7 @@ var nodeModel = require('./lib/node'); +var sleep = require('sleep'); + +sleep.sleep(5); var node = new nodeModel(); diff --git a/bin/eth.sh b/bin/eth.sh index cafdd3c..f074501 100644 --- a/bin/eth.sh +++ b/bin/eth.sh @@ -4,5 +4,5 @@ if [[ -f /usr/bin/geth ]]; then geth -rpc -maxpeers "50" -loglevel "1" else - eth -b -x 50 -l 30303 -n off -m off -v 1 -j + eth -b -x 50 -r poc-9.ethdev.com -p 30303 -m off -n off -v 0 -j fi \ No newline at end of file diff --git a/package.json b/package.json index 737b20e..ead35a2 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "primus-emit": "^0.1.2", "primus-spark-latency": "^0.1.1", "shelljs": "^0.4.0", + "sleep": "^2.0.0", "ws": "^0.7.1" }, "scripts": {