In order to mine Bitcoins, one needs to start the bitcoind with "-server" flag and later request from it a getwork to solve. Does the Namecoin client operate in the same way, or is there some specific "namecoind" version one needs to use in order to generate coins? Where can one find the communication protocol for it?

  • 6
    Note that instead of mining Namecoins solo, you can mine both Bitcoins and Namecoins at the same time (and almost certainly receive a much higher return than if you just mined Namecoins) through a mining pool that offers merged mining, such as ozco.in or bitminter.com Jan 10, 2012 at 22:15
  • Yes, although this question is mostly aimed at people wanting to set up their own pooled mining (be it with just their own rigs, or as a fully fledged mining pool).
    – ThePiachu
    Jan 10, 2012 at 22:29
  • @DavidSchwartz wasn't aware, changed my question accordingly.
    – ThePiachu
    Jan 10, 2012 at 23:13

1 Answer 1


The -gen flag actually started a CPU miner process in older versions of the Bitcoin client, before CPU mining became obsolete.

What you're probably thinking was more like bitcoind -server or `bitcoind -server -RPCALLOWIP=192.168.1.* -RPCPORT=8333 which would start a listening Bitcoin server from which a proper miner could obtain getworks. Since namecoind is a direct port of bitcoind with only the DNS-replacement functionality added, the flags are the same. Nothing special or fancy required, just follow any old "how to solo mine" tutorial and replace bitcoind with namecoind.

  • Where might we find one of these older "how to solo mine" tutorials? I've searched . . . Dec 7, 2012 at 5:31
  • There aren't a lot of the floating around still, but all you need to do is set server=1 as well as an rpcuser, rpcpassword and rpcallowip in your bitcoin.conf file and then you can point any standard miner at the computer running the client exactly like you would point it at a pool. Not that I'm recommending solo mining at current difficulties mind you ;) Dec 7, 2012 at 5:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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