Tidy config: drop payout-address field, group niche options under Advanced
Worker stratum username is the payout address in ckpool-solo, so the separate field was redundant. Niche vardiff/logging/zmq knobs now live under an Advanced group with sensible defaults.
This commit is contained in:
+13
-8
@@ -34,18 +34,23 @@ esac
|
||||
|
||||
export BITCOIN_RPC_USER=$(q '.bitcoind.user')
|
||||
export BITCOIN_RPC_PASSWORD=$(q '.bitcoind.password')
|
||||
export POOL_BTCADDRESS=$(q '.pool-address')
|
||||
export POOL_BTCSIG=$(q '.pool-identifier')
|
||||
export STRATUM_PORT=$(q '.stratum-port // 3333')
|
||||
export STARTDIFF=$(q '.startdiff // 16384')
|
||||
export MINDIFF=$(q '.mindiff // 1000')
|
||||
export MAXDIFF=$(q '.maxdiff // 0')
|
||||
export DROPIDLE=$(q '.dropidle // 0')
|
||||
LOG_LEVEL=$(q '.log-level // "info"')
|
||||
ZMQ_ENABLED=$(q '.zmq-enabled // true')
|
||||
export POOL_BTCSIG=$(q '.advanced.pool-identifier // "/Kamado/"')
|
||||
export STARTDIFF=$(q '.advanced.startdiff // 16384')
|
||||
export MINDIFF=$(q '.advanced.mindiff // 1000')
|
||||
export MAXDIFF=$(q '.advanced.maxdiff // 0')
|
||||
export DROPIDLE=$(q '.advanced.dropidle // 0')
|
||||
LOG_LEVEL=$(q '.advanced.log-level // "info"')
|
||||
ZMQ_ENABLED=$(q '.advanced.zmq-enabled // true')
|
||||
TLS_ENABLED=$(q '.tls.enabled // "disabled"')
|
||||
TLS_PORT=$(q '.tls.port // 3334')
|
||||
|
||||
# CKPool-solo uses the worker's stratum username as the payout
|
||||
# address. Kamado refuses to authenticate workers whose username is
|
||||
# not a valid BTC address, so the conf `btcaddress` fallback is never
|
||||
# reached. We still set it to a placeholder the conf parser accepts.
|
||||
export POOL_BTCADDRESS="1BitcoinEaterAddressDontSendf59kuE"
|
||||
|
||||
export LOGDIR=/var/log/ckpool
|
||||
export SOCKET_DIR=/run/ckpool
|
||||
export BITCOIN_NOTIFY=true
|
||||
|
||||
Reference in New Issue
Block a user