package
0.41.0
Repository: https://github.com/libp2p/go-libp2p.git
Documentation: pkg.go.dev

# Packages

# Functions

DefaultOpts returns the default options for a persistent peerstore, with the full-purge GC algorithm: * Cache size: 1024.
NewAddrBook initializes a new datastore-backed address book.
NewPeerMetadata creates a metadata store backed by a persistent db.
NewPeerstore creates a peerstore backed by the provided persistent datastore.

# Structs

Configuration object for the peerstore.

# Type aliases