Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: Ali on February 13, 2012, 10:15:00 AM



Title: How to mine Litecoins behind a proxy on Windows?
Post by: Ali on February 13, 2012, 10:15:00 AM
I'm using cpuminer right now to mine Litecoins. I'm behind a proxy and "minerd --help" doesn't bring up any options to specify a proxy.
What am I supposed to do?


Title: Re: How to mine Litecoins behind a proxy on Windows?
Post by: pooler on February 13, 2012, 01:39:25 PM
I'm using cpuminer right now to mine Litecoins. I'm behind a proxy and "minerd --help" doesn't bring up any options to specify a proxy.
What am I supposed to do?

According to the libcurl documentation, setting the environment variable http_proxy should do the trick.
This seems to work well under Linux:
Code:
export http_proxy=http://proxyaddress:port/
./minerd [usual options]
I don't have a Windows box to try it on, but I'm going to guess that
Code:
set http_proxy=http://proxyaddress:port/
minerd [usual options]
will work.

It may also be useful to know that some pools (Pool-X (http://pool-x.eu/gettingstarted) for instance) allow mining on port 80.


Title: Re: How to mine Litecoins behind a proxy on Windows?
Post by: Ali on February 13, 2012, 02:04:11 PM
Thank you. Setting the environment variable HTTP_PROXY helped. It is working now.