phase2-bn254/phase2/verify.sh

10 lines
244 B
Bash
Raw Permalink Normal View History

2020-04-30 15:19:27 +03:00
#!/bin/bash -x
2020-05-11 11:14:33 +03:00
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
2020-04-30 15:19:27 +03:00
done