phase2-bn254/phase2/verify.sh
2020-05-11 11:14:33 +03:00

10 lines
244 B
Bash
Executable File

#!/bin/bash -x
while true; do
CURRENT=`cat current`
echo $((CURRENT+1)) > current
if [ $CURRENT -ge $1 ]; then
exit 0
fi
./target/release/verify_contribution circuit.json response_$CURRENT response_$((CURRENT+1)) >> verify.log 2>&1
done