def getmininginfo(self): """ Returns an :class:`~bitcoinrpc.data.MiningInfo` object containing various mining state info. """ try: return MiningInfo(**self.proxy.getmininginfo()) except JSONRPCException as e: raise _wrap_exception(e.error)
def getmininginfo(self): """ Returns an :class:`~bitcoinrpc.data.MiningInfo` object containing various mining state info. """ return MiningInfo(**self.proxy.getmininginfo())