Versions in this module Expand all Collapse all v0 v0.0.2-rc1 Jan 27, 2020 v0.0.1 Jan 24, 2020 Changes in this version + const ConnectedAddrTTL + const PermanentAddrTTL + var AddressTTL = core.AddressTTL + var ErrInvalidAddr = core.ErrInvalidAddr + var ErrNotFound = core.ErrNotFound + var LatencyEWMASmoothing = 0.1 + var OwnObservedAddrTTL = core.OwnObservedAddrTTL + var ProviderAddrTTL = core.ProviderAddrTTL + var RecentlyConnectedAddrTTL = core.RecentlyConnectedAddrTTL + var TempAddrTTL = core.TempAddrTTL + func InfoFromP2pAddr(m ma.Multiaddr) (*core.AddrInfo, error) + func InfoToP2pAddrs(pi *core.AddrInfo) ([]ma.Multiaddr, error) + func NewMetrics() *metrics + func NewPeerstore(kb pstore.KeyBook, ab pstore.AddrBook, pb pstore.ProtoBook, ...) pstore.Peerstore + func PeerInfoIDs(pis []peer.AddrInfo) peer.IDSlice + func PeerInfos(ps pstore.Peerstore, peers peer.IDSlice) []peer.AddrInfo + type AddrBook = core.AddrBook + type KeyBook = core.KeyBook + type Metrics = core.Metrics + type PeerInfo = core.AddrInfo + type PeerMetadata = core.PeerMetadata + type Peerstore = core.Peerstore + type ProtoBook = core.ProtoBook