rodneymo / rig-monitorv2

rig-monitor implementation in Golang
10 stars 3 forks source link

Miner hashrate correction #68

Open zientarski opened 6 years ago

zientarski commented 6 years ago

Cast xmr report in wrong format. Instead of setting up every miner maybe better to implement miner hashrate reporting correction, as it is in case of pool reporting

rodneymo commented 6 years ago

Hi, that's implemented on version 3.1 and above, which version are you using?

zientarski commented 6 years ago

3.2.2 . Cast xmr report MH (wrong) cast xmr kH (correct)

rodneymo commented 6 years ago

Could you copy and paste the output here? I can easily fix that

zientarski commented 6 years ago

reply from xmrcast api its around 2000H per card (total16000H), in rig monitor shows 2MH per card (total 16MH) { "total_hash_rate": 15447938, "total_hash_rate_avg": 15561877, "pool": { "server": "stellite.ingest.cryptoknight.cc:16222", "status": "connected", "online": 983, "offline": 0, "reconnects": 0, "time_connected": "2018-10-05 15:00:38", "time_disconnected": "2018-10-05 15:00:38" }, "job": { "job_number": 15, "difficulty": 1500163, "running": 324, "job_time_avg": 47.07 }, "shares": { "num_accepted": 8, "num_rejected": 0, "num_invalid": 0, "num_network_fail": 0, "num_outdated": 0, "search_time_avg": 68.88 }, "devices": [ { "device": "GPU0", "device_id": 0, "hash_rate": 1787531, "hash_rate_avg": 1946180, "gpu_temperature": 45, "gpu_fan_rpm": 3641 }, { "device": "GPU1", "device_id": 1, "hash_rate": 1947473, "hash_rate_avg": 1944859, "gpu_temperature": 48, "gpu_fan_rpm": 3777 }, { "device": "GPU2", "device_id": 2, "hash_rate": 1947826, "hash_rate_avg": 1939987, "gpu_temperature": 40, "gpu_fan_rpm": 4011 }, { "device": "GPU3", "device_id": 3, "hash_rate": 1947473, "hash_rate_avg": 1949246, "gpu_temperature": 46, "gpu_fan_rpm": 3717 }, { "device": "GPU4", "device_id": 4, "hash_rate": 1947473, "hash_rate_avg": 1947142, "gpu_temperature": 42, "gpu_fan_rpm": 4151 }, { "device": "GPU5", "device_id": 5, "hash_rate": 1947473, "hash_rate_avg": 1945249, "gpu_temperature": 46, "gpu_fan_rpm": 4203 }, { "device": "GPU6", "device_id": 6, "hash_rate": 1955620, "hash_rate_avg": 1946051, "gpu_temperature": 36, "gpu_fan_rpm": 4017 }, { "device": "GPU7", "device_id": 7, "hash_rate": 1967069, "hash_rate_avg": 1943163, "gpu_temperature": 44, "gpu_fan_rpm": 4098 } ] }