When mining it's very common for a DAG to become corrupted. To resolve the problem deleting the file and restarting the miner is required.

I'm working on a miner manager to control RIGs and one of the features I want to include is to check if a DAG was corrupted instead of deleting it every X hours.

At this moment I'm only reading "REJECTED" on proxy which can be a cause of corrupted DAG.

So, there is any way (code/commandline) to check if the current DAG file is corrupted?

  • Are you mining on Dwarf pool? I got the same problem.
    – Loi.Luu
    Apr 13, 2016 at 2:44
  • corrupted DAG will happen in many situation independently of the pool, an electricity cut-off is a possible one Apr 13, 2016 at 2:52

2 Answers 2


The solution I found was to parse my wallet's page on dwarfpool looking for the string "DAG corrupted" in its content with a little Node.JS script. It should work with any pool.

Obviously if you do not write code it's not that easy. GoldMiner does check DAG corruption and automatically restarts mining, it has a cool interface, great for non-coders imho.

  • exactly. Shares must be submitted with an old dag, so that the pool knows if it is corrupted. Goldminer is a good solution indeed for several reasons
    – Rayjax
    Jun 13, 2016 at 11:23

I think what you can do is to remove your current DAG files and your miner will download it again.

DAG files in OSX and Linux are here: ~/.ethash DAG files in Windows are here: \~\AppData\Ethash

  • deleting the DAGs its the current solution, but you need to see in the miner proxy or the pool to REJECTED or some other warning, until that you lose precious hours of mining, so i want to make some tool to detect inmediatly this problem, then stop proxy and miner, delete dags and restart all again, but first i need to find a code way to detect this independlty of pool, until now its reading in realtime the log from the proxy Apr 13, 2016 at 2:51
  • You can have a script to frequently check your log. If you detect REJECTED message then you delete the DAG, reset the miner.
    – Loi.Luu
    Apr 13, 2016 at 9:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.