def getRefreshIDs(self):
        ids = []
        for bucket in self.router.getLonelyBuckets():
            ids.append(random.randint(*bucket.range))
        return ids
Get ids to search for to keep old buckets up to date.
dataset/ETHPy150Open OpenBazaar/OpenBazaar-Server/dht/protocol.py/KademliaProtocol.getRefreshIDs