Pages:
Author

Topic: [ANN] Stratum for Ethereum. Increase earning up to 20% compared to getwork. - page 10. (Read 173617 times)

hero member
Activity: 896
Merit: 1000
The python file is called "xmr-proxy", is that right?
hero member
Activity: 658
Merit: 500
Admin of DwarfPool.com
DwarfPool Ethereum
http://dwarfpool.com/eth


Release: Stratum-Proxy for Ethereum
 
About 10-20% growth in earnings in comparison with the other standart pools

What is it?

This is Stratum Proxy for Ethereum Pool using asynchronous networking written in Python Twisted.
Equal solo-mining, different is that is a stable effect and not just a variable luck.

The Beta-version (v0.0.3) Download here and compiled version for Windows

Stratum port on the pool 8008, on all servers
Parameters change in config.py (there are ports, wallet and email)

Features:

  • the only one connection to pool
  • proxy get the new work from the pool as soon as the new block appears. There is no need to sent requests to the server permanently (miniers do it usualy 2 times/sek)
  • workers get the work from the proxy locally
  • submit of the shares without network delay, proxy answers to the worker and at the same time sent solution to the pool. There are no network delay, there won't be created the new connections to pool.
  • configuration of the wallet is centralized in settings file, miners do not need to pass it.
  • Bypass worker_id for detailed statistic and per rig monitoring
  • you can put your email in settings to monitor every worker
  • Pool pays out uncle blocks!

How it works?

Code:

   Pool A <---+                        +-------------+ Rig1 / PC1
 (Active)      |                       |                                                
               |                       +-------------+ Rig2 / PC2
               |                       |                                                
  Pool B <---+-----StratumProxy  <-----+-------------+ Rig3 / PC3
(FailOver)                             |                                                
                                       +-------------+ Rig4 / PC4
                                       |                                                
                                       +-------------+ Leaserigs

The command line to start miner with proxy looks like (with worker and without it)
Code:
./ethminer --farm-recheck 200 -G -F http://127.0.0.1:8080/rig1
./ethminer --farm-recheck 200 -G -F http://127.0.0.1:8080/

After many tests I recommend to use farm-recheck=200 with proxy


-----------------------

Requirements
Works only with pools which support stratum-proxy.
Currently works on all DwarfPool servers (EU, US, RU)

How to install?
Proxy developed on Phyton, therefore the dependencies are:
* Python 2.7+
* python-twisted

[Linux]
Code:
1) install twisted
 apt-get install python-twisted
2) start proxy with
 python ./eth-proxy.py

[Windows]

Download compiled version or download as python code:

Code:
1) Download Python Version 2.7.10 for Windows
https://www.python.org/downloads/

2) Modify PATH variable (how-to http://www.java.com/en/download/help/path.xml) and add
   C:\Python27;C:\Python27\Scripts;

3) Install python setuptools
https://pypi.python.org/pypi/setuptools/#windows-7-or-graphical-install

4) Install Python-Twisted
https://pypi.python.org/pypi/Twisted/15.4.0
File Twisted-15.4.0.win32-py2.7.msi (32bit) or Twisted-15.4.0.win-amd64-py2.7.msi (64bit)

5) Install zope.interface, in console run:
   easy_install -U zope.interface

6) Install PyWin32 v2.7
pywin32-219.win32-py2.7.exe or pywin32-219.win-amd64-py2.7.exe
http://sourceforge.net/projects/pywin32/files/pywin32/

7) Download eth-proxy. Extract eth-proxy.zip. Change settings in config.py and start with command:
  python xmr-proxy.py

Known open issue
- shown speed on the site is rough, but the increase can be seen by amount of sent shares

ToDo
- Transmit parameter submitHashrate
- Automatically failover via proxy
- EXE file for Windows, so that it was not be necessary to install all dependencies as described below

FAQ

Quote
Is it possible to give a more detailed description of the principle of the proxy?
If I have 6 rigs, will it use much less bandwidth with the proxy? Does the proxy get a very high difficulty work from the pool and then divide/distribute it to the rigs? If so, how does it divide the work?

For your rigs this proxy looks like a pool.

Proxy set only one connection to the pool (socket) so than inside this physical connection makes virtual connections to the pool for every Rig/PC.

It reduces not only the traffic and submit time, but you have better control and get more coins for you hashrate.
Just put to your miner the proxy as a pool and any username as worker. Your miners don't need any changes more and forever.
If you want to change the wallets or other settings, you change it in config.py of proxy and restart it. Miners will be reconnected automatically.

Quote
The log file grows too fast. Is it possible to disable saving to the file? Can we disable it totally?
Yes, just comment it like here
Code:
#LOGFILE = "logfile.log"

Support
[email protected]
Pages:
Jump to: