Atrides / eth-proxy

Stratum proxy for Ethereum
Other
463 stars 264 forks source link

Description

This is Stratum Proxy for Ethereum based pools (RPCv2) using asynchronous networking written in Python Twisted. Originally developed for DwarfPool http://dwarfpool.com/eth

NOTE: This fork is still in development. Some features may be broken. Please report any broken features or issues.

Features

How it works

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

ToDo

Configuration

Command line to miner start, recommended farm-recheck to use with stratum-proxy is 200

External script to restart proxy (made by rain)

Proxy working check

Donations

Requirements

eth-proxy is built in python. I have been testing it with 2.7.3, but it should work with other versions. The requirements for running the software are below.

Installation and start

2) start proxy with

 python ./eth-proxy.py

Or use python source 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

Contact

Credits

License