Bitcoin Forum
June 25, 2024, 09:32:11 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Solo CPU Mining Question  (Read 741 times)
RenegadeMind (OP)
Copper Member
Hero Member
*****
Offline Offline

Activity: 1380
Merit: 504


THINK IT, BUILD IT, PLAY IT! --- XAYA


View Profile WWW
December 23, 2013, 11:18:54 AM
 #1

Just FYI - I'm playing and having fun, and not being all uber serious about profit, so...

To solo CPU mine with cpuminer, is this right?

1) Set up the conf file, e.g.:

Code:
listen=1
daemon=1
server=1
rpcuser=someusername
rpcpassword=somepassword123
rpcport=12345
rpcconnect=127.0.0.1


Does the rpcport matter? (I'm connecting... but no "yay!!" messages...)

Then run the client, e.g.:

somecoin-qt.exe -server

Then, for the miner command, something like:

Code:
minerd.exe --url=http://127.0.0.1:12345 -u someusername -p somepassword123

Is that right?

I don't get any "yay!!" messages, and using stratum+tcp doesn't work at all as far as I can see.

I get a lot more hashing power from minerd.exe than from coin-qt.exe, so I'd obviously rather use minerd, even if it is just for fun.

Thanks in advance for any help there.

Got another question though... How can I use stratum with the client and minerd? Nothing I've tried works. I'm sure there's a simple answer - I just don't know it.

markm
Legendary
*
Offline Offline

Activity: 2940
Merit: 1090



View Profile WWW
December 23, 2013, 11:23:15 AM
 #2

To get a yay with a CPU you need either gosh knows how many decades years or months or a massive number of CPUs or a coin with an amazingly low difficulty.

Try using a coin's testnet, it is 1/16th the difficulty or some such right from the start plus likely has a lot less miners mining it.

Or use --scrypt and point it at Tenebrix or Fairbrix.

Or hey, likely Tenebrix and Fairbrix have really really low difficulty testnets...

No client includes stratum support yet do they?

There is a proxy you can use though.

-MarkM-

Browser-launched Crossfire client now online (select CrossCiv server for Galactic  Milieu)
Free website hosting with PHP, MySQL etc: http://hosting.knotwork.com/
TBCM
Full Member
***
Offline Offline

Activity: 182
Merit: 100



View Profile WWW
December 23, 2013, 01:55:19 PM
 #3

The RPC port must be the same on the config file and on the miner command. Your examples are right. You don't need to specify the RPC port on the config file, but then you must find out which port the client uses by default for RPC calls.

A "yay!!" message (when mining solo) means you found a block. It's not easy; you've got a higher chance on coins with low mining difficulty to mine one.

You don't need to add "-server" if you wrote "server=1" on the config file.

I don't know anything about stratum + solo mining.

RenegadeMind (OP)
Copper Member
Hero Member
*****
Offline Offline

Activity: 1380
Merit: 504


THINK IT, BUILD IT, PLAY IT! --- XAYA


View Profile WWW
December 24, 2013, 04:29:22 AM
 #4

Thanks for the additional information there. Especially about the "yay!!" messages. I saw hashes scrolling by, but none of those and wondered if anything was wrong there.

I was playing with HayekCoin and have managed to solo mine 400 with the config I posted above.

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!