Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

CryptoManiac/stratum-mining-proxy

Repository files navigation

stratum-mining-proxy

Application providing HTTP/getwork protocol <--> Stratum and Stratum/LTC mining protocols bridge

Installation on Windows

  1. Download official Windows binaries (EXE) from http://pool.itzod.ru/mining_proxy.exe or http://ltcmine.ru/mining_proxy.exe
  2. Open downloaded file. It will open console window. Using default settings, proxy connects to Itzod's mining pool (or ltcmine pool, if -pa scrypt was specified)
  3. If you want to connect to another pool or change other proxy settings, type "mining_proxy.exe --help" in console window.

Installation using Github on Debian/Ubuntu

This is advanced option for experienced users, but give you the easiest way for updating the proxy.

Install with the auto install script

curl "https://raw.github.com/CryptoManiac/stratum-mining-proxy/master/auto_install.sh" | sudo sh

To install line-by-line

# Python and libssl development packages are required
sudo apt-get install -y git-core python-dev libssl-dev
git clone https://github.com/CryptoManiac/stratum-mining-proxy.git
cd stratum-mining-proxy

# This will upgrade setuptools package
sudo python distribute_setup.py

# Build and install LTC scrypt extension
cd litecoin_scrypt
sudo python setup.py install
cd ..

# This will install required dependencies (namely Twisted and Stratum libraries), but don't install the package into the system.
sudo python setup.py develop

You can start the Stratum proxy by typing ./mining_proxy.py in the terminal window. Using default settings, it connects to Itzod's mining pool.

Also you have ability to start Stratum/LTC proxy by typing ./mining-proxy.py -pa scrypt. Using default settings, it connects to LTCMine mining pool.

If you want to connect to another pool or change other proxy settings, type ./mining_proxy.py --help.

If you want to update the proxy, type git pull in the package directory.

Compiling midstate C extension

For some really big operations using getwork interface of this proxy, you'll find useful "midstatec" C extension, which significantly speeds up midstate calculations (yes, plain python implementation is so slow). For enabling this extension, just type "make" in midstatec directory. Proxy will auto-detect compiled extension on next startup.

Contact

This proxy is provided by Slush's mining pool at http://mining.bitcoin.cz. You can contact the author by email info(at)bitcoin.cz or by IRC on irc.freenode.net in channel #stratum.

This proxy was modified to add support of Stratum/LTC mining protocol. Modifications implemented by LTCMine.ru and pool.itzod.ru minings pools administrator, you can ask your questions by email balthazar(at)yandex.ru or PM at btc-e.com exchange.

Releases

No releases published

Packages

No packages published

Languages