Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cancellation file support for bluebox #212

Merged
merged 21 commits into from
Oct 8, 2024
3 changes: 2 additions & 1 deletion src/prover_slow.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ std::vector<uint8_t> ProveSlow(integer& D, form& x, uint64_t num_iterations, std
if (shutdown_file_path!="") {
struct stat buffer;

if (stat (shutdown_file_path.c_str(), &buffer) != 0) {
int statrst = stat(shutdown_file_path.c_str(), &buffer);
if ((statrst != 0) && (statrst != EINTR)) {
wjblanke marked this conversation as resolved.
Show resolved Hide resolved
// shutdown file doesn't exist, abort out
return {};
}
Expand Down
Loading