From ebe21db3dc4a6c9de8080db14d3c03dc2a364a38 Mon Sep 17 00:00:00 2001 From: Luke Dashjr Date: Tue, 17 Jan 2012 22:05:20 -0500 Subject: [PATCH] Advertise that we can make our own midstate, so the pool can skip generating it for us --- util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util.c b/util.c index 13f0fed5..48bcf5e5 100644 --- a/util.c +++ b/util.c @@ -351,7 +351,7 @@ json_t *json_rpc_call(CURL *curl, const char *url, headers = curl_slist_append(headers, "Content-type: application/json"); headers = curl_slist_append(headers, - "X-Mining-Extensions: rollntime"); + "X-Mining-Extensions: midstate rollntime"); headers = curl_slist_append(headers, len_hdr); headers = curl_slist_append(headers, user_agent_hdr); headers = curl_slist_append(headers, "Expect:"); /* disable Expect hdr*/