Bitcoin/BFGMiner/Notes

From Omnia
Jump to navigation Jump to search

BFGMiner

BFGMiner - a modular ASIC/FPGA Bitcoin miner - http://bfgminer.org/

BFGMiner is a modular ASIC/FPGA miner written in C, featuring dynamic clocking, monitoring, and remote interface capabilities.

-

Bitcoin mining on Raspberry Pi with USB ASIC Miner Block Erupter | LinuxConsultantsIreland.com - http://www.linuxconsultantsireland.com/content/bitcoin-mining-raspberry-pi-usb-asic-miner-block-erupter

Install

apt-get install uthash-dev libjansson-dev
wget http://luke.dashjr.org/programs/bitcoin/files/bfgminer/3.4.0/bfgminer-3.4.0.zip
unzip bfgminer-3.4.0.zip
cd bfgminer-3.4.0
./configure --prefix=/opt/bfgminer
make
make install
./bfgminer
bfgminer -o mining.harvestcoin.com:9332 -u 13sEZXeUc2RRsWfVq4sqf3zCoHZsm1gMNJ -px -S all
# By default this script does nothing.
su miner -c "screen -d -m bfgminer -o mining.harvestcoin.com:9332 -u 13sEZXeUc2RRsWfVq4sqf3zCoHZsm1gMNJ -px -S all"
exit 0

---

checking whether HASH_ITER is declared... no
configure: error: Could not find HASH_ITER - please install uthash-dev 1.9.2+
apt-get install uthash-dev

-

checking for jansson in system-default locations... not found
configure: error: Could not find jansson library
apt-get install libjansson-dev