add support for getmininginfo