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.
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