Пример #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)