aboutsummaryrefslogblamecommitdiffstats
path: root/test/run_test.sh
blob: 53c3757059d8a1420decfe5125ce84cd3cc9cd27 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                                  
                                                                                    


                  
#!/bin/bash

GETH=../build/bin/geth

pkill -9 -f geth

bootnode -nodekey bootnode.key --verbosity=9 > bootnode.log 2>&1 &

for i in $(seq 1 7); do
  datadir=$PWD/Dexon.$i
  rm -rf $datadir
  $GETH --datadir=$datadir init genesis.json
  cp test$i.nodekey $datadir/geth/nodekey
  $GETH --verbosity=4 --datadir=$datadir --port=$((28000 + $i)) > geth.$i.log 2>&1 &
done

tail -f geth.*.log