There is an open pull request to add this information to getmininginfo
so it would be easy to monitor in daemon mode. You could merge it into your own code if you wanted but otherwise you’ll have to wait:
There is an open pull request to add this information to getmininginfo
so it would be easy to monitor in daemon mode. You could merge it into your own code if you wanted but otherwise you’ll have to wait: