示例#1
0
    def get_raw_info(self):
        """
        Returns specific information about this node.

        :return: node information
        """
        return self._rpc.GetInfo(lnd.GetInfoRequest())
示例#2
0
 def update_blockheight(self):
     info = self._rpc.GetInfo(lnd.GetInfoRequest())
     self.blockheight = int(info.block_height)