Small Peers Only
Restricts connectivity to small peers only, optionally using a shared secret (in the form of a private key) for authentication.
If a privateKey is provided, it will be used as a shared secret for authenticating peer-to-peer connections. The default value is null, which means no encryption is used in transit.
Parameters
private Key
Optional private key for peer authentication. Defaults to null.