From 60f0050bfcd83b855b3ccbdfa76abd50fe52b62e Mon Sep 17 00:00:00 2001 From: Gemini Bot Date: Tue, 20 Jan 2026 13:50:10 +0000 Subject: [PATCH] Enhance wrapper logging --- miner_wrapper.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/miner_wrapper.sh b/miner_wrapper.sh index 7667d5b..c3a20af 100755 --- a/miner_wrapper.sh +++ b/miner_wrapper.sh @@ -28,9 +28,16 @@ if [ "$MODE" == "scrypt" ]; then FLAGS="--scrypt" elif [ "$MODE" == "dual" ]; then FLAGS="--scrypt" +else + # SHA256 Mode + # Some forks require explicitly disabling scrypt via config or lack of flag. + # We ensure no scrypt flag is passed. + FLAGS="" fi -echo "[$(date)] Starting miner in mode: $MODE with flags: $FLAGS" >> "$LOG_FILE" +# Ensure correct pool is used (Debugging hint) +echo "[$(date)] Starting miner in mode: $MODE with flags: '$FLAGS'" >> "$LOG_FILE" +echo "[$(date)] Config file: $CONF_FILE" >> "$LOG_FILE" # Execute cgminer # Forced API listening via command line args to ensure it's active