def get_raw_info(self): """ Returns specific information about this node. :return: node information """ return self._rpc.GetInfo(lnd.GetInfoRequest())
def update_blockheight(self): info = self._rpc.GetInfo(lnd.GetInfoRequest()) self.blockheight = int(info.block_height)