nicehash / excavator

NiceHash's proprietary low-level CUDA miner
https://www.nicehash.com
53 stars 19 forks source link

API - perhaps a mistake in the naming of the key and type? #303

Closed EvgeniyKorepov closed 3 years ago

EvgeniyKorepov commented 3 years ago

Method device.get and device.get

Response field Type Description
hw_errors int Number of shares above target generated by this device.
hw_errors_success array Number of accepted shares generated by this device.

hw_errors_success - these are not errors, but the accepted shares? And the type is not an array, but an integer?

nicehashdev commented 3 years ago

Yes, it is int, that is my mistake. It is still being marked there so you can then compare ratio of accepted vs rejected-target (not rejected stale).