Skip to main content

Module kademlia

Module kademlia 

Source

Modulesยง

lookup ๐Ÿ”’
messages ๐Ÿ”’
Wire messages for the Kademlia DHT plane.
refresh ๐Ÿ”’
routing_table

Structsยง

KademliaDiscovery

Constantsยง

DISCOVERED_PEER_QUEUE_SIZE ๐Ÿ”’
Bound on the discovered-peer queue between Kademlia and the Node.
SUPPORTED_LOOKUP_PROTOCOLS ๐Ÿ”’
Transports the lookup service can dial. Computed once here so the rest of the module never needs an inline cfg.

Functionsยง

is_lookup_proto ๐Ÿ”’
Returns true if the endpoint can serve the Kademlia lookup service.