gitlab.com/lightnet1/evrynet-node@v1.1.0/start_test_nodes.sh (about) 1 #!/bin/sh 2 echo "------------Create Genesis Block------------" 3 # Kill all apps are using port: 30301, 30302, 30303, 30304 4 sh ./stop_test_nodes.sh 5 6 # Init genesis block & Run test node 7 for i in 1 2 3 4 8 do 9 echo "--- Create genesis block for node $i ..." 10 ./gev --datadir ./tests/test_nodes/node"$i"/data init ./tests/test_nodes/genesis.json 11 12 echo "--- Start test node $i ..." 13 ./gev --datadir ./tests/test_nodes/node"$i"/data --nodiscover --tendermint.blockperiod 1 --syncmode full --networkid 15 --mine \ 14 --rpc --rpcaddr 0.0.0.0 --rpcport 2200"$i" --port 3030"$i" \ 15 --pprof --pprofport 606"$i" \ 16 --rpcapi admin,db,eth,debug,miner,net,shh,txpool,personal,web3,tendermint --allow-insecure-unlock 2>>node"$i".log & 17 done