-
Notifications
You must be signed in to change notification settings - Fork 215
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: improve logging for tari_mining_node
This PR improves the logging for tari_mining_node by making use of the log4rs target, it also sets the default logging level to info. This PR also adds basic statistics for pool mining which are automatically displayed on a 20s interval. Review comments Add additional log target, split logging messages between terminal and file. Updated stratum miner to display basic statistics every 20 seconds instead of when changing jobs. Added info message to indicate hashing is in progress for stratum miner. Added hash rate to displayed statistics in additon to share rate. Included metric for share and hash rates. Error handling for rejected share
- Loading branch information
Showing
12 changed files
with
390 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.