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