package
2.1.0+incompatible
Repository: https://github.com/keep-network/keep-core.git
Documentation: pkg.go.dev
# Functions
Bootstrap kicks off bootstrapping.
Connect connects to a libp2p network based on the provided config.
ExtractPeersPublicKeys returns a list of operator public keys based on the provided list of peer addresses.
WithRoutingTableRefreshPeriod set a refresh period of the routing table.
# Constants
ConnectedPeersCheckTick is the amount of time between periodic checks of the number of connected peers.
DefaultConnMgrGracePeriod is the default value for the connection managers grace period.
DefaultConnMgrHighWater is the default value for the connection managers 'high water' mark.
DefaultConnMgrLowWater is the default value for the connection managers 'low water' mark.
DefaultPort is the default value for the connection port.
FirewallCheckTick is the amount of time between periodic checks of all firewall rules against all peers connected to this one.
MaximumDisseminationTime is the maximum dissemination time of messages in topics we are not subscribed to.
# Variables
DefaultBootstrapConfig specifies default sane parameters for bootstrapping.
DefaultCurve is the default elliptic curve implementation used in the net/libp2p package.
ErrNotEnoughBootstrapPeers signals that we do not have enough bootstrap peers to bootstrap correctly.
# Structs
BootstrapConfig specifies parameters used in the network bootstrapping process.
Config defines the configuration for the libp2p network provider.
ConnectOptions allows to set various options used by libp2p.
# Type aliases
ConnectOption allows to set an options used by libp2p.