Low overhead ultra-scaleable solo mining to bitcoind Massive improvements to mining efficiency when using pooled GBT mining.

Download pre-compiled and ready-to-run binaries

Latest release is Four.Three.Three

May 12, 2014 at 8:08am PT

Mountain Lion (Ten.8)

Snow Leopard (Ten.6)

cgminer is a combined FPGA and ASIC bitcoin miner written ter C, cross toneelpodium for Windows, Linux, and Mac OS X, with stratum support, remote interface capabilities, support for numerous simultaneous mining devices, and advanced caching and detection algorithms that maximize cryptocoin mining efficiency.

This pagina hosts unofficial universal binaries for Mac OS X Ten.Five through Ten.9 (Intel and PPC), which you can use to run cgminer on your Apple Mac. Original documentation and author notes for cgminer are available here. To support further development of cgminer, please consider a bitcoin donation to the primary cgminer developer, Con Kolivas, at 15qSxP1SQcUX3o4nhkfdbgyoWEFMomJ4rZ.

Intended for most users

6.9MB zip opstopping

Intended for advanced users

Two.9MB zip opstopping

Current release notes
  • Fix for a yam-sized long-standing memory leak with the BXF driver which affected bisexual*fury, hex*fury and OneString miners.
  • Formatting fixes for miner.php
  • Utter changelog here.

Te addition to providing thesis binaries for the Mac community, I have written a Mac friendly Bitcoin/Litecoin miner called Asteroid. It features an attractive UI, it’s utterly ordinary to use, and it’s free! And of course it comes with cgminer built-in.

