Categorygithub.com/RTradeLtd/bootstrap
modulepackage
1.0.1
Repository: https://github.com/rtradeltd/bootstrap.git
Documentation: pkg.go.dev

# README

bootstrap

codecov

bootstrap provides helpers for bootstrapping libp2p hosts. It supports bootstrapping off the default libp2p bootstrap peers from ipfs/go-ipfs-config combined with the Temporal production IPFS nodes. Additionally it supports a DynamicBootstrap method to be used in-combination with a persistent peerstore to enable a "decentralized boostrapping" method that isn't reliant on pre-existing hosts.

The Bootstrap and DefaultBootstrapPeers are modified versions of those contained in hsanjuan/ipfs-lite.

# Functions

Bootstrap is used to connect our libp2p host to the specified set of peers.
DefaultBootstrapPeers returns the default lsit of bootstrap peers used by go-ipfs, updated with the Temporal bootstrap nodes.
DynamicBootstrap is used to bootstrapa a host off a dynamic list of bootstrap peers.

# Variables

TemporalPeerAddresses are the multiaddrs for Temporal's production nodes.