Commit c6554dc07a7337ddb46feeabaccb895090c7a6c6

Con Kolivas 2014-03-21T12:27:09

GBT solo pools should be considered localgen pools.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/cgminer.c b/cgminer.c
index 649415e..0de61b3 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -2119,7 +2119,7 @@ static bool getwork_decode(json_t *res_val, struct work *work)
 /* Returns whether the pool supports local work generation or not. */
 static bool pool_localgen(struct pool *pool)
 {
-	return (pool->has_stratum || pool->has_gbt);
+	return (pool->has_stratum || pool->has_gbt || pool->gbt_solo);
 }
 
 static void gbt_merkle_bins(struct pool *pool, json_t *transaction_arr)