Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: improve logging for tari_mining_node #3449

Merged
merged 2 commits into from
Oct 18, 2021

Commits on Oct 17, 2021

  1. 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
    StriderDM committed Oct 17, 2021
    Configuration menu
    Copy the full SHA
    fbe17c7 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2021

  1. Configuration menu
    Copy the full SHA
    676ff7e View commit details
    Browse the repository at this point in the history