package
1.3.9-rc.0
Repository: https://github.com/bloxapp/ssv.git
Documentation: pkg.go.dev

# Functions

DecorateNode will enrich the local node record with more entries, according to current fork.
No description provided by the author
No description provided by the author
DefaultOptions returns the default options.
NewBootnode creates a new bootnode.
NewKadDHT creates a new kademlia DHT and a corresponding discovery service NOTE: that the caller must bootstrap the routing.Routing instance.
NewLocalDiscovery creates an mDNS discovery service and attaches it to the libp2p Host.
NewService creates new discovery.Service.
ParseENR takes a list of ENR strings and returns the corresponding enode.Node objects.
PeerID returns the peer id of the node.
ToMultiAddr returns the node's multiaddr.
ToPeer creates peer info from the given node.

# Constants

DHTDiscoveryProtocol is the protocol prefix used for local discovery (routingTbl), in addition to mDNS.
LocalDiscoveryServiceTag is used in our mDNS advertisements to discover other peers.

# Structs

Bootnode represents a bootnode used for tests.
BootnodeOptions contains options to create the node.
DiscV5Options for creating a new discv5 listener.
DiscV5Service wraps discover.UDPv5 with additional functionality it implements go-libp2p/core/discovery.Discovery currently using ENR entry (subnets) to facilitate subnets discovery TODO: should be changed once discv5 supports topics (v5.2).
Options represents the options passed to create a service.
PeerEvent is the data passed to peer handler.

# Interfaces

NodeProvider is an interface for managing ENRs.
Service is the interface for discovery.

# Type aliases

CheckPeerLimit enables listener to check peers limit.
HandleNewPeer is the function interface for handling new peer.
NodeFilter can be used for nodes filtering during discovery.
No description provided by the author