github.com/pdaian/flashboys2@v0.0.0-20190718175736-b101c35361f0/etherdelta/scripts/run_find_all_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+=10000))
    12  do
    13      python3 find_all_txs.py --st $i --len 10000 --r 1 &
    14  
    15  done
    16  
    17  wait
    18  
    19  #python3 find_succ_txs.py --st 3900000 --len 100000 --r 20