Oddbean new post about | logout
 Now time to get the BitAxe lottery miner connected, I can't connect it directly to my bitcoin node, it needs something that does stratum protocol in between. A few options I found: public-pool, ckpool, stratum SRI.

public-pool seems easy to use but needs nodejs
stratum SRI looks way too complex for solo lottery mining, I don't understand anything on the docs
so I'm trying out ckpool, it has instructions specifically for solo mining which I'm following: https://bitbucket.org/ckolivas/ckpool-solo/src/solobtc/README

I'm doing it the same as with electrs, building it in the virtual machine so I can keep the NUC clean.

Following the steps, I kept getting stuck on the ./configure command. For some reason this line in configure breaks it: PKG_PROG_PKG_CONFIG(). I'm not sure what it does but the only way I could continue was by removing it.

This resulted in 4 files, I think only 1 is needed for solo mining but I copied all 4 to the NUC just to be sure.

I pointed ckpool to bitcoind, and the bitaxe miner to ckpool and all looks good:


https://media.utxo.nl/wp-content/uploads/nostr/5/5/55373953ccc9bf24d9fe793df10f98d4b63e74d8cf616fb54a099cf4e8fc8c90.webp
https://media.utxo.nl/wp-content/uploads/nostr/0/3/03232d050fc23fc37b6b7bae401e142030780d1d53328ae20f5045a230df6b39.webp
https://media.utxo.nl/wp-content/uploads/nostr/3/1/316a5bc64f12ee0414c1e456c66c96f06bc491ba19bc0080ec1ba9a351987e16.webp