research/archive/data_sync/scripts/start-node-b.sh

17 lines
659 B
Bash
Raw Normal View History

2019-02-20 12:12:13 +00:00
#!/usr/bin/env sh
# Should probably be a subprocess in python and print to some logger
# Or Docker compose or whatever.
2019-02-23 07:44:38 +00:00
#cp static-nodes.json /tmp/node-b/
echo "[Starting node-b...]"
echo "[Copying static-nodes...]"
2019-02-25 03:49:18 +00:00
mkdir -p ~/.ethereum/node-b/
2019-02-23 07:44:38 +00:00
cp static-nodes.json ~/.ethereum/node-b/
#geth --testnet --syncmode=light --rpc --maxpeers=25 --shh --shh.pow=0.002 --rpcport=8501 --datadir=~/.ethereum/node-b --port=30001 --verbosity=4
echo "[geth starting at port 30001, see node-b.log for logs.]"
geth --rpc --maxpeers=25 --shh --shh.pow=0.002 --rpcport=8501 --datadir=~/.ethereum/node-b --port=30001 --vmodule eth/*=2,p2p=4,shh=5,whisper=5 #&> node-b.log