diff options
author | Péter Szilágyi <peterke@gmail.com> | 2018-08-15 16:01:49 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-08-15 16:41:23 +0800 |
commit | 2a17fe25612b57d943862459dba88666685ffd69 (patch) | |
tree | 9c1e6b256256ae5b1e23d2fe634b8445cc65fb08 /cmd/puppeth | |
parent | 212bba47ff13812ddabb642da463e58cda4ff20f (diff) | |
download | dexon-2a17fe25612b57d943862459dba88666685ffd69.tar dexon-2a17fe25612b57d943862459dba88666685ffd69.tar.gz dexon-2a17fe25612b57d943862459dba88666685ffd69.tar.bz2 dexon-2a17fe25612b57d943862459dba88666685ffd69.tar.lz dexon-2a17fe25612b57d943862459dba88666685ffd69.tar.xz dexon-2a17fe25612b57d943862459dba88666685ffd69.tar.zst dexon-2a17fe25612b57d943862459dba88666685ffd69.zip |
cmd: polish miner flags, deprecate olds, add upgrade path
Diffstat (limited to 'cmd/puppeth')
-rw-r--r-- | cmd/puppeth/module_node.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/puppeth/module_node.go b/cmd/puppeth/module_node.go index a480a894e..8ad41555e 100644 --- a/cmd/puppeth/module_node.go +++ b/cmd/puppeth/module_node.go @@ -42,7 +42,7 @@ ADD genesis.json /genesis.json RUN \ echo 'geth --cache 512 init /genesis.json' > geth.sh && \{{if .Unlock}} echo 'mkdir -p /root/.ethereum/keystore/ && cp /signer.json /root/.ethereum/keystore/' >> geth.sh && \{{end}} - echo $'exec geth --networkid {{.NetworkID}} --cache 512 --port {{.Port}} --maxpeers {{.Peers}} {{.LightFlag}} --ethstats \'{{.Ethstats}}\' {{if .Bootnodes}}--bootnodes {{.Bootnodes}}{{end}} {{if .Etherbase}}--etherbase {{.Etherbase}} --mine --minerthreads 1{{end}} {{if .Unlock}}--unlock 0 --password /signer.pass --mine{{end}} --targetgaslimit {{.GasTarget}} --gasprice {{.GasPrice}}' >> geth.sh + echo $'exec geth --networkid {{.NetworkID}} --cache 512 --port {{.Port}} --maxpeers {{.Peers}} {{.LightFlag}} --ethstats \'{{.Ethstats}}\' {{if .Bootnodes}}--bootnodes {{.Bootnodes}}{{end}} {{if .Etherbase}}--miner.etherbase {{.Etherbase}} --mine --miner.threads 1{{end}} {{if .Unlock}}--unlock 0 --password /signer.pass --mine{{end}} --miner.gastarget {{.GasTarget}} --miner.gasprice {{.GasPrice}}' >> geth.sh ENTRYPOINT ["/bin/sh", "geth.sh"] ` |