Forks CKPool-solo at upstream commit cfb0f83b (v1.0) via a multi-stage Docker build, with an env-driven entrypoint that renders ckpool.conf from a template. The pinned commit already includes every fix referenced in Bassin issue #29 (workbase_id double increment, extended low-power timeouts, configurable dropidle, vardiff burst handling). No patches are applied yet — the patches/ directory holds the workflow and build wiring so Kamado-specific patches can be added incrementally. Build is portable across aarch64/x86_64: yasm is intentionally omitted so CKPool falls back to its C SHA256, and CFLAGS override drops upstream's default -march=native. Runtime image ships ckpool and ckpmsg for socket debugging; share logging (-L) is enabled by default. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
24 lines
620 B
Plaintext
24 lines
620 B
Plaintext
{
|
|
"btcd": [
|
|
{
|
|
"url": "${BITCOIN_RPC_HOST}:${BITCOIN_RPC_PORT}",
|
|
"auth": "${BITCOIN_RPC_USER}",
|
|
"pass": "${BITCOIN_RPC_PASSWORD}",
|
|
"notify": ${BITCOIN_NOTIFY}
|
|
}
|
|
],
|
|
"btcaddress": "${POOL_BTCADDRESS}",
|
|
"btcsig": "${POOL_BTCSIG}",
|
|
"blockpoll": ${BLOCKPOLL_MS},
|
|
"update_interval": ${UPDATE_INTERVAL_S},
|
|
"serverurl": [
|
|
"0.0.0.0:${STRATUM_PORT}"
|
|
],
|
|
"mindiff": ${MINDIFF},
|
|
"startdiff": ${STARTDIFF},
|
|
"maxdiff": ${MAXDIFF},
|
|
"dropidle": ${DROPIDLE},
|
|
"zmqblock": "${ZMQ_BLOCK}",
|
|
"logdir": "${LOGDIR}"
|
|
}
|