Bitcoin Forum

Alternate cryptocurrencies => Mining (Altcoins) => Topic started by: tarchy on January 15, 2014, 01:20:02 AM



Title: OK...how has this question NEVER been asked...
Post by: tarchy on January 15, 2014, 01:20:02 AM
This is really bugging me I have been searching this question for days and I can't find a straight answer...please help if you know the right answer :)...


I want to mine a scrypt coin and in the past (for XPM) I have used the High Performance client miner so I would just start it with -gen & it works... BUT...


If I want to mine a coin WITHOUT a HP client miner & use CPUminer instead, do I still need to use -gen? So I would be setting the xCoin.conf to

rpcuser=user
rpcpass=pass
server=1
daemon=1
rpcport=xxxx
-gen=???

and then connecting CPUminer to the RPCport...


Really really confused here...I don't really understand the difference (if any) between mining and generating a block...so this question is really doing my head in!!  ???


Title: Re: OK...how has this question NEVER been asked...
Post by: tarchy on January 15, 2014, 01:43:29 AM
So pending an answer I have done the following:


Set up coin.conf with
Code:
gen=1
and I also have CPUminer hitting it, so I'm guessing one of them has to be right.... :-X


Title: Re: OK...how has this question NEVER been asked...
Post by: Digigami on January 15, 2014, 01:45:42 AM
Setting gen=1 will make the client CPU mine.

If you wish you use an external mining program, either set gen=0 or don't specify one way or the other and most clients should default to no client based mining.


Title: Re: OK...how has this question NEVER been asked...
Post by: tarchy on January 15, 2014, 01:58:16 AM
Thanks for the answer!  ;D

So more or less, CPUminer will automatically "generate" right?


Title: Re: OK...how has this question NEVER been asked...
Post by: Digigami on January 15, 2014, 02:02:01 AM
No worries.

I'm not too sure, I have never used CPUminer before. I suspect you would provide it with the rpc details so that it requests work from your client and then starts mining. I would expect it should give some output to indicate it is getting work and hashing?


Title: Re: OK...how has this question NEVER been asked...
Post by: Mivexil on January 15, 2014, 03:57:16 AM
You need a wallet running, and a xCoin.conf set up as you've show (with gen=0). Then you simply connect your cpuminer to http://127.0.0.1:<yourrpcport> as if you were connecting to a pool and you're all set.


Title: Re: OK...how has this question NEVER been asked...
Post by: tarchy on January 18, 2014, 07:24:17 PM
You need a wallet running, and a xCoin.conf set up as you've show (with gen=0). Then you simply connect your cpuminer to http://127.0.0.1:<yourrpcport> as if you were connecting to a pool and you're all set.

Great, thanks for the responses guys it really helped :)


Title: Re: OK...how has this question NEVER been asked...
Post by: PeaMine on January 22, 2014, 06:26:02 PM
Which version of CPUminer are you using that works with XPM?
I thought only specialized miners worked for that, as it wasn't truly scrypt?