|
@@ -326,6 +326,10 @@ json_t *json_rpc_call(CURL *curl, const char *url,
|
|
|
headers = curl_slist_append(headers,
|
|
headers = curl_slist_append(headers,
|
|
|
"X-Mining-Extensions: longpoll midstate rollntime submitold");
|
|
"X-Mining-Extensions: longpoll midstate rollntime submitold");
|
|
|
|
|
|
|
|
|
|
+ if (longpoll)
|
|
|
|
|
+ headers = curl_slist_append(headers,
|
|
|
|
|
+ "X-Minimum-Wait: 0");
|
|
|
|
|
+
|
|
|
if (likely(global_hashrate)) {
|
|
if (likely(global_hashrate)) {
|
|
|
char ghashrate[255];
|
|
char ghashrate[255];
|
|
|
|
|
|