Currently, hashrate is printed to stdout.
This prints the hashrate to stderr instead.
As a result, you can redirect output to a file without the file filling with hashrate over time.
Hashrate is still available for monitoring.
stderr displays alongside stdout in most terminals.
I haven't tested this on Windows.
Reviewers @johguse
Changes
Currently, hashrate is printed to stdout. This prints the hashrate to stderr instead. As a result, you can redirect output to a file without the file filling with hashrate over time. Hashrate is still available for monitoring. stderr displays alongside stdout in most terminals. I haven't tested this on Windows. Reviewers @johguse