Mining

From Alessandro's Wiki
Jump to: navigation, search


Coin-Specific guides

Local Pools & Solo Mining

Minerd installation

  • full dependencies
yum install opencl-headers opencl-utils opencl-utils-devel mesa-libOpenCL mesa-libOpenCL-devel ncurses-devel curl-devel udev libusb-devel libgudev1-devel 
  • redhat based:
yum install git automake autoconf jansson    (to compile: gcc make curl-devel autoconf automake openssl-devel )
  • debianbased:
apt-get install curl libjansson4   (to compile: build-essential libcurl4-openssl-dev autoconf automake) 
git clone https://github.com/ghostlander/cpuminer-neoscrypt.git
   ✓ scrypt (Litecoin, Dogecoin, Feathercoin, etc..)
   ✓ scrypt:N (Vertcoin [VTC])
   ✓ sha256d (Bitcoin, Freicoin, Peercoin/PPCoin, Terracoin, etc..)
   ✓ x11 (Darkcoin [DRK], Hirocoin, Limecoin)
   ✓ x13 (Sherlockcoin, [ACE], [B2B], [GRC], [XHC], etc..)
   ✓ x14 (X14, Webcoin [WEB])
   ✓ x15 (RadianceCoin [RCE])
   ✓ cryptonight (Bytecoin [BCN], Monero)
   ✓ fresh (FreshCoin)
    ./autogen.sh # only needed if building from git repo
    ./nomacro.pl # only needed if building on Mac OS X or with Clang
    ./configure CFLAGS="-march=native"
        # Use -march=native if building for a single machine
    make
bitcoin/bin/cpuminer-multi/minerd


cgminer installation

RHEL/FEDORA

dnf install libevent-devel.x86_64 protobuf-lite-devel.x86_64 freetype-devel qt-devel
dnf install -y qt-devel
dnf install  libdb-cxx-devel boost-system-devel

DEBIAN/UBUNTU deps

apt-get install qt5-qmake libqt5gui5 libqt5core5 libqt5dbus5 qttools5-dev-tools

Mac OS X deps

brew update
brew install boost miniupnpc openssl berkeley-db4
patch -p1 < contrib/homebrew/bitcoin.qt.pro.patch


Config file (very useful)

cgminer.conf 
{
"pools" : [

	{
		"url" : "stratum+tcp://uk1.ghash.io:3333",
		"user" : "up100131737.gngwrk2",
		"pass" : "k"
	},
	{
		"url" : "stratum+tcp://coinotron.com:3334",
		"user" : "porcelinux.gngwrk2",
		"pass" : "blablabla2048"
	}
]

}