TUTORIAL - HOW TO SETUP & RUN CKPOOL
For PRIVATE or PUBLIC use.
This guide focuses on Debian / Ubuntu, but you can install on any Linux Distro.
Check here for more information: https://bitbucket.org/ckolivas/ckpool-solo/src/solobtc/
BUILDING:
Building ckpool standalone without ckdb has no dependencies outside of the basic build tools on any linux installation.
sudo apt-get install build-essential yasm autoconf automake libtool libzmq3-dev pkgconf git nano -y
Clone official repo:
git clone https://bitbucket.org/ckolivas/ckpool-solo.git
Build:
cd ckpool-solo
./autogen.sh
./configure --without-ckdb
make
Edit ckpool.conf
nano ckpool.conf
Remove everything & add:
{
"btcd": [
{
"url": "yourbitcoinnodeipaddress:8332",
"auth": "rpc_admin",
"pass": "yourRPCpassword",
"notify": true
}
],
"donation": 0.1,
"btcsig": "/YOURPOOL or SIG/",
"blockpoll": 100,
"nonce1length": 4,
"nonce2length": 8,
"update_interval": 30,
"serverurl": [
"yourpoolipaddress:3333"
],
"mindiff": 0,
"startdiff": 1,
"maxdiff": 0,
"logdir": "logs",
"loglevel": "7"
}
0.1 donation will go to CKPOOL developer, you can remove that in src/ckpool.c file and build again.
RUNNING:
Start the pool in solo mode:
./src/ckpool -B
or start as daemon:
./src/ckpool -B -D
Point your miner now to yourpoolipaddress:3333
ckpool supports the following options:
-A | --standalone
-c CONFIG | --config CONFIG
-d CKDB-NAME | --ckdb-name CKDB-NAME
-g GROUP | --group GROUP
-H | --handover
-h | --help
-k | --killold
-L | --log-shares
-l LOGLEVEL | --loglevel LOGLEVEL
-N | --node
-n NAME | --name NAME
-P | --passthrough
-p | --proxy
-R | --redirector
-S CKDB-SOCKDIR | --ckdb-sockdir CKDB-SOCKDIR
-s SOCKDIR | --sockdir SOCKDIR
-u | --userproxy
Congratulations, your ckpool is now ready to use.