mirror of
https://github.com/GOSTSec/sgminer
synced 2025-02-02 10:04:33 +00:00
Resume advertising midstate support
This commit is contained in:
parent
0c27237031
commit
b188157c2f
2
util.c
2
util.c
@ -373,7 +373,7 @@ json_t *json_rpc_call(CURL *curl, const char *url,
|
|||||||
headers = curl_slist_append(headers,
|
headers = curl_slist_append(headers,
|
||||||
"Content-type: application/json");
|
"Content-type: application/json");
|
||||||
headers = curl_slist_append(headers,
|
headers = curl_slist_append(headers,
|
||||||
"X-Mining-Extensions: longpoll rollntime");
|
"X-Mining-Extensions: longpoll midstate rollntime");
|
||||||
headers = curl_slist_append(headers, len_hdr);
|
headers = curl_slist_append(headers, len_hdr);
|
||||||
headers = curl_slist_append(headers, user_agent_hdr);
|
headers = curl_slist_append(headers, user_agent_hdr);
|
||||||
headers = curl_slist_append(headers, "Expect:"); /* disable Expect hdr*/
|
headers = curl_slist_append(headers, "Expect:"); /* disable Expect hdr*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user