Custom Miner Integration

custom-miner

#268

варианты обновления:

  • для обновления из командной строки: custom-get <путь> -f
  • удалить папку с майнером через файловый менеджер тогда закачается апдейт из того что в веб прописано

пока так только


#269

Привет.Будь добр поподробней-в чем было дело.Третьи сутки кроме "unknown miner custom"ничего не выходит.


#270

Как установить/запустить файловый менеджер?

Установил/запустил Nautilus. :slight_smile:


#271

mc - Midnight Commander уже установлен

лучший консольный файловый менеджер


#272

If possible, can you change the order of the arguments being passed to cryptodredge so that they are more configurable?

Right now, you have:

./CryptoDredge $(< $CUSTOM_CONFIG_FILENAME) --log $CUSTOM_LOG_BASENAME.log -b ${WEB_HOST}:${WEB_PORT}$@

If you change it to:

./CryptoDredge --log $CUSTOM_LOG_BASENAME.log -b ${WEB_HOST}:${WEB_PORT} $(< $CUSTOM_CONFIG_FILENAME)$@

Users can change the API port to something other than localhost in ‘Extra config arguments’. Cryptodredge seems to accept the last occurance of a command line argument, so this lets people override everything.


#273

Logfile and API are used by HiveOS. If user override it, he won’t get statistics at web face.


#274

Right!

My intentions were to change the API port, though. “127.0.0.1” is too restrictive, which makes it so you can’t use anything other than Hive for monitoring. I wanted to change it to “0.0.0.0” so I can query cryptodredge, but I’m unable to change it because of the last “-b” argument.


#275

A post was merged into an existing topic: [REQUEST] Miners for adding to HiveOS | Майнеры для добавления в HiveOS


#276

I’m sorry, but we decided to keep the current order of the arguments according to the interests of the security of other users.
The good news is that all integration scripts are open, you can change it as you want.


#277

4 posts were merged into an existing topic: Custom miner: phoenixminer


#281

13 posts were merged into an existing topic: Custom miner: phoenixminer


#294

3 posts were merged into an existing topic: Custom miner: xmrig-amd


#295

Can anyone help me integrate the X22i algo miner for SUQA coin with HiveOS? I have tried to add this miner as a custom miner and it didn’t work for me. I dont know how to start the miner after installation. I couldn’t find any clear guides on how to do that. https://github.com/zjazz/zjazz_cuda_miner_experimental/releases
I have installed the v9.1 cuda.

Thank you!


#296

Hi to All

I have made sgminer integration as custom miner everything work ok except miner statistic in HiveOS.
Miner show only total Mh/s but no separate GPU statistic !!!

h-stats.sh file:

#!/usr/bin/env bash

 . /hive-config/wallet.conf

API_TIMEOUT="15"

stats_raw=`echo '{"command":"summary+devs"}' | nc -w $API_TIMEOUT localhost 4028`
if [[ $? -ne 0 || -z $stats_raw ]]; then
echo -e "${YELLOW}Failed to read $miner from localhost:4028${NOCOLOR}"
else
khs=`echo $stats_raw | jq '.["summary"][0]["SUMMARY"][0]["KHS 5s"]'`
stats=`echo $stats_raw | jq '{khs: [.devs[0].DEVS[]."KHS 5s"], temp: [.devs[0].DEVS[].Temperature], \
fan: [.devs[0].DEVS[]."Fan Percent"], uptime: .summary[0].SUMMARY[0].Elapsed, algo: "'$CUSTOM_ALGO'"}'`
fi

[[ -z $khs ]] && khs=0
[[ -z $stats ]] && stats="null"

HiveOS command: agent-screen show statistic, but in RIG page only total Mh/s:

Wed Oct 10 13:48:59 EEST 2018
Hashrate custom 51940 kH/s
{"method":"stats","jsonrpc":"2.0","id":0,"params":{"rig_id":"*****","passwd":"*******","miner":"custom","meta":{"custom":{"coin":"GEEK"}},"miner_stats":{"khs":[8616,8594,9213,8693,8578,8686],"temp":[62,61,62,62,62,62],"fan":[65,80,100,80,61,85],"uptime":92128,"algo":"geek"},"total_khs":"51940","temp":["62","61","62","62","62","62"],"fan":["65","80","100","80","61","85"],"power":["111","117","132","107","105","107"],"df":"429G","mem":[3897,733],"cpuavg":[0.14,0.1,0.09]}}
OK

Wthat I do wrong ???

Link to custom sgminer GeekCash custom miner for HiveOS 2.0


#298

There is NO linux version of this miner!


#300

Для нвидиа есть добавьте пожалуйста ))))


#301

нечем зелень тестить…


#302

Я могу протестить))

в кастомный майнер сылка с Github не будет работать как я понял?


#303

конечно будет. только управлять надо будет ручками :slight_smile: и никакой статы и прочих преимуществ нормально интегрированного майнера у Вас не будет.


#304

Понятно спасибо за ответ. Ещё один вопрос есть в планах добавить этот майнер ? и когда ?