Bitcoin Forum
June 15, 2024, 03:34:29 AM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: OK...how has this question NEVER been asked...  (Read 860 times)
tarchy (OP)
Newbie
*
Offline Offline

Activity: 34
Merit: 0


View Profile
January 15, 2014, 01:20:02 AM
 #1

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 Smiley...


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!!  Huh
tarchy (OP)
Newbie
*
Offline Offline

Activity: 34
Merit: 0


View Profile
January 15, 2014, 01:43:29 AM
 #2

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.... Lips sealed
Digigami
Sr. Member
****
Offline Offline

Activity: 462
Merit: 250


View Profile
January 15, 2014, 01:45:42 AM
 #3

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.
tarchy (OP)
Newbie
*
Offline Offline

Activity: 34
Merit: 0


View Profile
January 15, 2014, 01:58:16 AM
 #4

Thanks for the answer!  Grin

So more or less, CPUminer will automatically "generate" right?
Digigami
Sr. Member
****
Offline Offline

Activity: 462
Merit: 250


View Profile
January 15, 2014, 02:02:01 AM
 #5

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?
Mivexil
Member
**
Offline Offline

Activity: 112
Merit: 10


View Profile
January 15, 2014, 03:57:16 AM
 #6

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.
tarchy (OP)
Newbie
*
Offline Offline

Activity: 34
Merit: 0


View Profile
January 18, 2014, 07:24:17 PM
 #7

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 Smiley
PeaMine
Hero Member
*****
Offline Offline

Activity: 979
Merit: 510



View Profile
January 22, 2014, 06:26:02 PM
 #8

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?

Datacenter Technician and Electrician.  If you have any questions feel free to ask me as I am generally bored looking at logs and happy to help during free time.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!