From adc10c7c5ec1c3511470152bb1c756a750752ad9 Mon Sep 17 00:00:00 2001 From: Luke Dashjr Date: Fri, 9 Sep 2011 17:52:21 -0400 Subject: [PATCH] Advertise rollntime extension support Thanks to raijin for testing! --- util.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/util.c b/util.c index 50723d4..5344586 100644 --- a/util.c +++ b/util.c @@ -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*/ -- 1.7.3.4