This is a multi-threaded multi-pool GPU, FPGA and CPU miner with ATI GPU
monitoring, (over)clocking and fanspeed support for bitcoin and derivative
coins. Do not use on multiple block chains at the same time!
This code is provided entirely free of charge by the programmer in his spare
time so donations would be greatly appreciated. Please consider donating to the
address below.
Con Kolivas <kernel@kolivas.org>
15qSxP1SQcUX3o4nhkfdbgyoWEFMomJ4rZ
DOWNLOADS:
http://ck.kolivas.org/apps/cgminer
GIT TREE:
https://github.com/ckolivas/cgminer
Support thread:
http://bitcointalk.org/index.php?topic=28402.0
IRC Channel:
irc://irc.freenode.net/cgminer
License: GPLv3. See COPYING for details.
READ EXECUTIVE SUMMARY BELOW FOR FIRST TIME USERS!
Dependencies:
curl dev library http://curl.haxx.se/libcurl/
(libcurl4-openssl-dev)
curses dev library
(libncurses5-dev or libpdcurses on WIN32)
pkg-config http://www.freedesktop.org/wiki/Software/pkg-config
libtool http://www.gnu.org/software/libtool/
jansson http://www.digip.org/jansson/
(jansson is included in-tree and not necessary)
yasm 1.0.1+ http://yasm.tortall.net/
(yasm is optional, gives assembly routines for CPU mining)
AMD APP SDK http://developer.amd.com/sdks/AMDAPPSDK
(This sdk is mandatory for GPU mining)
AMD ADL SDK http://developer.amd.com/sdks/ADLSDK
(This sdk is mandatory for ATI GPU monitoring & clocking)
libudev headers
(This is only required for FPGA auto-detection and is linux only)
libusb headers
(This is only required for ZTEX support)
CGMiner specific configuration options:
--enable-cpumining Build with cpu mining support(default disabled)
--disable-opencl Override detection and disable building with opencl
--disable-adl Override detection and disable building with adl
--enable-bitforce Compile support for BitForce FPGAs(default disabled)
--enable-icarus Compile support for Icarus Board(default disabled)
--enable-modminer Compile support for ModMiner FPGAs(default disabled)
--enable-ztex Compile support for Ztex Board(default disabled)
--enable-scrypt Compile support for scrypt litecoin mining (default disabled)
--without-curses Compile support for curses TUI (default enabled)
--without-libudev Autodetect FPGAs using libudev (default enabled)
Basic *nix build instructions:
To build with GPU mining support:
Install AMD APP sdk, ideal version (see FAQ!) - no official place to
install it so just keep track of where it is if you're not installing
the include files and library files into the system directory.
(Do NOT install the ati amd sdk if you are on nvidia.)
To build with GPU monitoring & clocking support:
Extract the AMD ADL SDK, latest version - there is also no official
place for these files. Copy all the *.h files in the "include"
directory into cgminer's ADL_SDK directory.
The easiest way to install the ATI AMD SPP sdk on linux is to actually put it
into a system location. Then building will be simpler. Download the correct
version for either 32 bit or 64 bit from here:
http://developer.amd.com/sdks/AMDAPPSDK/downloads/Pages/default.aspx
This will give you a file with a name like AMD-APP-SDK-v2.4-lnx64.tgz
Then:
sudo su
cd /opt
tar xf /path/to/AMD-APP-SDK-v2.4-lnx64.tgz
cd /
tar xf /opt/AMD-APP-SDK-v2.4-lnx64/icd-registration.tgz
ln -s /opt/AMD-APP-SDK-v2.4-lnx64/include/CL /usr/include
ln -s /opt/AMD-APP-SDK-v2.4-lnx64/lib/x86_64/* /usr/lib/
ldconfig
If you are on 32 bit, x86_64 in the 2nd last line should be x86
To actually build:
./autogen.sh # only needed if building from git repo
CFLAGS="-O2 -Wall -march=native" ./configure
or if you haven't installed the ati files in system locations:
CFLAGS="-O2 -Wall -march=native -I<path to AMD APP include>" LDFLAGS="-L<path to AMD APP lib/x86_64> ./configure
make
If it finds the opencl files it will inform you with
"OpenCL: FOUND. GPU mining support enabled."
Basic WIN32 build instructions (LIKELY OUTDATED INFO. requires mingw32):
./autogen.sh # only needed if building from git repo
rm -f mingw32-config.cache
MINGW32_CFLAGS="-O2 -Wall -msse2" mingw32-configure
make
./mknsis.sh
Native WIN32 build instructions: see windows-build.txt
---
Usage instructions: Run "cgminer --help" to see options:
Usage: . [-atDdGCgIKklmpPQqrRsTouvwOchnV]
Options for both config file and command line:
--api-allow Allow API access (if enabled) only to the given list of [W:]IP[/Prefix] address[/subnets]
This overrides --api-network and you must specify 127.0.0.1 if it is required
W: in front of the IP address gives that address privileged access to all api commands
--api-description Description placed in the API status header (default: cgminer version)
--api-groups API one letter groups G:cmd:cmd[,P:cmd:*...]
See API-README for usage
--api-listen Listen for API requests (default: disabled)
By default any command that does not just display data returns access denied
See --api-allow to overcome this
--api-network Allow API (if enabled) to listen on/for any address (default: only 127.0.0.1)
--api-port Port number of miner API (default: 4028)
--auto-fan Automatically adjust all GPU fan speeds to maintain a target temperature
--auto-gpu Automatically adjust all GPU engine clock speeds to maintain a target temperature
--balance Change multipool strategy from failover to even share balance
--benchmark Run cgminer in benchmark mode - produces no shares
--debug|-D Enable debug output
--expiry|-E <arg> Upper bound on how many seconds after getting work we consider a share from it stale (default: 120)
--failover-only Don't leak work to backup pools when primary pool is lagging
--fix-protocol Do not redirect to a different getwork protocol (eg. stratum)
--kernel-path|-K <arg> Specify a path to where bitstream and kernel files are (default: "/usr/local/bin")
--load-balance Change multipool strategy from failover to efficiency based balance
--log|-l <arg> Interval in seconds between log output (default: 5)
--monitor|-m <arg> Use custom pipe cmd for output messages
--net-delay Impose small delays in networking to not overload slow routers
--no-pool-disable Do not automatically disable pools that continually reject shares
--no-restart Do not attempt to restart GPUs that hang or cgminer if it crashes
--no-submit-stale Don't submit shares if they are detected as stale
--pass|-p <arg> Password for bitcoin JSON-RPC server
--per-device-stats Force verbose mode and output per-device statistics
--protocol-dump|-P Verbose dump of protocol-level activities
--queue|-Q <arg> Minimum number of work items to have queued (0 - 10) (default: 1)
--quiet|-q Disable logging output, display status and errors
--real-quiet Disable all output
--remove-disabled Remove disabled devices entirely, as if they didn't exist
--rotate <arg> Change multipool strategy from failover to regularly rotate at N minutes (default: 0)
--round-robin Change multipool strategy from failover to round robin on failure
--scan-time|-s <arg> Upper bound on time spent scanning current work, in seconds (default: 60)
--sched-start <arg> Set a time of day in HH:MM to start mining (a once off without a stop time)
--sched-stop <arg> Set a time of day in HH:MM to stop mining (will quit without a start time)
--scrypt Use the scrypt algorithm for mining (litecoin only)
--sharelog <arg> Append share log to file
--shares <arg> Quit after mining N shares (default: unlimited)
--socks-proxy <arg> Set socks4 proxy (host:port) for all pool
没有合适的资源?快使用搜索试试~ 我知道了~
cgminer 软件
共46个文件
dll:11个
txt:10个
cl:5个
1星 需积分: 17 125 下载量 43 浏览量
2013-07-14
23:28:15
上传
评论
收藏 6.77MB RAR 举报
温馨提示
cgminer
资源推荐
资源详情
资源评论
收起资源包目录
cgminer.rar (46个子文件)
cg
libeay32.dll 1.41MB
poclbm121016GeForce GT 630gv1w256l4.bin 227KB
README.txt 43KB
bitstreams
ztex_ufm1_15d4.bin 7KB
fpgaminer_top_fixed7_197MHz.ncd 3.51MB
ztex_ufm1_15b1.bit 2.34MB
ztex_ufm1_15d4.bit 4.02MB
COPYING_fpgaminer 983B
ztex_ufm1_15d1.bit 4.02MB
ztex_ufm1_15y1.bin 7KB
ztex_ufm1_15y1.bit 4.02MB
ztex_ufm1_15d3.bit 4.02MB
COPYING_ztex 811B
API-README.txt 40KB
libidn-11.dll 219KB
libcurl-4.dll 315KB
windows-build.txt 15KB
libssh2.dll 167KB
cgminer-fpgaonly.exe 308KB
SCRYPT-README.txt 5KB
diablo121016.cl 43KB
scrypt121016.cl 23KB
ChangeLog.txt 118B
FPGA-README.txt 9KB
api-example.c 7KB
cgminer.exe 400KB
ssleay32.dll 316KB
COPYING.txt 35KB
libusb-1.0.dll 107KB
poclbm121016.cl 42KB
pthreadGC2.dll 44KB
example.conf 763B
linux-usb-cgminer.txt 11KB
miner.php 48KB
API.java 3KB
phatk121016.cl 13KB
libpdcurses.dll 85KB
API.class 4KB
api-example.php 2KB
AUTHORS.txt 346B
开始挖矿.lnk 697B
zlib1.dll 120KB
librtmp.dll 131KB
diakgcn121016.cl 30KB
NEWS.txt 140KB
libcurl.dll 589KB
共 46 条
- 1
资源评论
- 我老唐2021-02-23不知道能不能用
- weixin_379009112021-05-05运行就提示木马,不敢用
hebet
- 粉丝: 0
- 资源: 13
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功