Previous cgminer for Mac OS X releases
  • There’s a workaround te this version to minimise the risk of the man-in-the-middle attack of redirecting you to a different pool you don’t want to be hashing on. Stratum reconnect will only honour the request if the reconnect is to a server with the same domain name.
  • Fix for some overflow errors on stats with massive hashrates/shares.
  • Fix a major memory leak which mostly affected hashfast users.
  • Fix for a failed connection after a redirection that would then never come back.
  • Devices with unique serial numbers of Four or more characters will now be displayed by their serial number ter the status brochure.
  • Support for fresh firmware for OneStringMiners that will identify themselves spil OSM devices.
  • Support for OSM debugging and LED modes.
  • A1 driver updates.
  • Total changelog here.
  • Spondoolies driver. Note this is for dedicated hardware fastened to a beaglebone so the code should not be compiled into a generic use-everywhere binary.
  • Add API output for spondoolies driver.
  • Add temperature to spondoolies API output.
  • Update to bisexual*fury driver (bxf) to support many chips, it will report up to 6 chips spil HXF for hex*fury and more than that generically spil MXF which presently is how the onestring miners show up until newer firmware comes out uniquely identifying them.
  • Immobilized the output for the decent amount of chips te *XF devices.
  • Fix for solo mining to detect when wij are mining on an orphan branch and switch to the juist one.
  • Fix for syslog.
  • Fixes for building on windows.
  • Much quicker startup for hashfast devices, the more devices the fatter the speedup.
  • Total changelog here.
  • During network outages the devices hashrate would emerge static, this has bot motionless.
  • Did a major rewrite of the code that writes and parses the config files. Now if you choose [W]rite from the [ S]ettings spijskaart it should write most of the options you’ve given on the directive line. Some options were never written correctly and many weren’t written at all previously.
  • Switched the toggling display to sit on the most significant screen and not toggle by default, but it can be re-enabled via the [D]isplay spijskaart.
  • The hashrate line for per-device also includes the Work Utility at the end now instead of the alternate screen to better gezond within 80 columns.
  • Added a –widescreen option by request which does not toggle and shows all information. This can be enabled/disabled via the display menukaart.
  • The –device and –remove-disabled directions have bot liquidated. They are a hangover from the GPU days and choosing devices with this directive does not give any meaningfully reliable way of choosing devices.
  • Added checking for any number of chips on bisexual*fury (BXF) devices and added the reserve output ter the API for them.
  • Hexfury USB slams should now be detected and come up spil HXF instead of BXF.
  • BXF pinnig can now be configured on the guideline line ter case people wish to thrust the maximum for hardware modded devices (normally 54).
  • Solo miners can now add their own signature of up to 32 characters to the coinbase with the –btc-sig option.
  • miner.php updates.
  • Immobile getwork share conformity which wasgoed violated for the uncommon pools remaining that still use it.
  • Other low level bugfixes/improvements.
  • Total changelog here.
  • Fix for memory leaks when mining solo
  • Fix for a zonderling corruption possibility with solo mining.
  • Support for a entire loterijlot more USB hubs on windows.
  • Added rules for using cointerra on PC te case anyone besides mij actually does this.
  • Revamped the hashrate peettante to be far more reliable internally.
  • Added rolling hashrates for 1 minteken, Five zoogmoeder and 15 mins to the main display and vanaf device to the API spil well.
  • Revamped the display since it wasgoed getting too broad: It now is back to the narrower size it wasgoed a few versions ago and toggles inbetween the different gegevens at regular intervals based on the opt loom interval variable. Toggling can be disabled via the Display spijskaart.
  • Added serial number to the unique identifier on-screen when it exists instead of an arbitrary device number. This presently only tags hashfast, cointerra and BF1 devices which have serial numbers.
  • Support reading configuration files with -c instruction from web URLs.
  • Fixes for building with libcurl disabled.
  • Other minor bugfixes and trivial switches.
  • Utter changelog here.
  • Bitcoind did not like lots of persistent connections at once meaning it would fall overheen if more than one cgminer example wasgoed attempting to mine at the same time from the one bitcoind example. Cgminer now opens and closes the connection every time it talks to bitcoind permitting any number of cgminer instances to mine solo from the one example. Confirmed working with 200TH of miners aimed at the one bitcoind.
  • Big endian hosts (like the antminer S1, avalon) did not work with solo mining.
  • Solo mining setups will not mine unless a btc address is specified now, and the address is displayed on startup if it exists.
  • Solo mining disconnections to bitcoind are treated better, not spawning more polling threads every failure.
  • Low level optimisations for solo mining
  • AntminerS1 fixes to decrease CPU usage and actually honour overheat conditions.
  • Network diff when submitting a block is shown correctly on screen when >,2billion.
  • Build fixes for avalon2
  • miner.php improvements
  • Total changelog here.
  • Low overhead ultra-scaleable solo mining to bitcoind
  • Massive improvements to mining efficiency when using pooled GBT mining.
  • Stratum low level bugfixes that may have caused random corruption/crashes.
  • Miner.php updates
  • Drillbit updates
  • Antminer S1 updates
  • Fix for repeatedly attempting to reset a usb device when it has failed.
  • Fix for Icarus devices (such spil antminer U1 or block erupters) being switched off and not restarting.
  • More accurate hashrates on cointerra devices, with a more reliable bitmap of working cores and now a count
  • Vanaf core cointerra hashrates
  • Fix for memory leak on hashfast devices.
  • Fix for crashes on numerous failed inits on hashfast devices.
  • Display what quadrant of a hashfast core has failed if possible
  • Fix for hashfast API stats output being invalid json
  • Hashfast api stats output names are unique making them more lightly parseable
  • Inputting URLs without a prefix (such spil http:// or stratum+tcp://) will now assume stratum to speed up initial connections.
  • On linux wij no longer use sysv semaphores to prevent numerous instances of cgminer attempting to use the same device, meaning you will no longer run out of semaphore resources or have failures to grab devices on restarting.
  • Numerous other low level fixes and improvements.
  • Utter changelog here.
  • Zero stats will now showcase the keurig average hashrate vanaf device.
  • Immobilized the high CPU usage which led to eventually slowing down of hashrates overheen time.
  • Respect the -Q value by slightly switching its meaning to be the highest value it can reach, defaulting to 9999. Regular users need not do anything with this value.
  • Motionless the hex32 api values (presently only hashfast serial number) returning invalid JSON overheen the API.
  • Fresh driver – BXM for an upcoming two bitfury chip USB stick courtesy of Goodney, along with an overclocking option with –bxm-bits
  • Fresh driver – merged the bitmain S1 driver
  • Attempt tighter to shut cgminer down fully on abandon/restart/–shares end.
  • Fix cgminer shutting down and draping when a grossly invalid stratum message is received.
  • Fix cointerra hashrate display to showcase a share based hashrate so that the displayed hashrate should match the pool hashrate.
  • Hashfast improvements:
  • Dramatic decrease te CPU usage for all existing firmwares since they don’t internally nroll time.
  • Latest version now works with older 0.Two firmwares
  • Only decrease the clockspeed if a device fails te less than an hour at its current clock speed
  • Fresh feature permits per-device settings
  • Other low level bugfixes and improvements and anticipatory switches.
    • Utter changelog here.
    • Immobilized cgminer getting stuck at startup when no pool is valid and getting itself into an endless loop
    • Motionless AMUs being detected spil failing and resetting them too early
    • Made the check for failing devices proportional to hashrate to not get false positives
    • Queue size is now adjusted up dynamically when it bottoms out regularly which it may on very high hashrates/many devices
    • Immovable ANU and other icarus devices falsely displaying higher hashrates by calculating hardware errors – NOTE this means if you were earnestly overclocking it before, your hashrate will show up to be lower now, but it wasgoed simply reporting wrong before.
    • Switched the priority of various threads to bias towards work generation instead of providing the mining threads priority.
    • Immobilized a crash when a device drops out during an attempt to initialise
    • Ava2 voltage detection
    • Voorstelling the device number on the left without padding
    • Fixes for devices that ended te OFF state instead of ripping off out to permit them to hot butt-plug
    • Hashfast switches
    • Devices that are re-hotplugged are recognised by their name or serial number if possible and show up back spil the same device number on screen
    • More information ter API stats
    • Updated udev rules opstopping to permit regular users to update firmware
    • Fixes for omkoopbaar message reading and runs of crc errors
    • Capability to disable the core shedding feature ter fresh firmware
    • Numerous low level fixes
    • Utter changelog here.
    • Cointerra driver
    • Bitmine A1 driver [not included te Mac build]
    • Avalon2U driver
    • Broader status window
    • ANU devices aka AntminerU1 usb rams will now take any arbitrary frequency with –anu-freq and cgminer will attempt to find the nearest frequency it can set it to, instead of being restricted to 25MHz increments.
    • Hashfast device failures will be detected sooner
    • Hashfast fan speeds by default will go down to 5%
    • The menukaart now shows hashfast clock speed spil detected by the device (which may be different to the requested speed) and fanspeed%
    • Hashfast houtvezelplaat temperature is now taken into consideration when looking for the greatest component and displaying temperature and adjusting fanspeed
    • Hashfast clock speeds vanaf diegene ter the API should more accurately represent what speed they truly are.
    • Hashfast restarts should be a little more reliable
    • Klondike, avalon, bab, drillbit will display more informatie on screen
    • Pools that silently druppel stratum shares submitted will not induce a memory leak ter cgminer
    • If no connection is present at startup, cgminer will be able to connect to a dead pool straks when it comes alive
    • ./autogen.sh from git will not error if given no arguments but will instead not attempt to configure the build
    • A warning will come up if someone selects system libusb, advising against it (given how few versions of libusb actually work well).
    • Fix a duo of potential drapes
    • Temperature for devices that support it will now showcase up te the api devs directive
    • Icarus and bitfury devices that zekering producing shares will now be sent a reset after a minute of no activity, and if they do not react within another minute will be dropped, permitting cgminer to attempt to re-hotplug them. This has bot proven effective at bringing back U1 miners that zekering hashing.
    • Fix unresponsive bitfury devices from ending up OFF that would not vanish and/or restart
    • Bab driver updates disabling cores that zekering working and reduce the cpu usage substantially
    • miner.php updates
    • Permit benchmarking from a –benchfile
    • Other minor bugfixes and trivial cosmetic differences
    • Utter changelog here.
    • Fix for the sitting idle doing nothing bug.
    • Add temperature to API devs call for hash prompt devices
    • Total changelog here.
    • Fix for the sitting idle doing nothing bug.
    • Brought back USB reset attempts on communication errors.
    • Immobilized the need for adding icarus-timing when overclocking antminer U1devices.
    • Total changelog here.
    • Dynamic temperature based fanspeed and per-die clockspeed control for hashfast devices with the following fresh instructions.

    Defaults chosen are based on extensive discussion with the vormgeving engineers responsible for the silicon and boards and basically it will keep your hashfast devices spil close to the kicking off clockspeed spil possible while keeping under

    95 degrees by primarily enhancing fanspeed, and then decreasing the clockspeed on the best dies discretely. The output can be observed via the API. Bearing sweltering temperatures of up to 44 degrees here has made for an excellent real world test for this code.

  • Numerous startup/reset/shutdown reliability improvements for hashfast
  • Send a ping to the hashfast device at regular intervals if wij don’t have any work for it just so it knows cgminer is still alive to attempt and minimise the dreaded watchdog reboots.
  • Lots of toegevoegd information te the hashfast API stats output.
  • Hashfast serial number is shown spil a hex value now.
  • Better hashfast flushing of work on restarts – fresh firmware will build further on this.
  • Antminer U1 overclocking support with –anu-freq note:
  • By default, Antminer U1 devices run at a clockspeed of 200. This instruction permits you to specify a chosen frequency to attempt to run all ANU devices at and the value voorwaarde be ter increments of 25. Note that cgminer reports hashrate ONLY FROM VALID HASHES so if you increase the frequency but your hashrate does not increase or it decreases and hardware errors commence demonstrating up, you have overclocked it too much. Ter the worst case script it will fail to commence at too high a speed.

    • Antminer U1 support
    • Numerous fixes for behaviour surrounding USB errors – pipe and IO errors, and no more attempting to reset the device since it’s uncommonly helpful and at times harmful.
    • Libusb and libusbx have ultimately reconciled their differences and merged all their fixes together into a fresh official libusb release, so the main switch ter this version is updating the core code to include this latest libusb. Hopefully this might increase compatibility with some USB3 hubs on windows and make it more reliable (based on the changelogs I can see te libusb). This is the reason for the minor version number update to 12 spil it’s fairly a substantial code switch, hopefully only for the better!
    • Enlargened the hashfast overheat limit default to 90 after extensive discussions with the engineers who designed the devices.
    • Immobile a crash te the nanofury USB stick code.
    • Immobile the displayed diff shown being wrong when solo mining.
    • bab driver fixes courtesy of Kano.
    • Total changelog here.
    • A decent working hashfast driver tested working on a real device, including the windows version.
    • Substantially updated BAB driver courtesy of Kano. Hopefully he can give us a summary of the switches there.
    • Generic fixes for the reconnect bug on btcguild (uncertain if other issues still exist).
    • Work is discarded on a stratum reconnect message from the pool now (spil btcguild uses) to avoid working on invalid work on switching URLs.
    • Immobilized the stuck line at the top of the loom window.
    • Message about block switch detected no longer mentions longpoll.
    • API now has a field “Last getwork” ter summary which can be used to see that wij are still getting work from pools. This is useful if you are attempting to determine if a device is dead for device reasons or simply isn’t getting work from any pools. It uses the same numbering te seconds with the “Last Valid Work” returned te the device API. If “Last getwork” is not incrementing, there is no work for any devices.
    • Added a –nfu-bits instruction to permit you to set the clock speed on nanofury/icefury usb slams. Note that the default wasgoed 54 so is now 50 to be te keeping with USB2 power limit standards. This means IT WILL BE SLOWER compared to Three.Ten.0 unless you switch it with this option back to 54. The driver is otherwise unchanged so any other differences you see are unspoiled variance.
    • Threads names have bot switched so they will demonstrate up with different, consistent names ter your process manager of choice.
    • Building will now not include libbitfury on every configuration unnecessarily.
    • The crash on device removal has bot immobilized.
    • Fixes for lean configurations that failed to build.
    • Total changelog here.
    • Minion driver.
    • Nanofury driver. Thesis are set up the same spil every other USB device is on cgminer. Tested on both windows and linux (sorry no osx to test). Note the hashrate is once again based on only valid shares so may show up lower than other software using this device. No HW errors are presently counted (however they’re most certainly there ter abundance due to bitfury vormgeving). This is a driver based on all the other ones out there with a entirely rewritten prototype to suit how cgminer drivers work.
    • Hashfast driver fixes.
    • Immobile BXF devices slowing down overheen time.
    • Utter changelog here.
    • This build is from the jimjag cgminer fork and is NOT from the official cgminer developers
    • Adds Antminer U1 support
    • Adds GPU/scrypt support back ter
    • Based upon Three.Ten.0 of cgminer
    • Utter changelog here.
    • Driver for drillbit ASICs.
    • Fixes for various KnC hardware errors, with improvements to hashrate. Note this is not a comprehensive fix for the hardware errors specific to rEligius – you will find a substantial druppel te hardware errors if you begin cgminer with the quiet and text only options (-q -T). An updated binary is here: http://ck.kolivas.org/apps/cgminer/kncminer/
    • Updated bisexual*fury driver with support for the latest firmware. This includes dynamic clocking based on temperature which attempts to maintain a onveranderlijk temperature set intiially to 82 degrees but adjustable with –bxf-temp-target.
    • Much more API output for bxf devices.
    • Less spewing of errors when bxf devices are liquidated/diegene
    • Updates to hashfast driver code
    • Fixes for working with proxies that use puny nonce2 sizes
    • Total changelog here.
    • BFL SC devices will now throttle Trio degrees below cutoff (82 degrees) and cut off work at the lower 85 degrees, restarting when they get below 80. If you wish to aim for a higher maximum, use the –temp-cutoff feature (90 wasgoed the old maximum). If you set it to zero it will disable this behaviour. (I’m preparing for our summer here Wink)
    • BFL SC devices will be less aggressive with their fan control now, permitting temps to drift up a little more before going to maximum speed.
    • Fixes for builds with –with-system-libusb enabled not working with older libusbs. (Note that using this option is not recommended unless you can’t install udev anyway).
    • Fixes for warnings with ./autogen.sh
    • Code cleanups of unused GPU code
    • Cgminer will now attempt to kwestie a USB reset on devices that have failed to hopefully get them back up and running again.
    • Dramatically improved communications for USB1.1 devices on hubs that don’t have numerous transaction translators or have none (like USB3 hubs). The USB1.1 devices presently affected are Asicminer Block Erupters and Crimson/Blue fury USB catapults.
    • Fixes for leaving too many open files problem with repeatedly hotplugging devices on low resource systems (eg RPi).
    • Fix a potential API crash.
    • The build will be much quieter around the jansson part now.
    • More hashfast driver additions (no, the real hardware still doesn’t exist).
    • Total changelog here.
    • More fixes to make usb communications more forgiving and sturdy which may improve reliability and speeds.
    • Timeout overruns won’t vertoning unless you have verbose mode on now.
    • Voltage displayed for BFL SC devices is the 2nd voltage which is allegedly more relevant.
    • API stats for BFL SC devices now demonstrate a nonce and hardware error count vanaf core.
    • Json API directives should work again.
    • More fixes for upcoming hashfast hardware.
    • Lowmem mode has bot extended to use USB sync transfers
    • BXF devices should align better with other devices on the display.
    • Devices will now initialise before attempting to connect to pools.
    • Utter changelog here.
    • Average hashrate shown for BF1 and BXF devices will now rise quickly on startup.
    • The bisexual*fury device ter its release form had different firmware from my development one so the driver has bot updated to work with it.
    • Motionless the bxf device to align ter the display katern if temperature went above 100 degrees.
    • Don’t keep displaying json auth failed on stratum pools that are misbehaving except at verbose logging level.
    • Very puny improvement te hardware error rate on some USB devices due to the way come back messages are treated.
    • Fix a memory leak when json is used to communicate with the RPC API
    • Avalon improvements to fix the unexpected drops te hashrate (thesis fixes are all already ter the last avalon firmware I uploaded).
    • Unlimited re-hotplugging of devices that have USB failures and turn into zombies but have had their USB reset by the operating system.
    • Utter changelog here.
    • Fresh driver for bisexual*fury devices. Thesis will come up spil BXF devices. Note that if you have one of thesis, having Two bitfury chips they generate a Lotsbestemming of warmth and will need active cooling. The very first firmware for them does not have a way to zekering them mining so they will get unsafely hot if you don’t point a fan at them and stopping cgminer won’t even cool them down. This should be immovable ter their next version.
    • Set priority of various threads high and low for poor performing hardware (e.g. wrt routers) or operating systems (i.e. windows) to attempt to minimise the influence of system usage ter other ways from causing communication problems.
    • Immobile a problem where it wasgoed possible for cgminer to dangle after getting notification of a fresh block when mining via getwork.
    • Low level communication fixes within libusb itself to support sending decent zero length packets on windows for more reliable communications (same spil the lulz binary), along with automatically clearing pipe errors and not losing buffered gegevens.
    • More low level avalon fixes.
    • Klondike fixes
    • Hashfast fixes
    • BaB fixes
    • Hardware errors on kicking off BF1 devices are now minimised
    • Fix for mining directly on a GBT port with –fix-protocol
    • –shares is now scaled relative to diff1 shares instead of absolute number
    • Fix for a infrequent crash on startup
    • Other low level fixes
    • More verbose documentation
    • Total changelog here.
    • (Unchanged for Mac users since Three.8.0)
    • Liquidate all GPU code.
    • Driver for Black Arrow Bitfury hardware (for use on RPi)
    • Updates to make USB writes more reliable. Should help more on windows than anywhere else.
    • Slight improvements to the blue and redfury drivers will decrease duplicates at startup, lost work across block switches, and will now vertoning hardware errors – NOTE the hardware errors are not more than before, they simply weren’t being reported before.
    • Numerous tweaks to improve Avalon behaviour (possibly still problematic on wrt hardware but works better on PC).
    • Fixes to prevent Avalons from stringing up uncommonly on block switch.
    • Low level clean ups, bugfixes and prep for more driver code.
    • Total changelog here.
    • Liquidate all GPU code.
    • Driver for Black Arrow Bitfury hardware (for use on RPi)
    • Updates to make USB writes more reliable. Should help more on windows than anywhere else.
    • Slight improvements to the blue and redfury drivers will decrease duplicates at startup, lost work across block switches, and will now display hardware errors – NOTE the hardware errors are not more than before, they simply weren’t being reported before.
    • Numerous tweaks to improve Avalon behaviour (possibly still problematic on wrt hardware but works better on PC).
    • Fixes to prevent Avalons from draping infrequently on block switch.
    • Low level clean ups, bugfixes and prep for more driver code.
    • Utter changelog here.
    • Fix for crashes on startup and hotplug.
    • Fix for dangles doing no further work after a block switch.
    • Fix yet again scrypt showcasing a block solve with every highish diff share.
    • Attempt to find a compromise inbetween the various completes of the windows+AMU timeout punt spectrum.
    • Write errors will cause a device failure, permitting cgminer to attempt to hotplug them again.
    • Icarus based devices will hopefully align on the display with others.
    • Fix for brief periods of no/idled work on avalon devices due to async restarts with block switches.
    • Fix for diff shown on big endian machines
    • Fix for building with curses disabled.
    • Other low level clean ups.
    • Total changelog here.

    • Fix for avalon type hardware dangling

    Three.6.Five:

    Related movie: Watercooled mining equipment [PCAXE.COM]


    Leave a Reply