5

The gen option isnt copiously described in the sample bitcoin.conf file ... does that mean that the daemon started up will attempt to mine for coins?

7

That configuration parameter no longer has any effect because the CPU mining engine has been removed from the mainline client.

Earlier versions of the client did have a built in miner and the gen parameter controlled if it ran in the background. Given the much higher difficulty today the developers felt it no longer served a purpose and would be confusing to new users (who could wait months of even years without generating a single coin). It was removed from the client. The wiki should be updated to reflect that.

5

Yes, with -gen=1 on the command line or in the configuration file, bitcoind will use its built-in miner to search for blocks. It is inefficient, does not support pools, and does not use GPUs. It is only left as a reference and for testing, and will probably be removed completely soon.

  • when i "setgenerate true" in bitcoin-qt console window, and then "gethashespersec" it reports my hashing power, and "getgenerate" returns true, isn't this a proof that it's mining ? – Farghaly May 31 '14 at 15:56
  • Yes, but you'll never mine anything with it. It is far too slow. – Pieter Wuille Jun 1 '14 at 7:02

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.