Exemple #1
0
 def getinfo(self):
     """
     Returns an :class:`~bitcoinrpc.data.ServerInfo` object containing various state info.
     """
     try:
         return ServerInfo(**self.proxy.getinfo())
     except JSONRPCException, e:
         raise _wrap_exception(e.error)
Exemple #2
0
 def getinfo(self):
     """
     Returns an :class:`~bitcoinrpc.data.ServerInfo` object containing various state info.
     """
     return ServerInfo(**self.proxy.getinfo())