Open johanbrandhorst opened 10 years ago
Tested this yesterday and didnt actually seem to work so dont merge this just yet :D.
It should now be working as intended, I hope it seems useful enough to include.
This is a bad thing. The API should output in a consistent format. The output is in machine readable format for a reason. If you want an adaptive rate, look at the ncurses GUI or textlog.
The API will now report the hashrate in KH/s if it is below 1 MH/s. Also consolidated some code into a function.