mirror of
https://github.com/GOSTSec/ccminer
synced 2025-02-03 10:24:24 +00:00
wildkeccak: increase scratchpad buffer size + proxy
This commit is contained in:
parent
9f113effd8
commit
6e32ec2be0
@ -1,5 +1,5 @@
|
||||
|
||||
#define WILD_KECCAK_SCRATCHPAD_BUFFSIZE 1ULL << 28
|
||||
#define WILD_KECCAK_SCRATCHPAD_BUFFSIZE 1ULL << 29
|
||||
#define WILD_KECCAK_ADDENDUMS_ARRAY_SIZE 10
|
||||
|
||||
extern uint64_t scratchpad_size;
|
||||
|
@ -828,7 +828,10 @@ static bool download_inital_scratchpad(const char* path_to, const char* url)
|
||||
if (opt_protocol && opt_debug) {
|
||||
curl_easy_setopt(curl, CURLOPT_VERBOSE, 1);
|
||||
}
|
||||
|
||||
if (opt_proxy) {
|
||||
curl_easy_setopt(curl, CURLOPT_PROXY, opt_proxy);
|
||||
curl_easy_setopt(curl, CURLOPT_PROXYTYPE, opt_proxy_type);
|
||||
}
|
||||
curl_easy_setopt(curl, CURLOPT_URL, url);
|
||||
curl_easy_setopt(curl, CURLOPT_CONNECTTIMEOUT, 30);
|
||||
curl_easy_setopt(curl, CURLOPT_TIMEOUT, 300);
|
||||
|
Loading…
x
Reference in New Issue
Block a user