DHT
from subnet import DHT, get_dht_time
dht = DHT(start=True)
# create the first DHT node that listens for incoming connections from localhost only
print("For incoming connections, use:", dht.get_visible_maddrs())dht2 = DHT(initial_peers=dht.get_visible_maddrs(), start=True)Last updated