Commit 730cd9bbce6bc9a246bf0fbb39b4f85dd29ffb36

Con Kolivas 2012-12-07T09:36:22

Set pool probed to true on successful authorisation with stratum to avoid it being pinged later with pool_getswork.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/util.c b/util.c
index 82c0907..76a6d3f 100644
--- a/util.c
+++ b/util.c
@@ -1310,6 +1310,7 @@ bool auth_stratum(struct pool *pool)
 	}
 	ret = true;
 	applog(LOG_INFO, "Stratum authorisation success for pool %d", pool->pool_no);
+	pool->probed = true;
 out:
 	if (val)
 		json_decref(val);