Skip to content

HyperSpaceChain/xel-miner

Repository files navigation

DO NOT USE!

Please use the fork create by EK at https://github.com/OrdinaryDude/elastic-miner

Once mainnet is launched, if I get some free time I may create an updated miner...but as of now this miner will no longer work with elastic coin due to recent changes to the protocol.

xel_miner 0.9.1

Coverity Scan Build Status

[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/OrdinaryDude/elastic-core/issues)

This code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

This is a prototype of a miner for solving XEL work packages. The miner is still in the early stages of development...it is simply a prototype that attempts demonstrate all the functionality of an XEL miner.

*** The GPU miner is highly experimental. If you choose to use it, monitor your cards closely to ensure they don't overheat. ***

The miner build has been tested using GCC in Linux as well as MinGW32 (using GCC) on Windows.

Below are the steps I used to get the miner running on my Raspberry Pi.

  • sudo apt-get update
  • sudo apt-get install cmake libcurl4-openssl-dev libudev-dev screen libtool pkg-config libjansson-dev libgmp3-dev
  • git clone https://github.com/sprocket-fpga/xel_miner.git
  • cd xel_miner
  • cd build
  • cmake ..
  • make install

*** Don't forget to use "make install" and not just "make" ***

To run the Miner using CPU

sudo ./xel_miner -t <num_threads> -P <secret_phrase> -D

To run the Miner using GPU (Note: Crypto & Big Integer ElasticPL jobs are not supported for GPU mining)

sudo ./xel_miner -t <num_threads> -P <secret_phrase> -D --opencl

Use "sudo ./xel_miner -h" to see a full list of options.


#Credits

  • The core of the miner is based on cpuminer
  • The ElasticPL / Work Package logic is based on the tireless efforts of Evil-Knievel
  • The Elastic project can be found here: https://github.com/OrdinaryDude

About

miner on mainnet (beta)

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 97.7%
  • CMake 1.6%
  • M4 0.4%
  • Shell 0.1%
  • Batchfile 0.1%
  • Dockerfile 0.1%