1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-23 13:04:29 +00:00

Limit max diff internally used by hashfast driver to 256 to still get some nonces back to check for errors if mining at very high diff.

This commit is contained in:
Con Kolivas 2013-10-14 17:46:58 +11:00
parent 3dda8a213c
commit 53b33c8f18

View File

@ -507,6 +507,7 @@ struct device_drv hashfast_drv = {
.drv_id = DRIVER_hashfast,
.dname = "Hashfast",
.name = "HFA",
.max_diff = 256.0, // Limit max diff to get some nonces back regardless
.drv_detect = hashfast_detect,
.thread_prepare = hashfast_prepare,
.hash_work = &hash_driver_work,