diff --git a/options.go b/options.go index 7440627e87..39dc227cff 100644 --- a/options.go +++ b/options.go @@ -186,6 +186,9 @@ func Identity(sk crypto.PrivKey) Option { } // ConnectionManager configures libp2p to use the given connection manager. +// +// The current "standard" connection manager lives in github.com/libp2p/go-libp2p-connmgr. See +// https://pkg.go.dev/github.com/libp2p/go-libp2p-connmgr?utm_source=godoc#NewConnManager. func ConnectionManager(connman connmgr.ConnManager) Option { return func(cfg *Config) error { if cfg.ConnManager != nil {