Making simpleminer more robust to scratchpad sync errors