Commit 6b6ff393b38c3da120d2be55430b60f9d924f285

Con Kolivas 2012-12-12T23:33:26

Merge pull request #366 from kanoi/usb2 API show if pool has GBT (so people know not to use that pool)

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/api.c b/api.c
index a993483..4cec476 100644
--- a/api.c
+++ b/api.c
@@ -1977,6 +1977,7 @@ static void poolstatus(struct io_data *io_data, __maybe_unused SOCKETTYPE c, __m
 			root = api_add_escape(root, "Stratum URL", pool->stratum_url, false);
 		else
 			root = api_add_const(root, "Stratum URL", BLANK, false);
+		root = api_add_bool(root, "Has GBT", &(pool->has_gbt), false);
 
 		root = print_data(root, buf, isjson, isjson && (i > 0));
 		io_add(io_data, buf);