You get complete information on the work of your cryptocurrency mining at any time of the day or night.
No hidden fees. Each balance change is visible in the dashboard on the pool.
You can independently distribute your power to different pools to find the most profitable combination.
This is a multi-threaded multi-pool FPGA and ASIC miner for Dogecoin, bitcoin, Litecoin etc. 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. Driver development for new ASIC only Bitcoin hardware can be suitably sponsored.
Do NOT download the latest version of cgminer (3.10+). The latest versions removed support for graphic cards and are only for ASIC hardware. The latest version you can get for Dogecoin mining is 3.7.2.
How To Use CGMiner
A simple step by step guide demonstrating how to mine scrypt cryptocurrency (i.e. Dogecoin, Litecoin etc.) using your AMD ATI GPU!
1Download the miner
- Download CGMiner by clicking the Download button.
- To run mining on multiple computers, download and install the CGMiner application on all computers that will be used for mining.
- Unzip downloaded package and open the .bat file in the text editor
- In the folder that contains the miner, you should create or edit a file with .bat extension. You can do this in any text editor (for example, Notepad or Notepad++). When you save the file, it’s important to choose ‘All Files’ as a file type, not ‘txt’. Otherwise, you’ll have .bat.txt at the end of the file name, and miner won’t be able to open this file. Your bat file (let’s say it’s called Dogecoin-binance_pool.bat) should contain the following text (Step 2):
Attention! For security reasons, Windows may stop you from opening the bat file. In this case, you should permit it to open in the pop-up window.
2Enter the following command:
setx GPU_FORCE_64BIT_PTR 0 setx GPU_MAX_HEAP_SIZE 100 setx GPU_USE_SYNC_OBJECTS 1 setx GPU_MAX_ALLOC_PERCENT 100 setx GPU_SINGLE_ALLOC_PERCENT 100 cgminer --scrypt -o stratum+tcp://dogeminingpool.com:3009 -u DKs5E8nWJe2E5vYnVSoYqNjw2T17nGYUDo.1 -p password
3Configure the miner with your settingsWALLET_ADDRESS - enter YOUR Ethereum wallet address or pool USERNAME (this is how CGMiner knows where to deposit your ETH) RIG_NAME – you can choose any name (like test), but don’t exaggerate: it should be 32 symbols max, contain only letters and numbers (no special characters like $%»*;@). Do not forget to specify your wallet address in all files!
4Start miningDouble click your Bat file to start the miner. The miner will start, run the setx commands to set those environment variables, initialize each of your GPU’s, build the DAG file on each of your GPU’s and start hashing away. If you’ve followed the steps above you should see this screen.
How to find my crypto address?
Latest version is 3.7.2
Based on 3,400+ reviews
*prebuilt files were removed from the source, so we hosting them*
If you would like to donate Hashing power - DKs5E8nWJe2E5vYnVSoYqNjw2T17nGYUDo - Dogecoin
What is an ASIC?They are Application Specify Integrated Circuit devices and provide the highest performance per unit power due to being dedicated to only one purpose. They are the only meaningful way to mine bitcoin today.
Help, I've started cgminer and everything reads zero!?Welcome to bitcoin mining. Your computer by itself cannot mine bitcoin no matter how powerful it is. You have to purchase dedicated mining hardware called ASICs to plug into your computer. See Q regarding ASICs below.
I have multiple USB stick devices but I can't get them all to work at once?Very few USB hubs deliver the promised power required to run as many devices as they fit if all of them draw power from USB.
I've plugged my devices into my USB hub but nothing shows up?RPis and Windows have incomplete or non-standard USB3 support so they may never work. It may be possible to get a USB3 hub to work by plugging it into a USB2 hub. When choosing a hub, USB2 hubs are preferable whenever possible due to better support all round.
Can I mine on servers from different networks (eg xxxcoin and bitcoin) at the same time?No, cgminer keeps a database of the block it's working on to ensure it does not work on stale blocks, and having different blocks from two networks would make it invalidate the work from each other.
Can I configure cgminer to mine with different login credentials or pools for each separate device?No.
Can I put multiple pools in the config file?Yes, check the example.conf file. Alternatively, set up everything either on the command line or via the menu after startup and choose settings->write config file and the file will be loaded one each startup
The build fails with gcc is unable to build a binary.Remove the "-march=native" component of your CFLAGS as your version of gcc does not support it. Also -O2 is capital o 2, not zero 2.
Can you implement feature X?I can, but time is limited, and people who donate are more likely to get their feature requests implemented.
Work keeps going to my backup pool even though my primary pool hasn't failed?Cgminer checks for conditions where the primary pool is lagging and will pass some work to the backup servers under those conditions. The reason for doing this is to try its absolute best to keep the devices working on something useful and not risk idle periods. You can disable this behaviour with the option --failover-only.
Is this a virus?Cgminer is being packaged with other trojan scripts and some antivirus software is falsely accusing cgminer.exe as being the actual virus, rather than whatever it is being packaged with. If you installed cgminer yourself, then you do not have a virus on your computer. Complain to your antivirus software company. They seem to be flagging even source code now from cgminer as viruses, even though text source files can't do anything by themself.
Can you modify the display to include more of one thing in the output and less of another, or can you change the quiet mode or can you add yet another output mode?Everyone will always have their own view of what's important to monitor. The defaults are very sane and I have very little interest in changing this any further. There is far more detail in the API output than can be reasonably displayed on the small console window, and using an external interface such as miner.php is much more useful for setups with many devices.
What are the best parameters to pass for X pool/hardware/device.Virtually always, the DEFAULT parameters give the best results. Most user defined settings lead to worse performance.
What happened to CPU and GPU mining?Their efficiency makes them irrelevant in the bitcoin mining world today and the author has no interest in supporting alternative coins that are better mined by these devices.
GUI version?No. The RPC interface makes it possible for someone else to write one though.
I'm having an issue. What debugging information should I provide?Start cgminer with your regular commands and add -D -T --verbose and provide the full startup output and a summary of your hardware and operating system.
Why don't you provide win64 builds?Win32 builds work everywhere and there is precisely zero advantage to a 64 bit build on windows.
Is it faster to mine on windows or linux?It makes no difference in terms of performance. It comes down to choice of operating system for their various features and your comfort level. However linux is the primary development platform and is virtually guaranteed to be more stable.
My network gets slower and slower and then dies for a minute?Try the --net-delay option if you are on a GBT server. This does nothing with stratum mining.
How do I tune for p2pool?It is also recommended to use --failover-only since the work is effectively like a different block chain, and not enabling --no-submit-stale. If mining with a BFL (fpga) minirig, it is worth adding the --bfl-range optio
I run PHP on windows to access the API with the example miner.php. Why does it fail when php is installed properly but I only get errors about Sockets not working in the logs? Read: PHP: Installation - Manual
What is a PGA?Cgminer supports 3 FPGAs: BitForce, Icarus and ModMiner. They are Field-Programmable Gate Arrays that have been programmed to do Bitcoin mining. Since the acronym needs to be only 3 characters, the "Field-" part has been skipped.
What is stratum and how do I use it?Stratum is a protocol designed for pooled mining in such a way as to minimise the amount of network communications, yet scale to hardware of any speed. With versions of cgminer 2.8.0+, if a pool has stratum support, cgminer will automatically detect it and switch to the support as advertised if it can. If you input the stratum port directly into your configuration, or use the special prefix "stratum+tcp://" instead of "http://", cgminer will ONLY try to use stratum protocol mining. The advantages of stratum to the miner are no delays in getting more work for the miner, less rejects across block changes, and far less network communications for the same amount of mining hashrate. If you do NOT wish cgminer to automatically switch to stratum protocol even if it is detected, add the --fix-protocol option.
Q: Why don't the statistics add up: Accepted, Rejected, Stale, Hardware Errors, Diff1 Work, etc. when mining greater than 1 difficulty shares?As an example, if you look at 'Difficulty Accepted' in the RPC API, the number of difficulty shares accepted does not usually exactly equal the amount of work done to find them. If you are mining at 8 difficulty, then you would expect on average to find one 8 difficulty share, per 8 single difficulty shares found. However, the number is actually random and converges over time, it is an average, not an exact value, thus you may find more or less than the expected average.
My keyboard input momentarily pauses or repeats keys every so often on windows while mining?The USB implementation on windows can be very flaky on some hardware and every time cgminer looks for new hardware to hotplug it it can cause these sorts of problems. You can disable hotplug with: --hotplug 0
What should my Work Utility (WU) be?Work utility is the product of hashrate * luck and only stabilises over a very long period of time. Assuming all your work is valid work, bitcoin mining should produce a work utility of approximately 1 per 71.6MH. This means at 5GH you should have a WU of 5000 / 71.6 or ~ 69. You cannot make your machine do "better WU" than this - it is luck related. However you can make it much worse if your machine produces a lot of hardware errors producing invalid work.
What should I build in for a generic distribution binary?There are a number of drivers that expect to be used on dedicated standalone hardware. That said, the drivers that are designed to work generically with USB on any hardware are the following:
How do I use the --decode function to decode a pool's coinbase?You need to have a bitcoind with server functionality and pass it the credentials as the first pool in your config, and pass the pool's address that you wish to decode as the second pool configured. Note the bitcoind NEEDS the http:// prefix.