package
0.0.0-20211231051546-7613acdd8681
Repository: https://github.com/tigerbot/hyperdht.git
Documentation: pkg.go.dev

# Functions

Arbiter is the default implementation of the FuncArbiter.
New creates a new KBucket instance.

# Constants

The default values for the Config struct.
The default values for the Config struct.

# Structs

The Config struct contains all of the configurable parameters of the KBucket.
The KBucket struct implements a Kademlia DHT K-Bucket as a binary tree.

# Interfaces

The Contact interface represents any type that can be stored in the K-Bucket.
DistanceCmp represents some metric of determining which of 2 contact IDs are closer to a particular target.

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
XORDistance implements DistanceCmp and is the default method for measuring distance.