Bitcoin/BFGMiner

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

See also CGMiner

RHEL
Dependencies: yum install libcurl-devel yum install --enablerepo=epel  uthash-devel jansson-devel    # epel repo

See EPEL for repo information.

Source: BFGVERSION=4.10.1 wget http://luke.dashjr.org/programs/bitcoin/files/bfgminer/$BFGVERSION/bfgminer-$BFGVERSION.zip unzip bfgminer-$BFGVERSION.zip cd bfgminer-$BFGVERSION ./configure --prefix=/opt/bfgminer make sudo make install
 * 1) BFGVERSION=4.5.0
 * 1) ./autogen.sh # only needed if building from git repo
 * 2) ./configure

References:
 * How to use Antminer U1 / Bitcoin - https://bitcoin.co.th/how-to-use-antminer-u1/

Execution
bfgminer --config /path/my.conf

LD_LIBRARY_PATH=/opt/bfgminer/lib /opt/bfgminer/bin/bfgminer --config /opt/bfgminer/conf/slush.conf -S icarus:all
 * 1) BTC pool mining
 * 1) LD_LIBRARY_PATH=/opt/bfgminer/lib /opt/bfgminer/bin/bfgminer --config /opt/bfgminer/conf/slush.conf -S erupter:all


 * 1) BNCR pool mining
 * 2) LD_LIBRARY_PATH=/opt/bfgminer/lib /opt/bfgminer/bin/bfgminer --config /opt/bfgminer/conf/bancorcoin-pool.conf --set-device antminer:clock=x0981 -S antminer:all


 * 1) BNCR local mining
 * 2) LD_LIBRARY_PATH=/opt/bfgminer/lib /opt/bfgminer/bin/bfgminer --config /opt/bfgminer/conf/bancorcoin-mining.conf --set-device antminer:clock=x0981 -S antminer:all

If you compiled with prefix: LD_LIBRARY_PATH=/opt/bfgminer/lib /opt/bfgminer/bin/bfgminer

Configuration
BTC bitcoin.cz slush example: {   "pools": [ {           "url": "http://api.bitcoin.cz:8332", "user": "myuser", "pass": "mypass" }   ] }

BNCR miningpools.tk example: {   "pools": [ {           "url": "stratum+tcp://miningpools.tk:8047", "user": "1PhiPScGSvucr9FXTeC2LCW8oK5Nr21fzb", "pass": "password" }   ] }

BNCR solo mining example: (running local BNCR server) {   "pools": [ {           "url": "http://localhost:9335", "user": "bancorcoin", "pass": "password123" }   ],    "api-port" : "4028", "expiry" : "120", "hotplug" : "5", "log" : "5", "no-pool-disable" : true, "queue" : "3", "scan-time" : "60", "shares" : "0", "intensity" : "12", "vectors" : "2", "worksize" : "256", "lookup-gap" : "2", "thread-concurrency" : "8192" }

Output Explained
Stats:
 * "hashrates: 5s decaying / all-time average / all-time average (effective)"
 * exponentially decaying average over the opt_log_interval

source README: Each column is as follows: The number of devices and processors currently mining Hottest temperature reported by any processor 20 second exponentially decaying average hash rate (configurable with --log     option) An all time average hash rate An all time average hash rate based on actual nonces found, adjusted for pool reject and stale rate The number of Accepted shares The number of Rejected shares and stale shares discarded (never submitted), and the percentage these are of total found. The number of HardWare errors, and percentage invalid of nonces returned

http://i.imgur.com/DOlCwYi.png



keywords
bfgminer bitcoin bancorcoin BFGMiner asic mining