ceremonyclient/go-libp2p/core/pnet/protector.go

8 lines
290 B
Go
Raw Permalink Normal View History

2023-08-21 03:50:38 +00:00
// Package pnet provides interfaces for private networking in libp2p.
package pnet
// A PSK enables private network implementation to be transparent in libp2p.
// It is used to ensure that peers can only establish connections to other peers
// that are using the same PSK.
type PSK []byte