T-Rex 0.25.6: dual-mining on non-LHR cards

Hi folks,

T-Rex 0.25.6 now has two different dual-mining modes: one that works in conjunction with the LHR unlock function, and one that is intended for use with non-LHR cards. Unfortunately, these two modes use two different sets of mutually-exclusive options, and there’s currently no (easy) way to work around this problem within HiveOS.

/hive/miners/t-rex/h-config.sh requires a patch to be able to emit either the lhr-algo and lhr-tune options or the dual-algo and dual-algo-mode options in order for HiveOS users to take advantage of this new feature.

Thank you!

--- h-config.sh.orig	2022-02-21 11:34:01.617110766 -0600
+++ h-config.sh	2022-02-19 13:27:25.550346333 -0600
@@ -92,11 +92,11 @@

     conf=`jq --argjson f1 "$conf" --argjson f2 "$pools2" -n '$f1 | .pools2 = $f2'`
     if [[ 'octopus|autolykos2|kawpow|blake3' =~ "$TREX_ALGO2" ]]; then
-      line="{\"lhr-algo\": \"$TREX_ALGO2\"}"
+      line="{\"dual-algo\": \"$TREX_ALGO2\"}"
       conf=`jq --null-input --argjson conf "$conf" --argjson line "$line" '$conf + $line'`

       if [[ -n $TREX_INTENSITY ]]; then
-        line="{\"lhr-tune\": \"$TREX_INTENSITY\"}"
+        line="{\"dual-algo-mode\": \"$TREX_INTENSITY\"}"
         conf=`jq --null-input --argjson conf "$conf" --argjson line "$line" '$conf + $line'`
       fi
     fi

This topic was automatically closed 416 days after the last reply. New replies are no longer allowed.