Skip to content

Application providing bridge between old HTTP/getwork protocol and Stratum mining protocol.

Notifications You must be signed in to change notification settings

generalfault/stratum-mining-proxy

 
 

Repository files navigation

DO NOT USE THIS FORK FOR GENERAL PROXY USE!!!!! This fork just has a couple modifications for use as a submodule of the main stratum mining server. It actually disables the stratum proxy, so, don't use it.

stratum-mining-proxy

Application providing bridge between old HTTP/getwork protocol and Stratum mining protocol as described here: http://mining.bitcoin.cz/stratum-mining.

Installation on Windows

  1. Download official Windows binaries (EXE) from https://github.com/slush0/stratum-mining-proxy/downloads
  2. Open downloaded file. It will open console window. Using default settings, proxy connects to Slush's pool interface
  3. If you want to connect to another pool or change other proxy settings, type "mining_proxy.exe --help" in console window.

Installation on Linux

  1. Download TGZ file from https://github.com/slush0/stratum-mining-proxy/tarball/master
  2. Unpack it by typing "tar xf slush0-stratum-mining_proxy*.tar.gz"
  3. Most likely you already have Python installed on your system. Otherwise install it by "sudo apt-get install python-dev" (on Ubuntu and Debian).
  4. Type "sudo python setup.py install" in the unpacked directory.
  5. You can start the proxy by typing "./mining_proxy.py" in the terminal window. Using default settings, proxy connects to Slush's pool interface.
  6. If you want to connect to another pool or change other proxy settings, type "mining_proxy.py --help".

Installation using Github

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

  1. git clone git://github.com/slush0/stratum-mining-proxy.git
  2. cd stratum-mining-proxy
  3. sudo apt-get install python-dev # Development package of Python are necessary
  4. sudo python distribute_setup.py # This will upgrade setuptools package
  5. sudo python setup.py develop # This will install required dependencies (namely Twisted and Stratum libraries), but don't install the package into the system.
  6. You can start the proxy by typing "./mining_proxy.py" in the terminal window. Using default settings, proxy connects to Slush's pool interface.
  7. If you want to connect to another pool or change other proxy settings, type "./mining_proxy.py --help".
  8. 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.

About

Application providing bridge between old HTTP/getwork protocol and Stratum mining protocol.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 93.5%
  • C 6.5%