mirror of
https://github.com/GOSTSec/sgminer
synced 2025-08-26 13:52:02 +00:00
Enable backup stratum connections for getwork when the primary pool doesn't have longpoll aka solo mining.
This commit is contained in:
parent
289d6807ef
commit
401357e657
@ -4697,7 +4697,7 @@ static bool cnx_needed(struct pool *pool)
|
|||||||
cp = current_pool();
|
cp = current_pool();
|
||||||
if (cp == pool)
|
if (cp == pool)
|
||||||
return true;
|
return true;
|
||||||
if (!cp->has_gbt && !cp->has_stratum && !opt_fail_only)
|
if (!cp->has_gbt && !cp->has_stratum && (!opt_fail_only || !cp->hdr_path))
|
||||||
return true;
|
return true;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user