Browse Source

Bugfix: cointerra: Can handle nonces down to pdiff 1

Luke Dashjr 11 years ago
parent
commit
cd181cab75
1 changed files with 0 additions and 7 deletions
  1. 0 7
      driver-cointerra.c

+ 0 - 7
driver-cointerra.c

@@ -272,12 +272,6 @@ bool cointerra_wait_for_info(struct cointerra_info * const ctainfo, struct lowl_
 	return true;
 	return true;
 }
 }
 
 
-static
-float cointerra_min_nonce_diff(struct cgpu_info * const proc, const struct mining_algorithm * const malgo)
-{
-	return (malgo->algo == POW_SHA256D) ? CTA_INIT_DIFF : -1.;
-}
-
 static
 static
 bool cointerra_lowl_probe(const struct lowlevel_device_info * const info)
 bool cointerra_lowl_probe(const struct lowlevel_device_info * const info)
 {
 {
@@ -1362,7 +1356,6 @@ static const struct bfg_set_device_definition cointerra_set_device_funcs[] = {
 struct device_drv cointerra_drv = {
 struct device_drv cointerra_drv = {
 	.dname = "cointerra",
 	.dname = "cointerra",
 	.name = "CTA",
 	.name = "CTA",
-	.drv_min_nonce_diff = cointerra_min_nonce_diff,
 	.lowl_match = cointerra_lowl_match,
 	.lowl_match = cointerra_lowl_match,
 	.lowl_probe = cointerra_lowl_probe,
 	.lowl_probe = cointerra_lowl_probe,
 	.thread_init = cta_prepare,
 	.thread_init = cta_prepare,