How to: Mine Ethereum at Dwarfpool

 

In conjunction with my How to Mine Ethereum article, this how to guide focuses on setting up and pointing your Ethereum miner(s) to Dwarfpool.

Dwarfpool is one of the largest Ethereum mining pools due to its Anonymous registration (meaning there is no registration) system, its ability to mine directly to an exchange address, quick payments (multiple times per day once your balance is over 1 ETH), and ability to keep track of your miners via its statistics page.

Dwarfpool also serves four different geographic areas with servers located in various data-centers.

The currently available servers are:

  • EU-Server: eth-eu.dwarfpool.com (France)
  • US-Server: eth-us.dwarfpool.com (Montreal,Canada)
  • RU-Server: eth-ru.dwarfpool.com (Moscow)
  • HK-Server: eth-hk.dwarfpool.com (Hong-Kong)

To get going it is simply a matter of making some changes to your mining configuration file, often the .bat file you use to launch the mining program. I assume you are here after following my mining guide, so getting right to the point, we will create a file called ethminer-Dwarfpool.bat. You could actually call this anything you want as long as you keep it a batch file (.bat), but it is a good idea to be somewhat specific, especially if you plan to have several files to point to different pools.

You create the file by simply right clicking in your eth directory and creating a new text file. Make sure the name ends in .bat instead of .txt. You may need to adjust your folder options settings in control panel to make sure that hide extensions option is turned off, otherwise all your files will end up being text files.

Once the file is created, right click and click edit, open in up in notepad and place the following inside:

ethminer.exe -G -F http://eth-us.dwarfpool.com:80/0xc55e3a3d54f5d549b9fca583fd0ec1e4d812d154/Miner01

You can then save the file, double click it to run and you should be off and running. Let me explain a bit what the configuration is specifying so you can modify the line to meet your needs.

ethminer.exe -G -F http://eth-us.dwarfpool.com:80/0xc55e3a3d54f5d549b9fca583fd0ec1e4d812d154/Miner-05

The first part “ethminer.exe” is simply calling for the ethminer.exe program to execute. For this to work properly, the .bat file should be in the same directory as the ethminer.exe. The rest of the line are the options being fed into the ethminer program when it is called.

The first option, or flag, “-G” is simply telling ethminer to use the GPU with OpenCL for mining.

The next option, “-F” is telling ethminer to use farm mode and to use the work server specified immediately following.

Following “-F” we have the url for the work server, in this case one of Dwarfpool’s servers. In my example I am using the US based server at http://eth-us.dwarfpool.com:80 , and obviously using port 80. This is the first part of the url string.

The remaining parts are a forward slash “/” to separate the server from the wallet address that you want to mine to, or where your Ether will be sent to once you reach the minimum payout threshold, which is currently 1.01 ETH. Notice the 0x in front of the hexadecimal address, this indicates the address is in HEX format and should prefix your actual hexadecimal wallet address. In my example, I am pointing to a Poloniex exchange address so I simply copied the address from my wallet on the exchange into this field.

The rest of the line is optional. If you only have one miner this would be sufficient and your statistics would show up on Dwarfpool by entering your address. In my example, I am specifying the name of the miner, so I use another “/” to separate the wallet address from the next portion which is my miners name. Here you can call whatever you wish to name your miner. If you have multiple computers you may want to use Miner01, Miner02, etc., or you could be more creative and name them Scooby, Shaggy, Fred, etc.

So again we have:

ethminer.exe -G -F http://eth-us.dwarfpool.com:80/0xc55e3a3d54f5d549b9fca583fd0ec1e4d812d154/Miner-05

ethminer.exe | program name

-G | Use GPU with OpenCL

-F http://eth-us.dwarfpool.com:80 | Farm mode pointing to url http://eth-us.dwarfpool.com using port 80

/0xc55e3a3d54f5d549b9fca583fd0ec1e4d812d154 | option for Dwarfpool to credit earnings to this address (put your Ethereum address here)

/Miner-05 | further option for Dwarfpool to further identify this specific miner instance

You could further specify an email address if you wanted Dwarfpool to email you if a worker goes down, but for my example I opted out. You could add this on to the end of the above string if you so wished; /yourmailaddress

Once we have been mining for awhile we can go to Dwarfpool and check on our statistics by entering the Ethereum wallet address we are mining to in the search box:
Dwarfpool_03

 

You will also notice that once you search for an address, cookies on the page will save it for easier access the next time you want to look up your statistics. On subsequent visits, you can simply click on the stored link for your wallet statistics page

After we hit submit we can view our statistics as shown in the example below:

 

Dwarfpool_01

 

Here we can see our general statistics including hashrate and earnings. Further down the page we have graphs of the pools hashrate as well as our miners.

