use light mode for ethereum
This commit is contained in:
parent
ad0a0c9621
commit
a9769ef296
1 changed files with 1 additions and 1 deletions
|
|
@ -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}" --cache 500 --rpc`
|
const cmd = `/usr/local/bin/${coinRec.daemon} --datadir "${dataDir}" --syncmode="light" --cache 500 --rpc`
|
||||||
common.writeSupervisorConfig(coinRec, cmd)
|
common.writeSupervisorConfig(coinRec, cmd)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue