Post
Topic
Board Hardware
Re: Official FutureBit Apollo BTC Software/Image and Support thread
by
Aldin1978
on 13/01/2022, 13:33:19 UTC
With so many of us now using an Apollo for mining BTC and the fact that the box has its own node, has anyone taken the time to do a write up for us "slower" old guys that might want to take full advantage of the functions of the box as in use the node and the box together to solo mine?

Is it even possible to set up the Apollo BTC and Node to mine into itself in solo mode?

I'm mining to CKPool but wondering if I have the ability to use the Apollo to mine in my old world and not have to go to a pool.

A write-up or cheat sheet would be really welcome!

ml

I know this post is a couple months old, but in case the OP is still needing this (or others who might be looking to do the same), I was able to get my full-node unit mining my own node.  I didn't do a 'write-up' of this, and it does require some basic / intermediate Linux knowledge, but in a nutshell:

I installed ckpool - source package found here (they don't supply pre-built binaries): (https://bitbucket.org/ckolivas/ckpool/get/b8f668524835.zip) and set up a simple pool in standalone mode, with my local full node (127.0.0.1:8332) as the btcd, and 127.0.0.1:3333 as the address for miners to connect.  Once I got bitcoin.conf (from the node) and ckpool.conf (from ckpool) working as expected, I modified the script that starts up the node, to also start up the ckpool process.

Someone else may know a solution to this problem, but I had to replace the bitcoind binary with an earlier version 0.19.1 - this is because version 0.20.0 and later which removed the coinbaseaux flag from the GBT response, and ckpool doesn't play nice without it there (even though it isn't a required flag ...).

Then in the ApolloUI, I set up my pool as:  stratum+tcp://127.0.0.1:3333 - User and pass: <same as rpcuser and rpcpassword from bitcoin.conf>.

Everything comes up on its own when I (re)start the device -- and if you don't change the RPC username / pass from the defaults, it also remains fully integrated with the UI, though obviously you don't see anything about ckpool (since the node_start script modification I made launches ckpool in a screen session (screen -dmS ckpool), like the node and miner services do, I can pull up the running ckpool output via (as root): screen -x ckpool).  If you do change the rpcuser and rpcpassword from default, it breaks the UI - but at some point I'll probably take the time to figure out how to change the values the UI uses to connect so that I can change the RPC credentials.

Screenshots of results:

https://www.filehosting.org/file/details/976274/miner.jpg

https://www.filehosting.org/file/details/976275/node.jpg

@jstefanop : this unit has always had ~40% hardware errors since I first started it up 12/27, regardless which mining pool I used (tried ckpool, nicehash, slush, etc).  The hashrate is as advertised, so I haven't been too worried about it - but is this a cause for concern?