bitcoin - k821209/pipelines GitHub Wiki
GPU mining
https://github.com/tpruvot/ccminer
First, install Cuda toolkit and nVidia Driver, and type nvidia-smi
to check if your card is detected.
Install dependencies
sudo apt-get install libcurl4-openssl-dev libssl-dev libjansson-dev automake autotools-dev build-essential
Ubuntu is now shipped with gcc 6 or 7 so please install gcc/g++ 5 and make it the default (required by the cuda toolkit)
sudo apt-get install gcc-5 g++-5
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 1
Then use the helper ./build.sh in ccminer source folder, edit configure.sh and the Makefile.am if required.
./build.sh
./ccminer --version
https://blockchain.info/ ๊ฐ์๋ฐ ๊ฐ์ ์ง๊ฐ์ ์ด๊ณ ์ง๊ฐ ์ฃผ์๋ฅผ ๋ฐ๋๋ค.
https://slushpool.com/help/get-started/getting_started ์ด๋ฐ ๋ง์ด๋ ํ์๊ฐ์ ๊ฐ์ ํ๊ณ ์ง๊ฐ์ฃผ์๋ฅผ ๋ฑ๋กํ๋ค.
๋ง์ด๋ ํ์ ์๋ฒ, ํฌํธ๋ฅผ ๋ฐ๊ณ
./ccminer -a sha256d -o stratum+tcp://sg.stratum.slushpool.com:3333 --user=k821209.worker1
์ด๋ฐ์ ์คํ์ ํ๋ค. --user๋ฅผ ๋ฐ๊ฟ์ค์ผ ๋ณธ์ธ์ ๋ง์ด๋ ํ ๊ธฐ์ฌ๋๋ฅผ ์ฌ๋ฆด ์ ์๋ค.