1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-10 23:08:07 +00:00

Advertise rollntime extension support

Thanks to raijin for testing!
This commit is contained in:
Luke Dashjr 2011-09-09 17:52:21 -04:00 committed by Con Kolivas
parent bcba6f83fb
commit 1f15d7eafa

2
util.c
View File

@ -339,6 +339,8 @@ 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");
headers = curl_slist_append(headers, len_hdr);
headers = curl_slist_append(headers, user_agent_hdr);
headers = curl_slist_append(headers, "Expect:"); /* disable Expect hdr*/