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!?
Bạn đang xem: Cgminer
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?
Can I put multiple pools in the config file?
Yes, check the wiki.noithatvietphat.vn 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.
Tham khảo: Silver là màu gì? Giá trị tâm linh mới khám phá 
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 wiki.noithatvietphat.vn 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 wiki.noithatvietphat.vn 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.
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.
Xem thêm: 13 tat xau noi cong so
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 wiki.noithatvietphat.vn. Why does it fail when php is installed properly but I only get errors about Sockets not working in the logs?
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: -enable-avalon -enable-avalon2 -enable-avalon4 -enable-avalon7 -enable-avalon8 -enable-bflsc -enable-bitfury -enable-cointerra -enable-drillbit -enable-hashfast -enable-hashratio -enable-icarus -enable-klondike
How do I use the -decode function to decode a pool’s coinbase?
Xem thêm: tiết học trong tiếng anh là gì
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.