def compact_ip(self):
        compact_ip = reduce(lambda buff, x: buff + bytearray([int(x)]), self.address.split('.'), bytearray())
        return str(compact_ip)
dataset/ETHPy150Open lbryio/lbry/lbrynet/dht/contact.py/Contact.compact_ip/original