Take the 2-minute tour ×
Bitcoin Stack Exchange is a question and answer site for Bitcoin crypto-currency enthusiasts. It's 100% free, no registration required.

I started mining yesterday on a low-end system, trying to figure out how it works. I used the bincoind build from Debian. When I try bitcoind getmininginfo today, I get the following output.

{
    "blocks" : 208085,
    "currentblocksize" : 0,
    "currentblocktx" : 0,
    "difficulty" : 3368767.14053294,
    "errors" : "",
    "generate" : true,
    "genproclimit" : -1,
    "hashespersec" : 0,
    "pooledtx" : 69,
    "testnet" : false
}

It looks like hashes per sec is 0. Shouldn't that be some positive number? Am I doing something wrong?

share|improve this question
    
Are you certain that you are actually mining? What command line did you use? –  Colin Dean Dec 19 '12 at 16:57

1 Answer 1

up vote 3 down vote accepted

The hashespersec field reports the speed of the built-in miner. It does not (and can't accurately) report the hashing power connected to it via the getwork or getblocktemplate interfaces.

share|improve this answer
    
Does that mean my bitcoind instance is not trying to mine? –  SparrowG Dec 18 '12 at 23:49
    
Indeed - it doesn't do that by default, and there is no reason to turn that on either. The internal miner is just there as reference, but is 1) not optimized 2) you shouldn't mine on CPUs anyway. –  Pieter Wuille Dec 19 '12 at 0:12
    
I'm doing this for fun rather than profit. How can I get the reference miner to do some work? Need not be significant. –  SparrowG Dec 19 '12 at 2:44
1  
Start with -gen, or run the RPC command: ./bitcoind setgenerate true. But really, even if you want to do CPU mining, use an external miner program. It'll be a lot faster. Especially as the built-in miner cannot use pools, the result of running it will be a 99.97% chance for having nothing after a month, and a 0.03% chance for 25 BTC. –  Pieter Wuille Dec 19 '12 at 4:32
    
Isn't it in the plans to fully deprecate both -gen and its related statistics fields? –  David Perry Dec 19 '12 at 5:50

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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