cgminer-3.7.2-windows
所属分类:Linux/Unix编程
开发工具:C/C++
文件大小:3194KB
下载次数:7
上传日期:2018-01-17 08:43:01
上 传 者:
bdj_dreamer
说明: cgminer 3.7
git hub description is samesame
文件列表:
cgminer-3.7.2-windows\api-example.c (7505, 2015-11-04)
cgminer-3.7.2-windows\api-example.php (2174, 2015-11-04)
cgminer-3.7.2-windows\api-example.py (1386, 2015-11-04)
cgminer-3.7.2-windows\API.class (3431, 2015-11-04)
cgminer-3.7.2-windows\bitstreams\COPYING_fpgaminer (983, 2015-11-04)
cgminer-3.7.2-windows\bitstreams\fpgaminer_top_fixed7_197MHz.ncd (3682603, 2015-11-04)
cgminer-3.7.2-windows\cgminer-nogpu.exe (881166, 2015-11-04)
cgminer-3.7.2-windows\cgminer.conf (1139, 2015-11-04)
cgminer-3.7.2-windows\cgminer.exe (1000462, 2015-11-04)
cgminer-3.7.2-windows\ChangeLog.txt (166, 2015-11-04)
cgminer-3.7.2-windows\COPYING.txt (35821, 2015-11-04)
cgminer-3.7.2-windows\diablo130302.cl (44727, 2015-11-04)
cgminer-3.7.2-windows\diakgcn121016.cl (30802, 2015-11-04)
cgminer-3.7.2-windows\example.conf (763, 2015-11-04)
cgminer-3.7.2-windows\libcurl-4.dll (538126, 2015-11-04)
cgminer-3.7.2-windows\libeay32.dll (1704448, 2015-11-04)
cgminer-3.7.2-windows\libidn-11.dll (192512, 2015-11-04)
cgminer-3.7.2-windows\librtmp.dll (133632, 2015-11-04)
cgminer-3.7.2-windows\libssh2.dll (171008, 2015-11-04)
cgminer-3.7.2-windows\linux-usb-cgminer.txt (11166, 2015-11-04)
cgminer-3.7.2-windows\MCast.class (5678, 2015-11-04)
cgminer-3.7.2-windows\miner.php (71482, 2015-11-04)
cgminer-3.7.2-windows\NEWS.txt (265080, 2015-11-04)
cgminer-3.7.2-windows\phatk121016.cl (13062, 2015-11-04)
cgminer-3.7.2-windows\phatk121016Devastatorv2w128l4.bin (554744, 2015-11-04)
cgminer-3.7.2-windows\poclbm130302.cl (43810, 2015-11-04)
cgminer-3.7.2-windows\scrypt130511.cl (23825, 2015-11-04)
cgminer-3.7.2-windows\ssleay32.dll (364544, 2015-11-04)
cgminer-3.7.2-windows\windows-build.txt (15886, 2015-11-04)
cgminer-3.7.2-windows\zlib1.dll (84992, 2015-11-04)
Downloaded form Cryptomining-blog.com.url (118, 2015-11-04)
cgminer-3.7.2-windows\bitstreams (0, 2015-11-04)
cgminer-3.7.2-windows (0, 2015-11-04)
This is a multi-threaded multi-pool GPU, FPGA and ASIC 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
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.
SEE ALSO API-README, ASIC-README, FGPA-README, GPU-README AND SCRYPT-README FOR
MORE INFORMATION ON EACH.
---
EXECUTIVE SUMMARY ON USAGE:
After saving configuration from the menu, you do not need to give cgminer any
arguments and it will load your configuration.
Any configuration file may also contain a single
"include" : "filename"
to recursively include another configuration file.
Writing the configuration will save all settings from all files in the output.
Single pool:
cgminer -o http://pool:port -u username -p password
Multiple pools:
cgminer -o http://pool1:port -u pool1username -p pool1password -o http://pool2:port -u pool2usernmae -p pool2password
Single pool with a standard http proxy, regular desktop:
cgminer -o "http:proxy:port|http://pool:port" -u username -p password
Single pool with a socks5 proxy, regular desktop:
cgminer -o "socks5:proxy:port|http://pool:port" -u username -p password
Single pool with stratum protocol support:
cgminer -o stratum+tcp://pool:port -u username -p password
The list of proxy types are:
http: standard http 1.1 proxy
http0: http 1.0 proxy
socks4: socks4 proxy
socks5: socks5 proxy
socks4a: socks4a proxy
socks5h: socks5 proxy using a hostname
If you compile cgminer with a version of CURL before 7.19.4 then some of the above will
not be available. All are available since CURL version 7.19.4
If you specify the --socks-proxy option to cgminer, it will only be applied to all pools
that don't specify their own proxy setting like above
---
BUILDING CGMINER FOR YOURSELF
DEPENDENCIES:
Mandatory:
curl dev library http://curl.haxx.se/libcurl/
(libcurl4-openssl-dev)
pkg-config http://www.freedesktop.org/wiki/Software/pkg-config
libtool http://www.gnu.org/software/libtool/
Optional:
curses dev library
(libncurses5-dev or libpdcurses on WIN32 for text user interface)
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 dev library (libudev-dev)
(This is only required for ASIC+FPGA support and is linux only)
If building from git:
autoconf
automake
CGMiner specific configuration options:
--enable-opencl Enable support for GPU mining with opencl
--disable-adl Override detection and disable building with adl
--enable-scrypt Compile support for scrypt litecoin mining (default
disabled)
--enable-avalon Compile support for Avalon (default disabled)
--enable-bflsc Compile support for BFL ASICs (default disabled)
--enable-bitforce Compile support for BitForce FPGAs (default
disabled)
--enable-bitfury Compile support for BitFury ASICs (default disabled)
--enable-hashfast Compile support for Hashfast (default disabled)
--enable-icarus Compile support for Icarus (default disabled)
--enable-knc Compile support for KnC miners (default disabled)
--enable-klondike Compile support for Klondike (default disabled)
--enable-modminer Compile support for ModMiner FPGAs(default disabled)
--without-curses Compile support for curses TUI (default enabled)
--with-system-libusb Compile against dynamic system libusb (default use
included static libusb)
Basic *nix build instructions:
To actually build:
./autogen.sh # only needed if building from git repo
CFLAGS="-O2 -Wall -march=native" ./configure
No installation is necessary. You may run cgminer from the build
directory directly, but you may do make install if you wish to install
cgminer to a system location or location you specified.
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-mcast Enable API Multicast listener, (default: disabled)
The listener will only run if the API is also enabled
--api-mcast-addr API Multicast listen address, (default: 224.0.0.75)
--api-mcast-code Code expected in the API Multicast message, don't use '-' (default: "FTW")
--api-mcast-port API Multicast listen port, (default: 4028)
--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
--compact Use compact display without per device statistics
--debug|-D Enable debug output
--device|-d Select device to use, one value, range and/or comma separated (e.g. 0-2,4) default: all
--disable-rejecting Automatically disable pools that continually reject shares
--expiry|-E 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)
--hotplug Set hotplug check time to seconds (0=never default: 5) - only with libusb
--kernel-path|-K Specify a path to where bitstream and kernel files are (default: "/usr/local/bin")
--load-balance Change multipool strategy from failover to quota based balance
--log|-l Interval in seconds between log output (default: 5)
--lowmem Minimise caching of shares for low memory applications
--monitor|-m Use custom pipe cmd for output messages
--net-delay Impose small delays in networking to not overload slow routers
--no-submit-stale Don't submit shares if they are detected as stale
--pass|-p 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 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 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 Upper bound on time spent scanning current work, in seconds (default: 60)
--sched-start Set a time of day in HH:MM to start mining (a once off without a stop time)
--sched-stop 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 Append share log to file
--shares Quit after mining N shares (default: unlimited)
--socks-proxy Set socks4 proxy (host:port) for all pools without a proxy specified
--syslog Use system log for output messages (default: standard error)
--temp-cutoff Temperature where a device will be automatically disabled, one value or comma separated list (default: 95)
--text-only|-T Disable ncurses formatted screen output
--url|-o URL for bitcoin JSON-RPC server
--user|-u Username for bitcoin JSON-RPC server
--verbose Log verbose output to stderr as well as status output
--userpass|-O Username:Password pair for bitcoin JSON-RPC server
Options for command line only:
--config|-c Load a JSON-format configuration file
See example.conf for an example configuration.
--help|-h Print this message
--version|-V Display version and exit
USB device (ASIC and FPGA) options:
--icarus-options Set specific FPGA board configurations - one set of values for all or comma separated
--icarus-timing Set how the Icarus timing is calculated - one setting/value for all or comma separated
--usb USB device selection (See below)
--usb-dump (See FPGA-README)
See FGPA-README or ASIC-README for more information regarding these.
ASIC only options:
--avalon-auto Adjust avalon overclock frequency dynamically for best hashrate
--avalon-fan Set fanspeed percentage for avalon, single value or range (default: 20-100)
--avalon-freq Set frequency range for avalon-auto, single value or range
--avalon-cutoff Set avalon overheat cut off temperature (default: 60)
--avalon-options Set avalon options baud:miners:asic:timeout:freq
--avalon-temp Set avalon target temperature (default: 50)
--bflsc-overheat Set overheat temperature where BFLSC devices throttle, 0 to disable (default: 90)
--bitburner-fury-options Override avalon-options for BitBurner Fury boards baud:miners:asic:timeout:freq
--bitburner-fury-voltage Set BitBurner Fury core voltage, in millivolts
--bitburner-voltage Set BitBurner (Avalon) core voltage, in millivolts
--klondike-options Set klondike options clock:temptarget
See ASIC-README for more information regarding these.
FPGA only options:
--bfl-range Use nonce range on bitforce devices if supported
See FGPA-README for more information regarding this.
GPU only options:
--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
--disable-gpu|-G Disable GPU mining even if suitable devices exist
--gpu-threads|-g Number of threads per GPU (1 - 10) (default: 2)
--gpu-dyninterval Set the refresh interval in ms for GPUs using dynamic intensity (default: 7)
--gpu-engine GPU engine (over)clock range in Mhz - one value, range and/or comma separated list (e.g. 850-900,900,750-850)
--gpu-fan GPU fan percentage range - one value, range and/or comma separated list (e.g. 25-85,85,65)
--gpu-map Map OpenCL to ADL device order manually, paired CSV (e.g. 1:0,2:1 maps OpenCL 1 to ADL 0, 2 to 1)
--gpu-memclock Set the GPU memory (over)clock in Mhz - one value for all or separate by commas for per card.
--gpu-memdiff Set a fixed difference in clock speed between the GPU and memory in auto-gpu mode
--gpu-powertune Set the GPU powertune percentage - one value for all or separate by commas for per card.
--gpu-reorder Attempt to reorder GPU devices according to PCI Bus ID
--gpu-vddc Set the GPU voltage in Volts - one value for all or separate by commas for per card.
--intensity|-I Intensity of GPU scanning (d or -10 -> 10, default: d to maintain desktop interactivity)
--kernel|-k Override kernel to use (diablo, poclbm, phatk or diakgcn) - one value or comma separated
--ndevs|-n Enumerate number of detected GPUs and exit
--no-restart Do not attempt to restart GPUs that hang
--temp-hysteresis Set how much the temperature can fluctuate outside limits when automanaging speeds (default: 3)
--temp-overheat Overheat temperature when automatically managing fan and GPU speeds (default: 85)
--temp-target Target temperature when automatically managing fan and GPU speeds (default: 75)
--vectors|-v Override detected optimal vector (1, 2 or 4) - one value or comma separated list
--worksize|-w Override detected optimal worksize - one value or comma separated list
See GPU-README for more information regarding GPU mining.
SCRYPT only options:
--lookup-gap Set GPU lookup gap for scrypt mining, comma separated
--shaders GPU shaders per card for tuning scrypt, comma separated
--thread-concurrency Set GPU thread concurrency for scrypt mining, comma separated
See SCRYPT-README for more information regarding litecoin mining.
Cgminer should automatically find all of your Avalon ASIC, BFL ASIC, BitForce
FPGAs, Icarus bitstream FPGAs, Klondike ASIC, ASICMINER usb block erupters,
KnC ASICs, Hashfast ASICs and ModMiner FPGAs.
---
SETTING UP USB DEVICES
WINDOWS:
On windows, the direct USB support requires the installation of a WinUSB
driver (NOT the ftdi_sio driver), and attach it to your devices.
The easiest way to do this is to use the zadig utility which will install the
drivers for you and then once you plug in your device you can choose the
"list all devices" from the "option" menu and you should be able to see the
device as something like: "BitFORCE SHA256 SC". Choose the install or replace
driver option and select WinUSB. You can either google for zadig or download
it from the cgminer directoy in the DOWNLOADS link above.
LINUX:
On linux, the direct USB support requires no drivers at all. However due to
permissions issues, you may not be able to mine directly on the devices as a
regular user without giving the user access to the device or by mining as
root (administrator). In order to give your regular user access, you can make
him a member of the plugdev group with the following commands:
sudo usermod -G plugdev -a `whoami`
If your distribution does not have the plugdev group you can create it with:
sudo groupadd plugdev
In order for the BFL devices to instantly be owned by the plugdev group and
accessible by anyone from the plugdev group you can copy the file
"01-cgminer.rules" from the cgminer archive into the /etc/udev/rules.d
directory with the following command:
sudo cp 01-cgminer.rules /etc/udev/rules.d/
After this you can either manually restart udev and re-login, or more easily
just reboot.
Advanced USB options:
The --usb option can restrict how many Avalon, BFL ASIC, BitForce FPGAs,
Klondike ASIC, ModMiner FPGAs or Icarus bitstream FPGAs it finds:
--usb 1:2,1:3,1:4,1:*
or
--usb BAS:1,BFL:1,MMQ:0,ICA:0,KLN:0
or
--usb :10
You can only use one of the above 3
The first version
--usb 1:2,1:3,1:4,1:*
allows you to select which devices to mine on with a list of USB
bus_number:device_address
All other USB devices will be ignored
Hotplug will also only look at the devices matching the list specified and
find nothing new if they are all in use
You can specify just the USB bus_number to find all devices like 1:*
which means any devices on USB bus_number 1
This is useful if you unplug a device then plug it back in the same port,
it usually reappears with the same bus_number but a different device_address
You can see the list of all USB devices on linux with 'sudo lsusb'
Cgminer will list the recognised USB devices with the '-n' option or the
'--usb-dump 0' option
The '--usb-dump N' option with a value of N greater than 0 will dump a lot
of details about each recognised USB device
If you wish to see all USB devices, include the --usb-list-all option
The second version
--usb BAS:1,BFL:1,MMQ:0,ICA:0,KLN:0
allows you to specify how many devices to choose based on each device
driver cgminer has - there are currently 5 USB drivers: BAS, BFL, MMQ.
ICA & KLN
N.B. you can only specify which device driver to limit, not the type of
each device, e.g. with BAS:n you can limit how many BFL ASIC devices will
be checked, but you cannot limit the number of each type of BFL ASIC
Also note that the MMQ count is the number of MMQ backplanes you have
not the number of MMQ FPGAs
The third version
--usb :10
means only use a maximum of 10 devices of any supported USB devices
Once cgminer has 10 devices it will not configure any more and hotplug will
not scan for any more
If one of the 10 devices stops working, hotplug - if enabled, as is default
- will scan normally again until it has 10 devices
--usb :0 will disable all USB I/O other than to initialise libusb
NOTE: The --device option will limit which devices are in use based on their
numbering order of the total devices, so if you hotplug USB devices regularly,
it will not reliably be the same devices.
---
WHILE RUNNING:
The following options are available while running with a single keypress:
[P]ool management [G]PU management [S]ettings [D]isplay options [Q]uit
P gives you:
Current pool management strategy: Failover
[F]ailover only disabled
[A]dd pool [R]emove pool [D]isable pool [E]nable pool
[C]hange management strategy [S]witch pool [I]nformation
S gives you:
[Q]ueue: 1
[S]cantime: 60
[E]xpiry: 120
[W]rite config file
[C]gminer restart
D gives you:
[N]ormal [C]lear [S]ilent mode (disable all output)
[D]ebug:off
[P]er-device:off
[Q]uiet:off
[V]erbose:off
[R]PC debug:off
[W]orkTime details:off
co[M]pact: off
[L]og interval:5
Q quits the application.
G gives you something like:
GPU 0: [124.2 / 191.3 Mh/s] [A:77 R:33 HW:0 U:1.73/m WU 1.73/m]
Temp: 67.0 C
Fan Speed: 35% (2500 RPM)
Engine Clock: 960 MHz
Memory Clock: 480 Mhz
Vddc: 1.200 V
Activity: 93%
Powertune: 0%
Last initialised: [2011-09-06 12:03:56]
Thread 0: 62.4 Mh/s Enabled ALIVE
Thread 1: 60.2 Mh/s Enabled ALIVE
[E]nable [D]isable [R]estart GPU [C]hange settings
Or press any other key to continue
The running log shows output like this:
[2012-10-12 18:02:20] Accepted f0c05469 Diff 1/1 GPU 0 pool 1
[2012-10-12 18:02:22] Accepted 218ac***2 Diff 7/1 GPU 1 pool 1
[2012-10-12 18:02:23] Accepted d8300795 Diff 1/1 GPU 3 pool 1
[2012-10-12 18:02:24] Accepted 122c1ff1 Diff 14/1 GPU 1 pool 1
The 8 byte hex value are the 2nd 8 bytes of the share being subm ... ...
近期下载者:
相关文件:
收藏者: