You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
8dfd59a [Logging][Mining] Add BCLog::MINING category. (Zannick)
Pull request description:
### Problem ###
Mining code uses the `BLOCKCREATION` logging category, which includes logging about difficulty targets, staking, zerocoins, etc, making it harder to investigate mining-specific issues.
### Root Cause ###
Using the `BLOCKCREATION` category for lots of different information.
### Solution ###
Adds a new logging category `MINING` to aid debugging mining specifically
without including block template creation logs that may be noisier.
Converts most logs in BitcoinMiner and RandomXMiner to use this category
instead of `BLOCKCREATION`.
Fixes one unlikely logging statement to include the function name.
### Bounty Payment Address ###
`sv1qqpswvjy7s9yrpcmrt3fu0kd8rutrdlq675ntyjxjzn09f965z9dutqpqgg85esvg8mhmyka5kq5vae0qnuw4428vs9d2gu4nz643jv5a72wkqqq73mnxr`
### Unit Testing Results ###
Tested by running and sending the command `logging [\"mining\"]` to enable.
Tree-SHA512: 15cfa486d5dc6d763d0c14b9d7b6da9c2008cd3b4e35029d9ddec1b8ce2192bcb1da8794838af76e1b091346ab93499e9898a2adcf27ff97dbc5dfec287ee0fe
0 commit comments