Post
Topic
Board Mining software (miners)
Topic OP
Solo mining with Bitcoin Core (latest) + cgminer 4.9.2
by
MagicInternetPizza
on 12/04/2021, 23:03:14 UTC
Good day everyone!
 
I have researched a lot about solo mining with cgminer and Bitcoin Core and have found people saying that only Bitcoin Core 0.19 supports solo mining with cgminer because of some technical details. Can't find the thread anymore where I have read this. But I think it could have been an outdated thread and the latest cgminer and Bitcoin Core versions may have already fixed that issue so that one can solo mine again?
 
I also found out that I need to use the startup command --btc-address (address) in order to actually receive mined Bitcoin to my wallet.
 
Am wondering if the current cgminer 4.9.2 version and Bitcoin Core 0.21.0 version work well together with solo mining Bitcoin? I am using a Raspberry Pi 4 with the latest Raspbian OS version and have the miners plugged into the USB ports. The miners itself work just fine, I have tested them with a Bitcoin mining pool and they are hashing away nicely. Only the software config is what is left for me.
 
I know, I know. Solo mining is selfish and the probability of finding a block with outdated mining hardware is low. 
 
1: Are there any other commands I should add besides -o http://localhost:8332 -u username -p passsword?
Are there any specific entries I should make for the bitcoin.conf file besides setting up a username and password and setting up the port with an entry in said file?
 
2: I have also read that a successfully setup cgminer with Bitcoin Core will display the textline "mining to (address)" in the cgminer window every few seconds, is that correct? What am I doing wrong if I do not see this message?

3: What startup commands do I need for Bitcoin Core for this solo setup besides -server (or is it --server with 2x "-"?)


 
Thanks so much for your help guys!
I hope other people google'ing the current versions of cgminer 4.9.2 and Bitcoin Core 0.21.0 + Bitcoin solo mining will find this thread with some helpful answers/a good tutorial made by someone nice in this thread.  Smiley Because I did find various different startup commands via Google for cgminer and am completely puzzled which of them I should use and which I should not use. (besides the -o, -u and -p).