def encode(self, data):
Add a domain. If collapsed, show the domain as a link in the UI
dataset/ETHPy150Open lbryio/lbry/lbrynet/dht/encoding.py/Encoding.encode--crossover with--dataset/ETHPy150Open pinterest/kingpin/kingpin/manageddata/managed_datastructures.py/ManagedDataStructure.add_list_domain_to_name_mapping