Versions in this module Expand all Collapse all v1 v1.5.0 Jan 11, 2021 Changes in this version + var DefaultBootstrapConfig = BootstrapConfig + var ErrNotEnoughBootstrapPeers = errors.New("not enough bootstrap peers to bootstrap") + func Bootstrap(id peer.ID, host host.Host, rt routing.Routing, cfg BootstrapConfig) (io.Closer, error) + type BootstrapConfig struct + BootstrapPeers func() []peer.AddrInfo + ConnectionTimeout time.Duration + MinPeerThreshold int + Period time.Duration + func BootstrapConfigWithPeers(pis []peer.AddrInfo) BootstrapConfig