Even further down we have more historical statistics including worker hashrates, shares, and share and earnings history.

 

Dwarfpool_02

 

For advanced users Dwarfpool also allows the use of a proxy. A proxy is useful for people who have several miners and they can point them all to a single proxy server that will be the single point of contact for the pool. This can help efficiency somewhat and is especially useful once you get over a critical number of miners, such as greater than 10. However, it can be successfully used with fewer miners as well, I suppose you could even use it with just one if you so desired.

The link to the current version of the proxy is linked on the Dwarfpool site, so you can grab it from there. (I am not linking it from here as it may change and I don’t want to have to keep up with it.)

So the basic concept of the proxy is you point the proxy to Dwarfpool using settings similar to our individual miner instructions above, and then you instead point your miner(s) to your proxy server.

Once you download and extract the proxy software to one of your machines (it doesn’t require much overhead so you can run in on one of your mining computers) you will open up the directory and will want to configure the eth-proy.conf file. I have given an example of my configuration below for reference:


# Host and port for your workers
HOST = "192.168.1.100"
PORT = 8546

WALLET = “0xc55e3a3d54f5d549b9fca583fd0ec1e4d812d154”

# It’s useful for individually monitoring and statistic
ENABLE_WORKER_ID = True

# On DwarfPool you have option to monitor your workers via email.
# If WORKER_ID is enabled, you can monitor every worker/rig separately.
MONITORING = False
MONITORING_EMAIL = “mail@example.com”

# Main pool
POOL_HOST = “eth-us.dwarfpool.com”
POOL_PORT = 8008

# Failover pool
POOL_FAILOVER_ENABLE = True
POOL_HOST_FAILOVER = “eth-eu.dwarfpool.com”
POOL_PORT_FAILOVER = 8008

# Logging
LOG_TO_FILE = True

# Enable debug
DEBUG = False

So it is fairly simple, anything with a hash (#) in front is simply a comment and the other lines are configuration options.

Starting from the top we have host and port for your workers. This will be the internal LAN IP address of the computer you installed the proxy on, in my case this was 192.168.1.100. You can find this by opening up a command prompt and typing “ipconfig” if you are using Windows and unsure what your internal IP is. I assume if you are using another OS you can find your IP.

Then we have the port you want to listen on. You can set this to whatever you need, but using the default is fine unless it would happen to conflict with something else on your network.

Now the two settings we just configured IP and port are where we will point our miners to later.

Next we have our exchange wallet address we wish to receive our funds at, again notice the 0x at the beginning that signifies a hexadecimal format. This could be a local address as well, but to stay consistent with our guide I kept the same exchange address throughout.

Next we have enable worker id, which is set to true. This is to individually keep track of miners and is configured on each miner, think the Miner-05 example from earlier.

Next is email, I choose to not enable this. You can simply change it to true and provide an email address if you wish to utilize this feature.

Now we have the pool server we want to point to. In my case I am using the US server, but choose the server closet to your geographical location or best performance. After this we have pool port, this is provided on the Dwarfpool page. For best performance the 8008 is the current stratum port for use with the proxy, so unless something changes later it is best to stick with this setting.

The fail-over pool is optional, but you can choose a different server in case the main one would go down. In my change I chose the European server as a backup. I also believe some other pools have begun to support this proxy, such as Suprnova, so you could look into this for a backup option as well.

The logging to file is optional, but it is nice to look at in case there are any issues. If you don’t want to log set this to “False”.

Enable debug, keep this on “False” unless you are actively debugging an issue as it will spam up the proxy window.

Well that pretty much it, once you have the file configured with your settings, save and close it and then launch the eth-proxy.exe. A Command window should appear along with some text showing it is connected to the pool and waiting for miner connections.

Now we will move to our miners and configure them to point to the proxy.

Similar to before we will make a batch (.bat) file and place our configurations settings.

eth --farm-recheck 200 -G -F http://192.168.1.100:8546/miner-05

Here we are calling the eth executable, the first option is to recheck the farm after 200 ms (this is in case of timeouts), then we have our familiar -G and -F options for GPU mining to a url, which is specified next. Notice here is where we now point to our proxy instead of the pool address as before. The IP address and port should be the same as you configured on the proxy. Then the optional miner ID which again can be whatever you want, this will pass through the proxy and be displayed on Dwarfpool as before.

Once you have the settings changed to your environment, save and close the file. Then double click on the .bat file to launch the eth miner and begin mining. You proxy window should nowcome alive with your miner information as it submits shares, and if everything is working correctly you will soon see your statistics appear on Dwarfpool as before.

1 Comment

Leave a Reply

Your email address will not be published.


*