Last active
September 6, 2018 06:55
-
-
Save Matrixbirds/5320e618a2ae5148b2c1a46fbd714c60 to your computer and use it in GitHub Desktop.
部署etc geth
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 创建docker volume 并且挂载到/opt/docker/volumes/etc | |
docker create --name etc --device=/opt/docker/volumes/etc --opt o=bind | |
# docker pull images | |
# 启动测试节点 | |
docker run -d --name etc-geth -v docker_tmp:/tmp -v ethereumclassic:/root/.ethereum-classic -p 30303:30303 -p 8080:8080 -p 8180:8180 -p 8545:8545 ethereumclassic/etc-geth:latest geth --rpc --chain=morden --rpcapi "db,eth,net,web3,personal,admin,miner" --rpccorsdomain "*" --network-id=62 --autodag --etherbase 0xE14940F809Df48E865bac1102f52B4D01aBe1bCB --rpcport 8545 --rpcaddr 0.0.0.0 --mine --minerthreads 1 --targetgaslimit 90000 | |
8c0fa801d1a0787f3390c47011e5f93ed487576eeaad53d8ccd09a9439508226 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment