[Ethereum] How to check if a DAG file is corrupted

dagmining

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?

Best Answer

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.

Related Topic