2

I have a question about using cpuminer to mine bitcoins. I know that it's not efficient, but I'm not about making any money from it (obviously), I just want to mine some fractions of a bitcoin.

Now, I have downloaded and compiled it on Ubuntu and then started the program as seen in the output:

 ./minerd --url=stratum+tcp://<server>:3333 --userpass=<username.worker>:<password> --algo=sha256d

[2015-04-26 20:22:45] Starting Stratum on stratum+tcp://<server>:3333
[2015-04-26 20:22:45] Binding thread 2 to cpu 2
[2015-04-26 20:22:45] Binding thread 1 to cpu 1
[2015-04-26 20:22:45] 4 miner threads started, using 'sha256d' algorithm.
[2015-04-26 20:22:45] Binding thread 0 to cpu 0
[2015-04-26 20:22:45] Binding thread 3 to cpu 3
[2015-04-26 20:22:48] thread 3: 2097152 hashes, 1814 khash/s
[2015-04-26 20:22:48] thread 0: 2097152 hashes, 1774 khash/s
[2015-04-26 20:22:48] thread 1: 2097152 hashes, 1742 khash/s
[2015-04-26 20:22:48] thread 2: 2097152 hashes, 1355 khash/s
[2015-04-26 20:23:54] thread 2: 81299404 hashes, 1230 khash/s
[2015-04-26 20:24:05] thread 1: 104547880 hashes, 1354 khash/s
[2015-04-26 20:24:13] thread 3: 108821800 hashes, 1272 khash/s
[2015-04-26 20:24:25] thread 0: 106421736 hashes, 1095 khash/s
[2015-04-26 20:25:01] thread 2: 73787712 hashes, 1102 khash/s
[2015-04-26 20:25:07] thread 1: 81252652 hashes, 1312 khash/s
[2015-04-26 20:25:14] thread 3: 76317796 hashes, 1256 khash/s
[2015-04-26 20:25:27] thread 0: 65677172 hashes, 1051 khash/s
[2015-04-26 20:25:52] thread 2: 66108472 hashes, 1305 khash/s
[2015-04-26 20:26:12] thread 3: 75386708 hashes, 1307 khash/s
[2015-04-26 20:26:15] thread 1: 78701868 hashes, 1152 khash/s
[2015-04-26 20:26:28] thread 0: 63037412 hashes, 1031 khash/s

The problem I have now, is that I never get any output like this:

[<Date>, <Time>] accepted: x/y (x/y%), <bla>khash/s (yay!!!)

and in the mining pool, I dont see my worker online.

I wonder now, if my computer does any work at all, or if it is just too slow and all the work it puts into mining goes to waste.

  • 2
    What is the share difficulty for your pool? You can use that with your hash rate to compute approximately how long you should have to wait to have a good chance of mining a share. Given how much slower cpu mining is than ASICs, I would not be surprised if the answer is "a very long time". – Nate Eldredge Apr 26 '15 at 21:04
  • Not directly related to your current issue, but you should also check on your pool's minimum payout. In many pools you don't get paid unless you have earned at least BTC 0.001, about USD 0.25, or more (BTC 0.01 is another common value). Based on the current network difficulty and your current hash rate of about 5 MH/s, you can compute that you will reach this amount in approximately 52 years. (No, I am not joking, that is actually the number.) So even if everything is working properly, it's a waste. – Nate Eldredge Apr 26 '15 at 23:58
3

You are mining, but most pools today have a minimum share difficulty requirement, otherwise very fast miners bombard them with shares that they have to process and discard. For many pools this is at a minimum of 128 or higher, meaning it would take several days for a CPU miner to find a share on average. No pool has a payout of any less than 0.00001 BTC, so there is absolutely no chance of you ever being paid for your work if you are mining using a CPU or GPU at this point in time.

  • 1
    You're basically a guy with a teaspoon in a world full of steam shovels. It will take days for you to do what others do in seconds. – David Schwartz Apr 28 '15 at 10:46
0

CPUMiner serves it's place in the arsenal of mining software options, but for Bitcoin, it would not be effective unless used on a very very large scale.

I can't remember the specifics, but a video game manufacturer 2 years back essentially coded in a CPUMiner as a trojan, which would essentially ramp up when the system was idle.

They were hit with huge fines... but yes, CGMiner could mine bitcoin, if you pointed the miners to a single or multiple stratum proxies (in between) the miner systems and the destination pool.

Get CPUMiner deployed on 100s of 1000s of consoles, systems, even iPhones (millions), and yes you would see BTC revenue.

As far as GPUs, there are always new currencies being developed. Just know it's high risk and very rigged by the developers of said currencies.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.