@@ -12,16 +12,16 @@ get_nvidia_cards_fan(){
1212
1313
1414function miner_stats {
15- local miner=$( < /hive/custom/MM.Hash.1.3.9 /Build/mineref.sh)
15+ local miner=$( < /hive/custom/MM.Hash.1.3.8a /Build/mineref.sh)
1616 local mindex=$2 # empty or 2, 3, 4, ...
1717 local Ntemp=$( get_nvidia_cards_temp) # cards temp
1818 local Nfan=$( get_nvidia_cards_fan) # cards fan
19- local myhashrate=( $( < /hive/custom/MM.Hash.1.3.9 /Build/hashrates.sh) )
20- local myhs=$( < /hive/custom/MM.Hash.1.3.9 /Build/hashtype.sh)
21- local myacc=$( < /hive/custom/MM.Hash.1.3.9 /Build/accepted.sh)
22- local mykhs=$( < /hive/custom/MM.Hash.1.3.9 /Build/totalhash.sh)
23- local myrj=$( < /hive/custom/MM.Hash.1.3.9 /Build/rejected.sh)
24- local myalgo=$( < /hive/custom/MM.Hash.1.3.9 /Build/algo.sh)
19+ local myhashrate=( $( < /hive/custom/MM.Hash.1.3.8a /Build/hashrates.sh) )
20+ local myhs=$( < /hive/custom/MM.Hash.1.3.8a /Build/hashtype.sh)
21+ local myacc=$( < /hive/custom/MM.Hash.1.3.8a /Build/accepted.sh)
22+ local mykhs=$( < /hive/custom/MM.Hash.1.3.8a /Build/totalhash.sh)
23+ local myrj=$( < /hive/custom/MM.Hash.1.3.8a /Build/rejected.sh)
24+ local myalgo=$( < /hive/custom/MM.Hash.1.3.8a /Build/algo.sh)
2525 khs=0
2626 stats=
2727 case $miner in
@@ -46,12 +46,12 @@ function miner_stats {
4646 --arg ac " $ac " --arg rj " $rj " \
4747 --arg algo " $myalgo " \
4848 ' {$hs, $hs_units, $temp, $fan, $uptime, ar: [$ac, $rj], $algo}' )
49- truncate -s 0 /hive/custom/MM.Hash.1.3.9 /Build/hashrates.sh
50- truncate -s 0 /hive/custom/MM.Hash.1.3.9 /Build/accepted.sh
51- truncate -s 0 /hive/custom/MM.Hash.1.3.9 /Build/rejected.sh
52- truncate -s 0 /hive/custom/MM.Hash.1.3.9 /Build/hashtype.sh
53- truncate -s 0 /hive/custom/MM.Hash.1.3.9 /Build/totalhash.sh
54- truncate -s 0 /hive/custom/MM.Hash.1.3.9 /Build/algo.sh
49+ truncate -s 0 /hive/custom/MM.Hash.1.3.8a /Build/hashrates.sh
50+ truncate -s 0 /hive/custom/MM.Hash.1.3.8a /Build/accepted.sh
51+ truncate -s 0 /hive/custom/MM.Hash.1.3.8a /Build/rejected.sh
52+ truncate -s 0 /hive/custom/MM.Hash.1.3.8a /Build/hashtype.sh
53+ truncate -s 0 /hive/custom/MM.Hash.1.3.8a /Build/totalhash.sh
54+ truncate -s 0 /hive/custom/MM.Hash.1.3.8a /Build/algo.sh
5555 ;;
5656 claymore)
5757 stats_raw=` echo ' {"id":0,"jsonrpc":"2.0","method":"miner_getstat2"}' | nc -w $API_TIMEOUT localhost 3333 | jq ' .result' `
0 commit comments