Versions in this module Expand all Collapse all v0 v0.0.1 Aug 17, 2020 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