~ snip ~
So my questions to the Gekkoscience community are:
1. What is the best tutorial to follow to get cgminer up and running on a Raspberry Pi 4 so that it works with the miners I will be using? (I have come across mentions of needing specific versions of cgminer based on what USB Miner I have.) The Bitcoinmerch site lists a few commands but I do not know if that is for the best version of cgminer.
You need to get a version of cgminer that supports the compac f, which currently is kano's fork. Here are the instructions from kano himself (Note that probably you don't need to pass --enable-icarus):
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get install -y build-essential autoconf automake libtool pkg-config libcurl4-openssl-dev libudev-dev libusb-1.0-0-dev libncurses5-dev zlib1g-dev git
cd
git clone
https://github.com/kanoi/cgminer.gitcd cgminer
CFLAGS="-O2 -march=native -fcommon" ./autogen.sh --enable-gekko --enable-icarus
make
Then you should have cgminer binary ready to be used. Check that it runs with:
2. Should I attempt to try and run these all on the same RPI 4 or should I split them up and do a few on one RPI 4 and a few on another RPI 4?
That's up to you. You can rum them all in one, or separately.
3. Regarding the Raspberry Pi 4, does the amount of Ram make a difference? ( I have 4gb and 8gb RPIs).
Not really. This will just use a bit of CPU to communicate with the device and the pool, etc, but all the work is done by the devices themselves. I've ran this on older pis absolutely fine.
4. Should I attempt solo mining or do a pool? Its all a lottery with these right?
Again up to you. You can always do solo mining with these for example at ckpool solo, and you will be running a lotto every day. That works, but very small chances to win. You can set it up in a pool, or nicehash maybe, but you will be paid very, very little per day, say dozens or hundreds of sats or less, and that's assuming the pool allows you to provide such a small hashrate.
5. I have seen references about running a full node. I even saw some videos a while back on Youtube mentioning you can possibly get rewarded by hosting a node but again not sure how that works. I have many computers options on hand to choose from for a node (Linux, and Windows and Raspberry PI 4s, a RPi400, some Zero's, ZeroWs, ZeroW 2s and 2 Radxa Zeros), only I am so green I am not sure if running a node makes sense. For a node, don't I have to guarantee that is always on and connected to the blockchain?
Thanks in advance.
RKG456
Running a node is different than mining, any PC can do that. You just need a lot of space, say 500GB at a minimum for the full blockchain, and increasing. Just download Bitcoin Core and run it. You will be able to connect to your own Bitcoin node when it finishes updating in a few days. Running this node doesn't affect CPU too much. Running your own node helps you with better privacy, you also don't have to trust other nodes, and you can learn a bit more about Bitcoin. You don't have to be connected all the time, but you should be connected most of the time. Otherwise you will need to wait until it updates the blocks you missed while you were offline. About the rewards you mention, that's probably someone talking about a lightning node, which runs on top of a Bitcoin node. You can earn some sats by routing lightning payments. That one should be online all the time to make sure the routing goes through.
I hope that helps you. Happy USB mining!