Skip to content

Commit

Permalink
wildkeccak: increase scratchpad buffer size + proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
tpruvot committed Aug 7, 2017
1 parent 9f113ef commit 6e32ec2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crypto/wildkeccak.h
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
5 changes: 4 additions & 1 deletion crypto/xmr-rpc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6e32ec2

Please sign in to comment.