Display the hash rate
It would be most helpful if the hashrate was output at regular intervals. I'm not certain how you ran your hashing tests and got a number, but it'd be useful if one could be output by this tool, even if it was only exposed when setting RUST_LOG=mithril=info
Yes, knowing the hash-rate is important. But I have other plans for hash-rate support in mithril. I'm thinking about an online solution for this.
But not sure yet, please leave this issue open.
I'm mining currently using xmr-stak, and it exposes data over an HTTP/JSON API. Duplicating this functionality where it makes sense would be useful as there are already many tools that interface with this tool.
Any progress on this? I would love to have a fully functional xmrig alternative in rust!
Not yet, but this is top in my backlog (even before the compiled mode implementation). Otherwise you cannot easily compare the performance with the C implementations (xmrig or xmr-stak). I update the backlog in the Readme to reflect this.
I think going with the approach @Susurrus mentions totally makes sense.