github.com/pdaian/flashboys2@v0.0.0-20190718175736-b101c35361f0/etherdelta/scripts/run_find_succ_txs.sh (about) 1 #!/usr/bin/env bash 2 3 onexit() { 4 kill -TERM -0 5 wait 6 } 7 trap onexit INT 8 9 set -x 10 11 for (( i=3900000; i<=5550000; i+=50000)) 12 do 13 python3 find_succ_txs.py --st $i --len 50000 --r 1 & 14 # cmd="python3 find_succ_txs.py --st $i --len 100000 --r 20 &" 15 # echo "running $cmd" 16 # eval $cmd 17 done 18 19 wait 20 21 #python3 find_succ_txs.py --st 3900000 --len 100000 --r 20