Documentation ¶
Overview ¶
Deprecated: This package has moved into go-libp2p as a sub-package: github.com/libp2p/go-libp2p/p2p/host/peerstore.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var LatencyEWMASmoothing = peerstore.LatencyEWMASmoothing
LatencyEWMASmoothing governs the decay of the EWMA (the speed at which it changes). This must be a normalized (0-1) value. 1 is 100% change, 0 is no change. Deprecated: use github.com/libp2p/go-libp2p/p2p/host/peerstore.LatencyEWMASmoothing instead
Functions ¶
func NewMetrics
deprecated
func NewMetrics() metrics
Deprecated: use github.com/libp2p/go-libp2p/p2p/host/peerstore.NewMetrics instead
func PeerInfoIDs
deprecated
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Deprecated: This package has moved into go-libp2p as a sub-package: github.com/libp2p/go-libp2p/p2p/host/peerstore/pstoreds.
|
Deprecated: This package has moved into go-libp2p as a sub-package: github.com/libp2p/go-libp2p/p2p/host/peerstore/pstoreds. |
Deprecated: This package has moved into go-libp2p as a sub-package: github.com/libp2p/go-libp2p/p2p/host/peerstore/pstoremem.
|
Deprecated: This package has moved into go-libp2p as a sub-package: github.com/libp2p/go-libp2p/p2p/host/peerstore/pstoremem. |
Click to show internal directories.
Click to hide internal directories.