From 454bc4c3d2341f8fc3710d02d640409ea261430e Mon Sep 17 00:00:00 2001 From: Kano Date: Thu, 13 Dec 2012 18:30:51 +1100 Subject: [PATCH] API show if pool has GBT (so people know not to use that pool) --- api.c | 1 + 1 file changed, 1 insertion(+) diff --git a/api.c b/api.c index a993483b..4cec4767 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);