Browse Source

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.

Con Kolivas 12 years ago
parent
commit
53b33c8f18
1 changed files with 1 additions and 0 deletions
  1. 1 0
      driver-hashfast.c

+ 1 - 0
driver-hashfast.c

@@ -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,