Bitcoin Forum
September 16, 2025, 02:50:05 AM *
News: Latest Bitcoin Core release: 29.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: self-hosted solo mining pool, free and open-source  (Read 321 times)
citb0in (OP)
Hero Member
*****
Offline Offline

Activity: 1050
Merit: 794


Bitcoin g33k


View Profile
March 23, 2025, 04:23:01 PM
 #1

Hey everybody,

which free and open-source mining pools are currently available that could be operated via self-hosting with an existing full node under Linux? I know that there is the soloCK pool available on bitbucket, but as far as I remember it was said somewhere that this code cannot be used like this but requires some customization. Is that still true or false information? Is there a ready-made and functional version of the soloCK pool that you could build, install and use on a Linux node which is already running bitcoind? soloCK is trustworthy and we know it works as we've seen dozens of blocks mined using this software several times (coinbase tx sig).

I recently read somewhere about a solo mining pool called "Public Pool" that can either be installed and used as part of umbrel as an app or could also be operated as a self-hosted solo mining pool isolated from umbrelOS. I am not sure, but at a first glance I got the impression that this is possibly not complete open-source and thus not trustworthy. I don't want to mine a block to find out afterwards that something weird happened and I never got the reward. I also read some negative reports about this solo pool called “Public Pool” on the net, but I am not sure if this is true. Can anyone confirm this or is it just based on the personal sensitivities of individuals? What are your opinion about that solo mining pool called "Public Pool" ?

I tried looking for some alternatives and stumbled across:

https://github.com/tpruvot/yiimp
https://github.com/Coleganet/Coleganet-Pool-Install
https://github.com/jtoomim/p2pool
https://github.com/zone117x/node-open-mining-portal

Although they have not been updated for a long time and it looks like they are not updated regularly.

Then I've also found this here:

https://github.com/stratum-mining/stratum

but I'm not sure whether it even fulfills the intended purpose or not.

So, are there any miners among you who mine at home on their own full node and with their own solo pool, maybe even with a successfully mined block and who could recommend a specific setup? I am aware of the risks of high latency risks and possible orphan blocks resulting from this but: please - don't start a debate about why not mine on existing solo pools, that's not the point.

I look forward to a lively discussion, thank you.

Some signs are invisible, some paths are hidden - but those who see, know what to do. Follow the trail - Follow your intuition - [bc1qqnrjshpjpypepxvuagatsqqemnyetsmvzqnafh]
fishhot
Jr. Member
*
Offline Offline

Activity: 48
Merit: 24


View Profile
March 23, 2025, 05:34:26 PM
 #2

Hi citb0in,
for an full node, I use umbrel and Ckpool Docker for the pool (very easy to install)  https://github.com/golden-guy/docker-ckpool.
I have an good fiber connexion 10G and no latency prob.
This is just for fun, of course, with 2 Compac F connected to the pool, I don't expect anything.
Have fun

owen_a
Jr. Member
*
Offline Offline

Activity: 40
Merit: 1


View Profile WWW
August 04, 2025, 07:39:22 PM
 #3

Public Pool is completely open source, I'm not sure where you feel like it isn't. You can look at the code yourself and see exactly what it's doing. PR's are extremely slow however on GitHub, but the OP is quite busy. I've made contributions myself.

As for mining with it, your address is added into the Coinbase transaction so you are rewarded directly if you ever found a block.

https://SoloHash.co.uk - UK Based :: Bitcoin / Bitcoin Cash / DigiByte :: Solo Mining Pools :: 0.5% Fee :: FOUND BLOCKS: 1 Bitcoin Cash / 97 DigiByte
MagicDude4Eva
Jr. Member
*
Offline Offline

Activity: 43
Merit: 15


View Profile WWW
August 05, 2025, 04:31:16 PM
 #4

Hey everybody,

which free and open-source mining pools are currently available that could be operated via self-hosting with an existing full node under Linux? I know that there is the soloCK pool available on bitbucket, but as far as I remember it was said somewhere that this code cannot be used like this but requires some customization. Is that still true or false information?

It is wrong that it is incomplete - I have been running at full stack for a few weeks on Docker - https://github.com/magicdude4eva/btc-fullnode-stack/tree/main/cksolo (it compiles from https://bitbucket.org/ckolivas/ckpool-solo/src/solobtc/) - if you do not want to run it under docker, you can pretty much just follow the Dockerfile commands to compile it locally and then create a systemd file like this (untested):


/etc/systemd/system/ckpool.service
Code:
[Unit]
Description=CKPool Solo - Lightweight Stratum server for Bitcoin solo mining
After=network.target
Wants=network-online.target

[Service]
# User and group to run ckpool (create a dedicated user for security)
User=ckpool
Group=ckpool

# Working directory where ckpool binary resides
WorkingDirectory=/opt/ckpool

# Environment variables
Environment="CKPOOL_DIR=/opt/ckpool"
Environment="CKPOOL_CONF=/etc/ckpool/ckpool.conf"
Environment="CKPOOL_LOG=/var/log/ckpool/ckpool.log"

# Start command
ExecStart=/opt/ckpool/src/ckpool -k -B -c ${CKPOOL_CONF}

# Restart behavior
Restart=always
RestartSec=5

# Resource limits
LimitNOFILE=65535

# Logging
StandardOutput=append:${CKPOOL_LOG}
StandardError=append:${CKPOOL_LOG}

[Install]
WantedBy=multi-user.target


🐳 BTC Fullnode Stack - Solo mining with CKSolo / own Bitcoinnode in Docker (https://github.com/magicdude4eva/btc-fullnode-stack)
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!