https://github.com/libp2p/go-libp2p-kad-dht/issues/147
DHT nodes that have just started may not provide particularly useful responses to some queries
https://github.com/libp2p/go-libp2p-kad-dht/issues/349
// returns the diversity stats for the Routing Table.
IpfsDHT.GetRoutingTableDiversityStats()// allows introspection of the operation mode of the DHT
// Client & Server modes; Server mode allows for answering queries
IpfsDHT.Mode()// looks for a peer with a given ID connected to this dht and returns the peer and the table it was found in
IpfsDHT.FindLocal(id peer.ID) peer.AddrInfohost.Peerstore().Peers()
Host
Stream